Skip to contentSkip to conversation

linux-next: build failure after merge of the driver-core tree

DISCUSSION Stephen Rothwell 2 participants 2 messages May 28, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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]
#1 lore raw

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

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