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

From: Marciniszyn, Mike
Date: Mon Nov 04 2013 - 08:43:08 EST


This issue was caught by Tetsuo Handa and Acked on 10/30: http://marc.info/?t=138313364500008&r=1&w=2.

Roland, I noticed that the Tetsuo's original message didn't cc the linux-rdma list?

Mike

> -----Original Message-----
> From: Stephen Rothwell [mailto:sfr@xxxxxxxxxxxxxxxx]
> Sent: Sunday, November 03, 2013 11:55 PM
> To: Roland Dreier; linux-rdma@xxxxxxxxxxxxxxx
> Cc: linux-next@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Jan Kara;
> Marciniszyn, Mike
> Subject: linux-next: build warning after merge of the infiniband tree
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/