diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2013-01-04 23:35:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:57:51 -0800 |
commit | 34bb72b67496ebb9510720a1b9d7663eed1e4116 (patch) | |
tree | a530597ba3ba7c752a88d57602d6f750fda4ec3e /drivers/staging/bcm | |
parent | 27bc7b2be29441868d8acd5022794339c752dbea (diff) | |
download | op-kernel-dev-34bb72b67496ebb9510720a1b9d7663eed1e4116.zip op-kernel-dev-34bb72b67496ebb9510720a1b9d7663eed1e4116.tar.gz |
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 <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/Debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/bcm/Debug.h b/drivers/staging/bcm/Debug.h index b4ff000..7a66219 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 { |