Skip to contentSkip to conversation

OF change bustage...

DISCUSSION David Miller 2 participants 3 messages Aug 8, 2010

lore
Share & tools
lore
#0 lore raw

Niagara2 crypto driver started failing to build recently.

Known issue Grant? :-)

drivers/crypto/n2_core.c: In function 'find_devino_index':
drivers/crypto/n2_core.c:1583:21: error: 'struct platform_device' has no member named 'num_irqs' drivers/crypto/n2_core.c: In function 'spu_map_ino':
drivers/crypto/n2_core.c:1606:14: error: 'struct platform_device' has no member named 'irqs'

Looks simply like missing "archdata." prefixes.

#1 lore raw

From: David Miller <[email protected]>
Date: Sat, 07 Aug 2010 22:50:09 -0700 (PDT)

Quoted 6 lines

drivers/crypto/n2_core.c: In function 'find_devino_index':
drivers/crypto/n2_core.c:1583:21: error: 'struct platform_device' has no member named 'num_irqs' drivers/crypto/n2_core.c: In function 'spu_map_ino':
drivers/crypto/n2_core.c:1606:14: error: 'struct platform_device' has no member named 'irqs'

Looks simply like missing "archdata." prefixes.

Same problem in drivers/net/greth.c

#2 lore raw
Quoted 11 lines · David Miller

From: David Miller <[email protected]>
Date: Sat, 07 Aug 2010 22:50:09 -0700 (PDT)

Quoted 6 lines

drivers/crypto/n2_core.c: In function 'find_devino_index':
drivers/crypto/n2_core.c:1583:21: error: 'struct platform_device' has no member named 'num_irqs' drivers/crypto/n2_core.c: In function 'spu_map_ino':
drivers/crypto/n2_core.c:1606:14: error: 'struct platform_device' has no member named 'irqs'

Looks simply like missing "archdata." prefixes.

Same problem in drivers/net/greth.c

Yup in both cases. I missed fixing them up in commit 1636f8ac2b08410df4766449f7c86b912443cd99. I'm test-building a patch right now.

g.