Patch from Bart Van Assche <bart.vanassche@gmail.com>:
As discussed earlier today, GNU-style named initializers should be replaced
by C99-style named initializers. The patch below realizes this. The patch
below contains one additional change: double quotes are added around
a #warning message. These double qoutes are not required by the C89
or C99 language standards, but many tools expect these (e.g. checkpatch.pl).
This patch has been tested as follows:
* Verified that SCST still compiles and links (make scst iscsi && make -C srpt)
* Verified that checkpatch.pl does no longer complain on named initializers.
* Verified that the kernel patch generated by scripts/generate-kernel-patch
applies cleanly to the 2.6.25.4 kernel, that the patched kernel compiles
cleanly, installs properly and that it was possible after reboot to load
the modules scst, iscsi-scst and ib_srpt load.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@379
d57e44dd-8a1f-0410-8b47-
8ef2f437770f