From: Peter Teoh on
Got the following compilation errors on the latest linus git tree
(v.2.6.35-6113-gf6cec0a).

CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
CC [M] drivers/net/wireless/libertas/cfg.o
drivers/net/wireless/libertas/cfg.c: In function ‘lbs_scan_worker’:
drivers/net/wireless/libertas/cfg.c:722: error: ‘TASK_NORMAL’
undeclared (first use in this function)
drivers/net/wireless/libertas/cfg.c:722: error: (Each undeclared
identifier is reported only once
drivers/net/wireless/libertas/cfg.c:722: error: for each function it
appears in.)
drivers/net/wireless/libertas/cfg.c: In function ‘lbs_cfg_connect’:
drivers/net/wireless/libertas/cfg.c:1267: error: ‘TASK_INTERRUPTIBLE’
undeclared (first use in this function)
drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration
of function ‘signal_pending’
drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration
of function ‘schedule_timeout’
make[4]: *** [drivers/net/wireless/libertas/cfg.o] Error 1
make[3]: *** [drivers/net/wireless/libertas] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

It as resolved via the attached patch. You may want to change the
way I patch it. Thanks.



--
Regards,
Peter Teoh
From: Jiri Kosina on
On Tue, 10 Aug 2010, Peter Teoh wrote:

> Got the following compilation errors on the latest linus git tree
> (v.2.6.35-6113-gf6cec0a).
>
> CHK include/linux/version.h
> CHK include/generated/utsrelease.h
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
> VDSOSYM arch/x86/vdso/vdso32-syms.lds
> LD arch/x86/vdso/built-in.o
> LD arch/x86/built-in.o
> CC [M] drivers/net/wireless/libertas/cfg.o
> drivers/net/wireless/libertas/cfg.c: In function �lbs_scan_worker�:
> drivers/net/wireless/libertas/cfg.c:722: error: �TASK_NORMAL�
> undeclared (first use in this function)
> drivers/net/wireless/libertas/cfg.c:722: error: (Each undeclared
> identifier is reported only once
> drivers/net/wireless/libertas/cfg.c:722: error: for each function it
> appears in.)
> drivers/net/wireless/libertas/cfg.c: In function �lbs_cfg_connect�:
> drivers/net/wireless/libertas/cfg.c:1267: error: �TASK_INTERRUPTIBLE�
> undeclared (first use in this function)
> drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration
> of function �signal_pending�
> drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration
> of function �schedule_timeout�
> make[4]: *** [drivers/net/wireless/libertas/cfg.o] Error 1
> make[3]: *** [drivers/net/wireless/libertas] Error 2
> make[2]: *** [drivers/net/wireless] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>
> It as resolved via the attached patch. You may want to change the
> way I patch it. Thanks.

Adding some appropriate CCs.

--
Jiri Kosina
SUSE Labs, Novell Inc.