]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Staging: bcm: Fix warning: "__packed is preferred over __attribute__((packed))" in...
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 5 Jan 2013 04:35:05 +0000 (23:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:57:51 +0000 (10:57 -0800)
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>
drivers/staging/bcm/Debug.h

index b4ff00081cf27b2e679fe8603a78cd9345ab87ae..7a66219a8f4c0ce8fcc274e89391fdc0285eb016 100644 (file)
@@ -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 {