Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Sep 15, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Matias,

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

drivers/lightnvm/sysfs.c: In function 'nvm_sysfs_register_dev':
drivers/lightnvm/sysfs.c:184:2: warning: ignoring return value of 'device_add', declared with attribute warn_unused_result [-Wunused-result]
device_add(&dev->dev);
^

Introduced by commit

38c9e260b9f9 ("lightnvm: expose device geometry through sysfs")

Signature · 2 lines
Cheers,
Stephen Rothwell