Re: [2.6.37-rc1-git11] none-BKL-config: stradis.c: error: implicit declaration of function âlock_kernelâ/âunlock_kernelâ
From: Sedat Dilek
Date: Mon Nov 15 2010 - 19:29:05 EST
On Mon, Nov 15, 2010 at 12:54 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Sunday 14 November 2010, Sedat Dilek wrote:
>> with 2.6.37-rc1-git11 my none-BKL-config breaks (-git9 and -git9457b24
>> were OK) in stradis staging-crap.
>> Think the breakage aroses from [1].
>>
>> $ cd ~/src/linux-2.6/linux-2.6.37-rc1/debian/build/source_i386_none
>>
>> $ grep "error:" ../../../../build_linux-2.6_git11.sd.1.log
>> /home/sd/src/linux-2.6/linux-2.6.37-rc1/debian/build/source_i386_none/drivers/staging/stradis/stradis.c:1891:
>> error: implicit declaration of function âlock_kernelâ
>> /home/sd/src/linux-2.6/linux-2.6.37-rc1/debian/build/source_i386_none/drivers/staging/stradis/stradis.c:1897:
>> error: implicit declaration of function âunlock_kernelâ
>
> The driver is on its way out. I'll do a patch to just mark it "depends
> on BKL" to make sure it doesn't get built when BKL is disabled.
>
> It would be relatively easy to fix the right way, if you are interested.
>
> Â Â Â ÂArnd
>
Thanks for the patch "staging/stradis: mark as "depends on BKL"" in [1].
- Sedat -
[1] http://git.kernel.org/?p=linux/kernel/git/arnd/bkl.git;a=commit;h=31a5739171c7c737653a6b1d415d7f285d6239b3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/