Files
scst/fcst/linux-patches/series-2.6.34
Bart Van Assche d8392af840 Apparently sparse ignores __attribute__((packed)) when applied to an enum
while gcc honors this attribute. The result is that
sizeof(struct fcoe_rcv_info) is 48 when the header include/scsi/fc_frame.h is
compiled with gcc and that sizeof(struct fcoe_rcv_info) > 48 when the same
header is compiled by sparse. As a result, compilation with sparse fails due
to the BUILD_BUG_ON() statement in the function fcoe_dev_from_skb(), even
when checking a vanilla Linux kernel with sparse. The patch below slightly
modifies include/scsi/fc_frame.h such that gcc and sparse interpret this header
in the same way.

Note: it is fine to revert this patch once the behavior of gcc and sparse is
again in sync.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1767 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-13 17:34:40 +00:00

16 lines
273 B
Plaintext

# This series applies on GIT commit ec7b3b3aaf3b3b208140ac83dc19a754eebf648f
01-prli-clean
02-fc4
03-seq-init
04-seq-set-resp
05-lport-hook
06-lport-notify
07-pta-mask
08-ptp-ref
09-ptp-type
10-non-fip
11-ptp-flogi-recv
12-ptp-npiv
13-ptp-acc
14-fc-frame-sparse-workaround