svn commit: r242842 - in head/sys: conf modules/mthca

Dimitry Andric dim at FreeBSD.org
Sat Nov 10 21:02:25 UTC 2012


On 2012-11-10 01:32, Xin LI wrote:
> Author: delphij
> Date: Sat Nov 10 00:32:47 2012
> New Revision: 242842
> URL: http://svnweb.freebsd.org/changeset/base/242842
>
> Log:
>    Attempt toward a buildable universe by silenting a few warnings for OFED.
...
> -OFEDNOERR=	-Wno-cast-qual -Wno-pointer-arith -fms-extensions
> +OFEDNOERR=	-Wno-cast-qual -Wno-pointer-arith -fms-extensions -Wno-switch -Wno-sometimes-uninitialized -Wno-conversion -Wno-initializer-overrides

A few of these warnings point to real bugs, e.g. the uninitialized
packet_length variable in ib_ud_header_init(), and the incorrect value
passed to rdma_notify() in sdp_rx_comp_work().  The others are not that
severe, but very easy to fix, as you can see from the attached diff.

If anything, I hope the maintainer(s) will check with upstream whether
these bugs are already fixed?  Meanwhile, I see no reason why we could
not do a local fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ofed-warn-1.diff
Type: text/x-diff
Size: 3678 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121110/f4863cc3/attachment.diff>


More information about the svn-src-head mailing list