diff options
author | Khazhismel Kumykov <khazhy@google.com> | 2017-09-01 18:06:12 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2017-09-05 11:42:54 -0700 |
commit | 7b0681f1661b54b5a6eaf8bab6b41e84b28d0137 (patch) | |
tree | 0234852f8aed2fd44f1c191bf4fb159b2830e4b3 /include | |
parent | 5090af798a3fdb90a96596f4f33d301c05411b6a (diff) | |
download | open-iscsi-7b0681f1661b54b5a6eaf8bab6b41e84b28d0137.tar.gz |
iscsi_if.h: use attribute instead of '__packed'
More consistent, doesn't rely on __packed being defined in userspace.
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/iscsi_if.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/iscsi_if.h b/include/iscsi_if.h index 9d15811..5be1981 100644 --- a/include/iscsi_if.h +++ b/include/iscsi_if.h @@ -341,7 +341,7 @@ struct iscsi_iface_param_info { uint8_t iface_type; /* IPv4 or IPv6 */ uint8_t param_type; /* iscsi_param_type */ uint8_t value[0]; /* length sized value follows */ -} __packed; +} __attribute__((__packed__)); /* * To keep the struct iscsi_uevent size the same for userspace code |