On 11/28/2015 09:04 PM, Tom Rini wrote:
> GCC 5.x does not like sizeof(array_variable) and errors out. Change these
> calls to be instead sizeof(u8) (as that's what serdes_prtcl_map is) *
> SERDES_PRCTL_COUNT (the number of array elements).
>
> Cc: York Sun
> Signed-off-by: Tom Rini
> ---
Ap
On Sat, Nov 28, 2015 at 9:04 PM, Tom Rini wrote:
> GCC 5.x does not like sizeof(array_variable) and errors out. Change these
> calls to be instead sizeof(u8) (as that's what serdes_prtcl_map is) *
> SERDES_PRCTL_COUNT (the number of array elements).
>
> Cc: York Sun
> Signed-off-by: Tom Rini
>
GCC 5.x does not like sizeof(array_variable) and errors out. Change these
calls to be instead sizeof(u8) (as that's what serdes_prtcl_map is) *
SERDES_PRCTL_COUNT (the number of array elements).
Cc: York Sun
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c | 2 +
3 matches
Mail list logo