mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 07:34:03 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
27bc7b2be2
commit
34bb72b674
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user