[ipxe-devel] initialized old_value in qib7322.c

Christian Hesse list at eworm.de
Wed Apr 4 09:22:58 UTC 2012


Hello everybody,

building current git I get:

  [BUILD] bin/qib7322.o
drivers/infiniband/qib7322.c: In function ‘qib7322_probe’:
drivers/infiniband/qib7322.c:2141:28: error: ‘old_value’ may be used
uninitialized in this function [-Werror=maybe-uninitialized]
drivers/infiniband/qib7322.c:2123:11: note: ‘old_value’ was declared here

My proposed patch is attached.
-- 
Best regards,
Chris
                         O< ascii ribbon campaign
                   stop html mail - www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-qib7322.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120404/7fec9869/attachment.bin>


More information about the ipxe-devel mailing list