All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/staging/rt2860 doesn't compile
@ 2009-10-14  6:38 Andrey Rahmatullin
  2009-10-14 18:27 ` Andrey Rahmatullin
  0 siblings, 1 reply; 6+ messages in thread
From: Andrey Rahmatullin @ 2009-10-14  6:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Bartlomiej Zolnierkiewicz, Greg Kroah-Hartman

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

drivers/staging/rt2860/common/cmm_info.c: In function
'RTMPIoctlGetSiteSurvey':                                                             
drivers/staging/rt2860/common/cmm_info.c:1817: error: 'TASK_INTERRUPTIBLE'
undeclared (first use in this function)                          
drivers/staging/rt2860/common/cmm_info.c:1817: error: (Each undeclared
identifier is reported only once                                     
drivers/staging/rt2860/common/cmm_info.c:1817: error: for each function it
appears in.)                                                     
drivers/staging/rt2860/common/cmm_info.c:1817: error: implicit declaration
of function 'signal_pending'                                     
drivers/staging/rt2860/common/cmm_info.c:1817: error: implicit declaration
of function 'schedule_timeout'     

drivers/staging/rt2860/rt_linux.h doesn't include <linux/sched.h>. It
includes <linux/interrupt.h>, which included <linux/sched.h> until
d43c36dc6b357fa1806800f18aa30123c747a6d1

-- 
WBR, wRAR (ALT Linux Team)

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

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

* Re: drivers/staging/rt2860 doesn't compile
  2009-10-14  6:38 drivers/staging/rt2860 doesn't compile Andrey Rahmatullin
@ 2009-10-14 18:27 ` Andrey Rahmatullin
  2009-10-14 19:11   ` Greg KH
  2009-10-16  8:57   ` Andrey Rahmatullin
  0 siblings, 2 replies; 6+ messages in thread
From: Andrey Rahmatullin @ 2009-10-14 18:27 UTC (permalink / raw)
  To: linux-kernel; +Cc: Bartlomiej Zolnierkiewicz, Greg Kroah-Hartman

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

Even after trivial fix (including <linux/sched.h> into
drivers/staging/rt2860/rt_linux.h) the driver doesn't compile:

drivers/staging/rt2860/rt_main_dev.c: In function 'rt_ieee80211_if_setup':
drivers/staging/rt2860/rt_main_dev.c:691: error: 'struct net_device' has
no member named 'wireless_handlers'

-- 
WBR, wRAR (ALT Linux Team)

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

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

* Re: drivers/staging/rt2860 doesn't compile
  2009-10-14 18:27 ` Andrey Rahmatullin
@ 2009-10-14 19:11   ` Greg KH
  2009-10-16  8:57   ` Andrey Rahmatullin
  1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2009-10-14 19:11 UTC (permalink / raw)
  To: Andrey Rahmatullin; +Cc: linux-kernel, Bartlomiej Zolnierkiewicz

On Thu, Oct 15, 2009 at 12:27:29AM +0600, Andrey Rahmatullin wrote:
> Even after trivial fix (including <linux/sched.h> into
> drivers/staging/rt2860/rt_linux.h) the driver doesn't compile:
> 
> drivers/staging/rt2860/rt_main_dev.c: In function 'rt_ieee80211_if_setup':
> drivers/staging/rt2860/rt_main_dev.c:691: error: 'struct net_device' has
> no member named 'wireless_handlers'

This is already fixed in my tree.

thanks,

greg k-h

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

* Re: drivers/staging/rt2860 doesn't compile
  2009-10-14 18:27 ` Andrey Rahmatullin
  2009-10-14 19:11   ` Greg KH
@ 2009-10-16  8:57   ` Andrey Rahmatullin
  2009-10-16 19:00     ` Roland Dreier
  1 sibling, 1 reply; 6+ messages in thread
From: Andrey Rahmatullin @ 2009-10-16  8:57 UTC (permalink / raw)
  To: linux-kernel

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

On Thu, Oct 15, 2009 at 12:27:29AM +0600, Andrey Rahmatullin wrote:
> Even after trivial fix (including <linux/sched.h> into
> drivers/staging/rt2860/rt_linux.h) the driver doesn't compile:
> 
> drivers/staging/rt2860/rt_main_dev.c: In function 'rt_ieee80211_if_setup':
> drivers/staging/rt2860/rt_main_dev.c:691: error: 'struct net_device' has
> no member named 'wireless_handlers'
For the archives: it just means that CONFIG_WIRELESS_EXT should be enabled.


-- 
WBR, wRAR (ALT Linux Team)

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

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

* Re: drivers/staging/rt2860 doesn't compile
  2009-10-16  8:57   ` Andrey Rahmatullin
@ 2009-10-16 19:00     ` Roland Dreier
  2009-10-20  6:21       ` Andrey Rahmatullin
  0 siblings, 1 reply; 6+ messages in thread
From: Roland Dreier @ 2009-10-16 19:00 UTC (permalink / raw)
  To: Andrey Rahmatullin; +Cc: linux-kernel


 > For the archives: it just means that CONFIG_WIRELESS_EXT should be enabled.

Which means the driver should probably do "select WIRELESS_EXT" in
Kconfig.  Would be an easy patch to send if you can test it....

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

* Re: drivers/staging/rt2860 doesn't compile
  2009-10-16 19:00     ` Roland Dreier
@ 2009-10-20  6:21       ` Andrey Rahmatullin
  0 siblings, 0 replies; 6+ messages in thread
From: Andrey Rahmatullin @ 2009-10-20  6:21 UTC (permalink / raw)
  To: Roland Dreier; +Cc: linux-kernel

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

On Fri, Oct 16, 2009 at 12:00:58PM -0700, Roland Dreier wrote:
>  > For the archives: it just means that CONFIG_WIRELESS_EXT should be enabled.
> Which means the driver should probably do "select WIRELESS_EXT" in
> Kconfig.
Yes.

> Would be an easy patch to send if you can test it....
Of course I can :)

-- 
WBR, wRAR (ALT Linux Team)

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

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

end of thread, other threads:[~2009-10-20  6:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-14  6:38 drivers/staging/rt2860 doesn't compile Andrey Rahmatullin
2009-10-14 18:27 ` Andrey Rahmatullin
2009-10-14 19:11   ` Greg KH
2009-10-16  8:57   ` Andrey Rahmatullin
2009-10-16 19:00     ` Roland Dreier
2009-10-20  6:21       ` Andrey Rahmatullin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.