linux-next: build failure after merge of the driver-core tree
Hi Greg,
After merging the driver-core tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
drivers/crypto/nx/nx-842.c: In function 'nx842_probe':drivers/crypto/nx/nx-842.c:1200:6: error: void value not ignored as it ought to be
if (dev_set_drvdata(&viodev->dev, rcu_dereference(devdata))) {
^Caused by commit 2c1f1ff0f0d9 ("driver core: dev_set_drvdata returns void"). Grep is better than hope :-)
I have used the driver-core tree from next-20140527 for today.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Hi Stephen, Greg,
Quoted 5 lines · Stephen Rothwell
Hi Greg,
After merging the driver-core tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
Quoted 7 lines
drivers/crypto/nx/nx-842.c: In function 'nx842_probe':drivers/crypto/nx/nx-842.c:1200:6: error: void value not ignored as it ought to beif (dev_set_drvdata(&viodev->dev, rcu_dereference(devdata))) { ^Caused by commit
2c1f1ff0f0d9("driver core:dev_set_drvdatareturns void"). Grep is better than hope :-)
Oops, that would be my fault, sorry. I did grep for such cases but my grep command must have been poor, I only caught 2 of the 3 cases in the kernel tree. And make allmodconfig didn't help as the driver is ppc64-specific.
I'll send a fix-up patch immediately, sorry for the trouble.
Signature · 2 lines
Jean Delvare SUSE L3 Support