[openib-general] [PATCH] mthca: make IB_SEND_FENCE work
Michael S. Tsirkin
mst at mellanox.co.il
Mon Aug 14 12:50:55 PDT 2006
Quoting r. Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH] mthca: make IB_SEND_FENCE work
>
> Sean> This causes compile warnings for me that 'f0' might be used
> Sean> uninitialized.
>
> Yes, but they're bogus.
Yes, I see lots of such bogus warnings in kernel code too.
And it seems obvious that since compiler isn't smart enough to
figure out the initialization isn't needed, it will generate
unecessary code if we *do* add initilization just to shut it up.
Maybe compile with -Wno-uninitialized?
--
MST
More information about the general
mailing list