linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: wireless tree build failure
@ 2009-04-22  1:57 Stephen Rothwell
  2009-04-22  8:59 ` Johannes Berg
  2009-04-28  3:28 ` Stephen Rothwell
  0 siblings, 2 replies; 28+ messages in thread
From: Stephen Rothwell @ 2009-04-22  1:57 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, Johannes Berg, Matthew Garrett, Len Brown

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

Hi John,

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

drivers/platform/x86/oqo-wmi.c: In function 'oqo_rfkill_init':
drivers/platform/x86/oqo-wmi.c:767: error: 'struct rfkill' has no member named 'user_claim_unsupported'

Caused by commit bc3e4095713c0bf57c8c9c1e91d93d6654075079 ("rfkill:
remove user_claim stuff") interacting with commit
03919980ad590ad5c5c181d1bd7d58513ad170bc ("platform/x86: Add oqo-wmi
driver for model 2 OQO backlight and rfkill control") from the acpi tree.

I have reverted commit bc3e4095713c0bf57c8c9c1e91d93d6654075079 for today.

Johannes, maybe you could suggest a patch for the acpi guys?
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* linux-next: wireless tree build failure
@ 2009-11-09  8:08 Stephen Rothwell
  2009-11-09 13:37 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 28+ messages in thread
From: Stephen Rothwell @ 2009-11-09  8:08 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, linux-kernel, Bartlomiej Zolnierkiewicz

Hi John,

Today's linux-next build (powerpc allyesconfig) failed like this:

In file included from drivers/net/wireless/rt2x00/rt2800lib.c:35:
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_vendor_request_sw':
drivers/net/wireless/rt2x00/rt2x00usb.h:205: error: 'USB_DIR_OUT' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:205: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:205: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_eeprom_read':
drivers/net/wireless/rt2x00/rt2x00usb.h:223: error: 'USB_DIR_IN' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:223: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:223: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_register_read':
drivers/net/wireless/rt2x00/rt2x00usb.h:243: error: 'USB_DIR_IN' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:243: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:243: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_register_read_lock':
drivers/net/wireless/rt2x00/rt2x00usb.h:263: error: 'USB_DIR_IN' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:263: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:263: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_register_multiread':
drivers/net/wireless/rt2x00/rt2x00usb.h:283: error: 'USB_DIR_IN' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:283: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:283: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_register_write':
drivers/net/wireless/rt2x00/rt2x00usb.h:303: error: 'USB_DIR_OUT' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:303: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:303: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_register_write_lock':
drivers/net/wireless/rt2x00/rt2x00usb.h:322: error: 'USB_DIR_OUT' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:322: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:322: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: In function 'rt2x00usb_register_multiwrite':
drivers/net/wireless/rt2x00/rt2x00usb.h:342: error: 'USB_DIR_OUT' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:342: error: 'USB_TYPE_VENDOR' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h:342: error: 'USB_RECIP_DEVICE' undeclared (first use in this function)
drivers/net/wireless/rt2x00/rt2x00usb.h: At top level:
drivers/net/wireless/rt2x00/rt2x00usb.h:439: warning: 'struct usb_interface' declared inside parameter list
drivers/net/wireless/rt2x00/rt2x00usb.h:439: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/net/wireless/rt2x00/rt2x00usb.h:440: warning: 'struct usb_interface' declared inside parameter list
drivers/net/wireless/rt2x00/rt2x00usb.h:442: warning: 'struct usb_interface' declared inside parameter list
drivers/net/wireless/rt2x00/rt2x00usb.h:443: warning: 'struct usb_interface' declared inside parameter list

Presumably because drivers/net/wireless/rt2x00/rt2x00usb.h needs to have
linux/usb/ch9.h included.

I applied the following patch for today.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 9 Nov 2009 19:04:19 +1100
Subject: [PATCH] wireless/rt2x00usb: include usb.h to get needed constants

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/net/wireless/rt2x00/rt2x00usb.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.h b/drivers/net/wireless/rt2x00/rt2x00usb.h
index 9943e42..1c9d6ca 100644
--- a/drivers/net/wireless/rt2x00/rt2x00usb.h
+++ b/drivers/net/wireless/rt2x00/rt2x00usb.h
@@ -26,6 +26,8 @@
 #ifndef RT2X00USB_H
 #define RT2X00USB_H
 
+#include <linux/usb.h>
+
 #define to_usb_device_intf(d) \
 ({ \
 	struct usb_interface *intf = to_usb_interface(d); \
-- 
1.6.5.2


-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 28+ messages in thread
[parent not found: <20090505115455.0b147aeb.sfr@canb.auug.org.au>]
* linux-next: wireless tree build failure
@ 2009-03-23  4:39 Stephen Rothwell
  2009-03-23  4:53 ` David Miller
  2009-03-23  4:55 ` David Miller
  0 siblings, 2 replies; 28+ messages in thread
From: Stephen Rothwell @ 2009-03-23  4:39 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, Yang Hongyang

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

Hi Dave,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/net/spider_net.c:2263: error: expected '}' before ';' token

Caused by commit 6e06cb626229567629e1dc6eed9399bec549f3cf ("spider_net:
Convert to net_device_ops").

Clearly never even build tested (or looked at very hard).

I have used the version of the net tree from next-20090320 for today
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* linux-next: wireless tree build failure
@ 2009-02-27  2:44 Stephen Rothwell
  0 siblings, 0 replies; 28+ messages in thread
From: Stephen Rothwell @ 2009-02-27  2:44 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, Kalle Valo, Kay Sievers, Greg KH

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

Hi John,

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

drivers/net/wireless/at76c50x-usb.c: In function 'at76_init_new_device':
drivers/net/wireless/at76c50x-usb.c:2271: error: 'struct device' has no member named 'bus_id'

Caused by commit 26b9886dbb1e6930a8a5df9dcf64d8dacb80597b ("at76c50x-usb:
add driver") from the wireless tree interacting with commit
d3592c7c13d14e410ffbf0e86dcd7abb3a23077f ("driver core: get rid of struct
device's bus_id string array") from the driver-core tree.

This can be fixed by using dev_name() which is already available in
Linus' tree.

I have dropped the wireless tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* linux-next: wireless tree build failure
@ 2009-02-12  8:35 Stephen Rothwell
  2009-02-12 16:16 ` John W. Linville
  0 siblings, 1 reply; 28+ messages in thread
From: Stephen Rothwell @ 2009-02-12  8:35 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, David Kilroy

[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]

Hi John,

Today's linux-next build (powerpc allyesconfig) failed like this:

net/built-in.o: In function `michael_mic':
(.opd+0x3ba78): multiple definition of `michael_mic'
drivers/built-in.o:(.opd+0x552a8): first defined here
net/built-in.o: In function `michael_mic':
net/mac80211/michael.c:58: multiple definition of `.michael_mic'
drivers/built-in.o:drivers/net/wireless/orinoco/mic.c:49: first defined here

Immediate cause is commit 84875201dd1150dc2c16780b944fe501d588ffba
("orinoco: Move MIC helpers into new file").

I have reverted that commit (and several following ones that conflicted
with the revert - see below) for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Created commit b6349c2: Revert "orinoco: Storage class should be before const qualifier"
Created commit ed58c78: Revert "orinoco: hermes doesn't need to be a separate module"
Created commit c52856e: Revert "orinoco: hermes_dld does not need to be a module"
Created commit ee9a469: Revert "orinoco: Move WEXT handlers into a separate file"
Created commit e668502: Revert "orinoco: Move hardware functions into separate file"
Created commit d8d7390: Revert "orinoco: Add hardware function to set multicast mode"
Created commit 6a4d487: Revert "orinoco: Use accessor functions for bitrate tables"
Created commit ecac0c1: Revert "orinoco: Move firmware handling into a separate file"
Created commit d2cf8c5: Revert "orinoco: Move MIC helpers into new file"

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2009-11-09 13:38 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-22  1:57 linux-next: wireless tree build failure Stephen Rothwell
2009-04-22  8:59 ` Johannes Berg
2009-04-22 13:03   ` Stephen Rothwell
2009-04-22 13:06     ` John W. Linville
2009-04-22 13:33       ` Johannes Berg
2009-04-22 13:36         ` Matthew Garrett
2009-06-03  2:52           ` Stephen Rothwell
2009-06-15 12:21             ` Stephen Rothwell
2009-04-22 13:11     ` Johannes Berg
2009-04-28  3:28 ` Stephen Rothwell
2009-04-28 12:50   ` John W. Linville
  -- strict thread matches above, loose matches on Subject: below --
2009-11-09  8:08 Stephen Rothwell
2009-11-09 13:37 ` Bartlomiej Zolnierkiewicz
     [not found] <20090505115455.0b147aeb.sfr@canb.auug.org.au>
2009-05-05  2:55 ` John W. Linville
2009-03-23  4:39 Stephen Rothwell
2009-03-23  4:53 ` David Miller
2009-03-23  5:01   ` Yang Hongyang
2009-03-23  4:55 ` David Miller
2009-03-23  5:06   ` Yang Hongyang
2009-03-23  5:48   ` Stephen Rothwell
2009-03-23  7:59     ` David Miller
2009-03-23  8:10       ` Stephen Rothwell
2009-02-27  2:44 Stephen Rothwell
2009-02-12  8:35 Stephen Rothwell
2009-02-12 16:16 ` John W. Linville
2009-02-12 22:07   ` Stephen Rothwell
2009-02-13 18:24   ` Dave
2009-02-13 18:24     ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).