On 09/01/2017 06:06 PM, Khazhismel Kumykov wrote: > More consistent, doesn't rely on __packed being defined in userspace. > > Signed-off-by: Khazhismel Kumykov <[email protected]> > --- > include/iscsi_if.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 >
Patch applied. -- Lee Duncan SUSE Labs -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
