[PATCH] do bswap32 properly with safe(4)
Garrett Cooper
yanegomi at gmail.com
Sat Jun 11 16:40:15 UTC 2011
Hi Sam!
For some odd reason every time I compile GENERIC (i.e. don't try
to compile safe(4) as a standalone module, and I don't compile it with
my standard test kernel) I run into an error where the compiler
complains about the result from bswap32 in safe(4) being unused.
This patch fixes that warning so the module compiles properly and
more importantly does the network to host conversions which may be
required for the driver under some architectures.
Thanks!
-Garrett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys-safe-do-bswap32.patch
Type: text/x-patch
Size: 831 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110611/a8136f38/sys-safe-do-bswap32.bin
More information about the freebsd-hackers
mailing list