Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h>

From: Alexey Dobriyan
Date: Mon Jun 27 2011 - 10:25:10 EST


2011/6/27 RafaÅ MiÅecki <zajec5@xxxxxxxxx>:
> 2011/6/26 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>:
>> m68k allmodconfig:
>>
>> drivers/bcma/main.c: In function âbcma_release_core_devâ:
>> drivers/bcma/main.c:68: error: implicit declaration of function âkfreeâ
>
> We already include slab.h in:
> host_pci.c
> scan.c
> sprom.c
>
> Maybe we can just include this in bcma.h as a better solution?

It isn't better solution.
It results in situation where unnecessary inclusion will be done.
Maybe it's not the case now, but it will be in future.
--
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/