aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/hv/vstorage.h
diff options
context:
space:
mode:
authorTimo von Holtz <tvh@informatik.uni-kiel.de>2011-02-08 15:52:21 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 12:11:54 -0800
commit3c4a94132b78f3143ef8f63f8450d2385dafb429 (patch)
treee121e21a535e3d3090f72109d9b780a5b0276a35 /drivers/staging/hv/vstorage.h
parent56463de05a56b80b43d21a442cf2a6e0037762e8 (diff)
Staging: hv: replaced __attribute((packed)) with __packed
Replaced __attribute((packed)) with __packed as it's preferred Signed-off-by: Timo von Holtz <tvh@informatik.uni-kiel.de> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/vstorage.h')
-rw-r--r--drivers/staging/hv/vstorage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/vstorage.h b/drivers/staging/hv/vstorage.h
index ae8be84394d..ebb4d671c42 100644
--- a/drivers/staging/hv/vstorage.h
+++ b/drivers/staging/hv/vstorage.h
@@ -135,7 +135,7 @@ struct vmstorage_channel_properties {
/* This id is unique for each channel and will correspond with */
/* vendor specific data in the inquirydata */
unsigned long long unique_id;
-} __attribute__((packed));
+} __packed;
/* This structure is sent during the storage protocol negotiations. */
struct vmstorage_protocol_version {
@@ -149,7 +149,7 @@ struct vmstorage_protocol_version {
* builds.
*/
unsigned short revision;
-} __attribute__((packed));
+} __packed;
/* Channel Property Flags */
#define STORAGE_CHANNEL_REMOVABLE_FLAG 0x1
@@ -179,7 +179,7 @@ struct vstor_packet {
/* Used during version negotiations. */
struct vmstorage_protocol_version version;
};
-} __attribute__((packed));
+} __packed;
/* Packet flags */
/*