diff options
| author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-04-10 14:09:25 +0200 | 
|---|---|---|
| committer | Patrice Chotard <patrice.chotard@st.com> | 2019-05-23 11:38:10 +0200 | 
| commit | 53bb8316583bf2206918457ec049b001d5b40a0f (patch) | |
| tree | 0c0fb7eefa4e6cf628394fdc36c91ca311555670 /drivers/ram/stm32mp1/stm32mp1_ram.c | |
| parent | 067a4c001d8e3023b4dee95451410e127eb83715 (diff) | |
stm32mp1: ram: update parameter array initialization
Force alignment of the size of parameters array with
the expected value in the binding, that allows compilation
error when the array size change.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/ram/stm32mp1/stm32mp1_ram.c')
| -rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_ram.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/ram/stm32mp1/stm32mp1_ram.c b/drivers/ram/stm32mp1/stm32mp1_ram.c index d04c6aa6b10..84e39d093b5 100644 --- a/drivers/ram/stm32mp1/stm32mp1_ram.c +++ b/drivers/ram/stm32mp1/stm32mp1_ram.c @@ -102,8 +102,8 @@ static __maybe_unused int stm32mp1_ddr_setup(struct udevice *dev)  		debug("%s: %s[0x%x] = %d\n", __func__,  		      param[idx].name, param[idx].size, ret);  		if (ret) { -			pr_err("%s: Cannot read %s\n", -			       __func__, param[idx].name); +			pr_err("%s: Cannot read %s, error=%d\n", +			       __func__, param[idx].name, ret);  			return -EINVAL;  		}  	} | 
