Subject: [COMPILATION ERROR] 2.5.69-bk7 wireless.c:488: `THIS_MODULE' undeclared here

net/core/wireless.c:488: `THIS_MODULE' undeclared here (not in a
function)

this bug was added with -bk7 patch
--
Grzegorz Jaskiewicz <[email protected]>
K4 labs


Subject: Re: [COMPILATION ERROR] 2.5.69-bk7 wireless.c:488: `THIS_MODULE' undeclared here

On Tue, 2003-05-13 at 15:06, Grzegorz Jaskiewicz wrote:
> net/core/wireless.c:488: `THIS_MODULE' undeclared here (not in a
> function)
>
> this bug was added with -bk7 patch
solved : looks like #include <linux/modules.h> was missing in this file
--
Grzegorz Jaskiewicz <[email protected]>
K4 labs

2003-05-13 14:09:48

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [COMPILATION ERROR] 2.5.69-bk7 wireless.c:488: `THIS_MODULE' undeclared here

Em Tue, May 13, 2003 at 03:10:48PM +0100, Grzegorz Jaskiewicz escreveu:
> On Tue, 2003-05-13 at 15:06, Grzegorz Jaskiewicz wrote:
> > net/core/wireless.c:488: `THIS_MODULE' undeclared here (not in a
> > function)
> >
> > this bug was added with -bk7 patch
> solved : looks like #include <linux/modules.h> was missing in this file

Its already fixed in Linus tree and in the 2.5.69-bk snapshots.

Ditto for net/wanrouter/wanproc.c that I fixed yesterday.

- Arnaldo