Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Nov 13, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mtd tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

drivers/mtd/ubi/debug.c: In function 'ubi_debugfs_init_dev':
drivers/mtd/ubi/debug.c:512:6: warning: unused variable 'err' [-Wunused-variable]

  512 |  int err, n;
      |      ^~~

Introduced by commit

3427dd213259 ("mtd: no need to check return value of debugfs_create functions")

Signature · 2 lines
Cheers,
Stephen Rothwell