Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694395 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-07-24 03:50 +0200
Last post2017-07-24 03:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-next: build warning after merge of the l2-mtd tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-07-24 03:50 +0200

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

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-07-24 03:50 +0200
Subjectlinux-next: build warning after merge of the l2-mtd tree
Message-ID<u6AFs-6Et-5@gated-at.bofh.it>
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);
                 ^

Introduced by commit

  e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries")

-- 
Cheers,
Stephen Rothwell

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web