linux-next: build warning after merge of the l2-mtd tree

2017-07-23 Thread Stephen Rothwell
Hi Brian, After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/mtd/mtdswap.c: In function 'mtdswap_add_debugfs': drivers/mtd/mtdswap.c:1317:17: warning: unused variable 'dev' [-Wunused-variable] struct device *dev = disk_to_dev(gd);

Re: linux-next: build warning after merge of the l2-mtd tree

2017-06-23 Thread Brian Norris
On Fri, Jun 23, 2017 at 06:56:53AM +0200, Rafał Miłecki wrote: > On 2017-06-23 03:32, Stephen Rothwell wrote: > >After merging the l2-mtd tree, today's linux-next build (x86_64 > >allmodconfig) produced this warning: > > This code has been just moved, so the warning was already there before. > >

Re: linux-next: build warning after merge of the l2-mtd tree

2017-06-23 Thread Rafał Miłecki
On 2017-06-23 03:32, Stephen Rothwell wrote: After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: This code has been just moved, so the warning was already there before. But it's of course a good opportunity to fix it :)

linux-next: build warning after merge of the l2-mtd tree

2017-06-22 Thread Stephen Rothwell
Hi Brian, After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/printk.h:6:0, from include/linux/kernel.h:13, from include/linux/list.h:8, from include/linux/modul