From: Kevin McKinney Date: Sat, 5 Jan 2013 04:35:05 +0000 (-0500) Subject: Staging: bcm: Fix warning: "__packed is preferred over __attribute__((packed))" in... X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=34bb72b67496ebb9510720a1b9d7663eed1e4116;p=deliverable%2Flinux.git Staging: bcm: Fix warning: "__packed is preferred over __attribute__((packed))" in Debug.h This patch fixes the following warning: "__packed is preferred over __attribute__((packed))" as reported by checkpatch.pl. Signed-off-by: Kevin McKinney Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/Debug.h b/drivers/staging/bcm/Debug.h index b4ff00081cf2..7a66219a8f4c 100644 --- a/drivers/staging/bcm/Debug.h +++ b/drivers/staging/bcm/Debug.h @@ -175,7 +175,7 @@ typedef struct { unsigned int Subtype, Type; unsigned int OnOff; /* unsigned int debug_level; future expansion */ -} __attribute__((packed)) USER_BCM_DBG_STATE; +} __packed USER_BCM_DBG_STATE; /* ---Kernel-space mapping of Debug State */ typedef struct _S_BCM_DEBUG_STATE {