Skip to content

Commit

Permalink
Staging: bcm: Fix warning: "__packed is preferred over __attribute__(…
Browse files Browse the repository at this point in the history
…(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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 27bc7b2 commit 34bb72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/bcm/Debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 34bb72b

Please sign in to comment.