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

From: Stephen Rothwell <[email-masked]>
Date: Thu, 15 Sep 2016 13:42:31 +1000

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")

-- 
Cheers,
Stephen Rothwell