提交 34bb72b6 编写于 作者: K Kevin McKinney 提交者: Greg Kroah-Hartman

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: NKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 27bc7b2b
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册