linux-next: build warning after merge of the infiniband tree

From: Stephen Rothwell
Date: Sun Nov 03 2013 - 23:55:58 EST


Hi all,

After merging the infiniband tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/infiniband/hw/ipath/ipath_user_sdma.c: In function 'ipath_user_sdma_pin_pages':
drivers/infiniband/hw/ipath/ipath_user_sdma.c:283:6: warning: 'j' is used uninitialized in this function [-Wuninitialized]
ret = get_user_pages_fast(addr, j, 0, pages);
^

Introduced by commit 18fec3c6bdcb ("IB/ipath: Convert
ipath_user_sdma_pin_pages() to use get_user_pages_fast()"). How did that
pass review or testing?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature