[PATCH 4/9] Staging: bcm: Fix warning: "__packed is preferred over __attribute__((packed))" in Debug.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes the following warning: "__packed
is preferred over __attribute__((packed))" as
reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx>
---
 drivers/staging/bcm/Debug.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux