Skip to contentSkip to conversation

linux-next: staging tree build failure

PATCH Applied Stephen Rothwell 4 participants 9 messages Dec 8, 2008 – Dec 12, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Greg,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/staging/agnx/xmit.c: In function 'fill_agnx_hdr':
drivers/staging/agnx/xmit.c:629: error: 'struct <anonymous>' has no member named 'retry_limit' drivers/staging/agnx/xmit.c:630: error: 'struct <anonymous>' has no member named 'retry_limit' drivers/staging/agnx/xmit.c: In function 'txm_power_set':
drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx' drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx' drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx' drivers/staging/agnx/pci.c: In function 'agnx_config_interface':
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:329: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:329: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:330: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:331: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:331: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c: At top level:
drivers/staging/agnx/pci.c:432: warning: initialization from incompatible pointer type drivers/staging/altpciechdma/altpciechdma.c: In function 'ape_sg_to_chdma_table':
drivers/staging/altpciechdma/altpciechdma.c:430: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:434: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:450: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:451: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c: In function 'dma_test':
drivers/staging/altpciechdma/altpciechdma.c:548: warning: assignment makes integer from pointer without a cast drivers/staging/altpciechdma/altpciechdma.c: In function 'probe':
drivers/staging/altpciechdma/altpciechdma.c:931: warning: label 'err_rev' defined but not used drivers/staging/altpciechdma/altpciechdma.c:914: warning: label 'err_cdev' defined but not used drivers/staging/altpciechdma/altpciechdma.c: At top level:
drivers/staging/altpciechdma/altpciechdma.c:416: warning: 'ape_sg_to_chdma_table' defined but not used

Commit "STAGING: Move staging drivers back to staging-specific menu" allowed them to build in the allmodconfig again. I have dropped the staging tree for today.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#1 lore raw

Stephen Rothwell пишет:

Quoted 41 lines

Hi Greg,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/staging/agnx/xmit.c: In function 'fill_agnx_hdr':
drivers/staging/agnx/xmit.c:629: error: 'struct <anonymous>' has no member named 'retry_limit' drivers/staging/agnx/xmit.c:630: error: 'struct <anonymous>' has no member named 'retry_limit' drivers/staging/agnx/xmit.c: In function 'txm_power_set':
drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx' drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx' drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx' drivers/staging/agnx/pci.c: In function 'agnx_config_interface':
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:329: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:329: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:330: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c:331: error: 'struct ieee80211_if_conf' has no member named 'ssid' drivers/staging/agnx/pci.c:331: error: 'struct ieee80211_if_conf' has no member named 'ssid_len' drivers/staging/agnx/pci.c: At top level:
drivers/staging/agnx/pci.c:432: warning: initialization from incompatible pointer type drivers/staging/altpciechdma/altpciechdma.c: In function 'ape_sg_to_chdma_table':
drivers/staging/altpciechdma/altpciechdma.c:430: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:434: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:450: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:451: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c: In function 'dma_test':
drivers/staging/altpciechdma/altpciechdma.c:548: warning: assignment makes integer from pointer without a cast drivers/staging/altpciechdma/altpciechdma.c: In function 'probe':
drivers/staging/altpciechdma/altpciechdma.c:931: warning: label 'err_rev' defined but not used drivers/staging/altpciechdma/altpciechdma.c:914: warning: label 'err_cdev' defined but not used drivers/staging/altpciechdma/altpciechdma.c: At top level:
drivers/staging/altpciechdma/altpciechdma.c:416: warning: 'ape_sg_to_chdma_table' defined but not used

Quoted 4 lines

Commit "STAGING: Move staging drivers back to staging-specific menu" allowed them to build in the allmodconfig again. I have dropped the staging tree for today.

Damn. And w/o that commit staging drivers pollute the main drivers menu.

Signature · 2 lines
With best wishes
Dmitry
#2 lore raw
Quoted 72 lines · Dmitry Baryshkov

Stephen Rothwell пишет:

Quoted 62 lines

Hi Greg,
Today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/staging/agnx/xmit.c: In function 'fill_agnx_hdr':
drivers/staging/agnx/xmit.c:629: error: 'struct <anonymous>' has no member named 'retry_limit'
drivers/staging/agnx/xmit.c:630: error: 'struct <anonymous>' has no member named 'retry_limit'
drivers/staging/agnx/xmit.c: In function 'txm_power_set':
drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx'
drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx'
drivers/staging/agnx/xmit.c:652: error: 'struct ieee80211_tx_info' has no member named 'tx_rate_idx'
drivers/staging/agnx/pci.c: In function 'agnx_config_interface':
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid'
drivers/staging/agnx/pci.c:327: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:329: error: 'struct ieee80211_if_conf' has no member named 'ssid'
drivers/staging/agnx/pci.c:329: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:330: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c:331: error: 'struct ieee80211_if_conf' has no member named 'ssid'
drivers/staging/agnx/pci.c:331: error: 'struct ieee80211_if_conf' has no member named 'ssid_len'
drivers/staging/agnx/pci.c: At top level:
drivers/staging/agnx/pci.c:432: warning: initialization from incompatible pointer type
drivers/staging/altpciechdma/altpciechdma.c: In function 'ape_sg_to_chdma_table':
drivers/staging/altpciechdma/altpciechdma.c:430: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:434: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:450: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c:451: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t' drivers/staging/altpciechdma/altpciechdma.c: In function 'dma_test':
drivers/staging/altpciechdma/altpciechdma.c:548: warning: assignment makes integer from pointer without a cast drivers/staging/altpciechdma/altpciechdma.c: In function 'probe':
drivers/staging/altpciechdma/altpciechdma.c:931: warning: label 'err_rev' defined but not used

Quoted 8 lines

drivers/staging/altpciechdma/altpciechdma.c:914: warning: label 'err_cdev' defined but not used drivers/staging/altpciechdma/altpciechdma.c: At top level:
drivers/staging/altpciechdma/altpciechdma.c:416: warning:
'ape_sg_to_chdma_table' defined but not used
Commit "STAGING: Move staging drivers back to staging-specific menu" allowed them to build in the allmodconfig again. I have dropped the staging tree for today.

Quoted 1 line

Damn. And w/o that commit staging drivers pollute the main drivers menu.

Very wierd. Dmitry, care to look into this today?

thanks,

greg k-h

#3 lore raw

PATCH 1/1 staging: really fix up Kconfig automatic deselction

---
 drivers/staging/Kconfig |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
drivers/staging/Kconfig +4 -0
index 4089f14..1905919 100644
@@ -39,6 +39,8 @@ config STAGING_EXCLUDE_BUILD
 	  when selecting 'make allyesconfg' and 'make allmodconfig' so
 	  don't be all that put off, your dog will be just fine.
 
+if !STAGING_EXCLUDE_BUILD
+
 source "drivers/staging/et131x/Kconfig"
 
 source "drivers/staging/slicoss/Kconfig"
@@ -62,3 +64,5 @@ source "drivers/staging/at76_usb/Kconfig"
 source "drivers/staging/poch/Kconfig"
 
 endif # !STAGING_EXCLUDE_BUILD
+
+endif # STAGING
Signature · 1 line
1.5.6.5
#4 lore raw

Re: [PATCH] staging: really fix up Kconfig automatic deselction

Quoted 1 line · Dmitry Eremin-Solenikov

This patch should be used instead of your current one in my tree, right? Or apply it on top of your current one?

thanks,

greg k-h

#5 lore raw

Re: [PATCH] staging: really fix up Kconfig automatic deselction

Quoted 5 lines · Greg KH
Quoted 1 line · Dmitry Eremin-Solenikov

This patch should be used instead of your current one in my tree, right? Or apply it on top of your current one?

On top of the previous one. If you want, you can squash them into one commit, of course.

Signature · 2 lines
With best wishes
Dmitry
Applied
#6 lore raw

Re: [PATCH] staging: really fix up Kconfig automatic deselction

Quoted 8 lines · Dmitry Eremin-Solenikov
Quoted 4 lines · Greg KH
Quoted 1 line · Dmitry Eremin-Solenikov

This patch should be used instead of your current one in my tree, right? Or apply it on top of your current one?

On top of the previous one. If you want, you can squash them into one commit, of course.

I've merged them together now, thanks for the fix.

greg k-h

#7 lore raw
In reply to Stephen Rothwell

Hi Greg,

Quoted 6 lines · On Mon, 8 Dec 2008 20:43:03 +1100 Stephen Rothwell <[email protected]> wrote:

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/staging/agnx/xmit.c: In function 'fill_agnx_hdr':
drivers/staging/agnx/xmit.c:629: error: 'struct <anonymous>' has no member named 'retry_limit' drivers/staging/agnx/xmit.c:630: error: 'struct <anonymous>' has no member named 'retry_limit'

	.
	.
	.
Quoted 4 lines

Commit "STAGING: Move staging drivers back to staging-specific menu" allowed them to build in the allmodconfig again. I have dropped the staging tree for today.

This failure is still happening.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#8 lore raw
Quoted 13 lines · Stephen Rothwell

Hi Greg,

Quoted 6 lines · On Mon, 8 Dec 2008 20:43:03 +1100 Stephen Rothwell <[email protected]> wrote:

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/staging/agnx/xmit.c: In function 'fill_agnx_hdr':
drivers/staging/agnx/xmit.c:629: error: 'struct <anonymous>' has no member named 'retry_limit' drivers/staging/agnx/xmit.c:630: error: 'struct <anonymous>' has no member named 'retry_limit'

	.
	.
	.
Quoted 1 line
Quoted 5 lines
Quoted 3 lines

Commit "STAGING: Move staging drivers back to staging-specific menu" allowed them to build in the allmodconfig again. I have dropped the staging tree for today.

This failure is still happening.

Ick, sorry about that, this should now be fixed.

thanks,

greg k-h