Re: [2.6.37-rc1-git11] none-BKL-config: stradis.c: error: implicit declaration of function âlock_kernelâ/âunlock_kernelâ

From: Arnd Bergmann
Date: Mon Nov 15 2010 - 06:53:35 EST


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
--
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/