On Fri, Mar 9, 2018 at 10:07 AM, Bryan O'Donoghue
<[email protected]> wrote:
> commit ed286bc80e9d ("imx: hab: Check if CSF is valid before authenticating
> image") makes use of "__packed" as a prefix to the "struct hab_hdr"
> declaration.
>
> With my compiler "gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)" we
> get:
>
> ./arch/arm/include/asm/mach-imx/hab.h:42:25: error: expected ‘=’, ‘,’, ‘;’,
> ‘asm’ or ‘__attribute__’ before ‘{’ token
>  struct __packed hab_hdr {
>
> Fix this problem by including <linux/compiler.h>
>
> Signed-off-by: Bryan O'Donoghue <[email protected]>
> Cc: Utkarsh Gupta <[email protected]>
> Cc: Breno Lima <[email protected]>
> Cc: Fabio Estevam <[email protected]>

Reviewed-by: Fabio Estevam <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to