> -----Original Message-----
> From: Emil Medve [mailto:[email protected]]
> Sent: Wednesday, January 28, 2015 8:05 PM
> To: [email protected]; [email protected]; [email protected];
> Sethi Varun-B16395
> Cc: Medve Emilian-EMMEDVE1
> Subject: [PATCH 13/26] iommu/fsl: Fix checkpatch type PREFER_PACKED
>
> WARNING:PREFER_PACKED: __packed is preferred over
> __attribute__((packed))
> +} __attribute__((packed));
>
> Signed-off-by: Emil Medve <[email protected]>
> ---
> drivers/iommu/fsl_pamu.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/fsl_pamu.h b/drivers/iommu/fsl_pamu.h index
> 86abc70..04dcd25 100644
> --- a/drivers/iommu/fsl_pamu.h
> +++ b/drivers/iommu/fsl_pamu.h
> @@ -333,7 +333,7 @@ struct paace {
> #define NUM_MOE 128
> struct ome {
> u8 moe[NUM_MOE];
> -} __attribute__((packed));
> +} __packed;
>
> #define PAACT_SIZE (sizeof(struct paace) *
> PAACE_NUMBER_ENTRIES)
> #define SPAACT_SIZE (sizeof(struct paace) *
> SPAACE_NUMBER_ENTRIES)
> --
> 2.2.2
Acked-by: Varun Sethi <[email protected]>
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu