* [PATCH -next] bcma: main.c needs to include <linux/slab.h> @ 2011-06-26 8:19 Geert Uytterhoeven 2011-06-27 13:59 ` Rafał Miłecki 2011-06-28 7:58 ` Rafał Miłecki 0 siblings, 2 replies; 15+ messages in thread From: Geert Uytterhoeven @ 2011-06-26 8:19 UTC (permalink / raw) To: Rafał Miłecki Cc: linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-next-u79uwXL29TY76Z2rM5mHXA, Linux Kernel Development m68k allmodconfig: drivers/bcma/main.c: In function ‘bcma_release_core_dev’: drivers/bcma/main.c:68: error: implicit declaration of function ‘kfree’ Signed-off-by: Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org> -- http://kisskb.ellerman.id.au/kisskb/buildresult/4243344/ drivers/bcma/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index ba15105..08a14a3 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c @@ -7,6 +7,7 @@ #include "bcma_private.h" #include <linux/bcma/bcma.h> +#include <linux/slab.h> MODULE_DESCRIPTION("Broadcom's specific AMBA driver"); MODULE_LICENSE("GPL"); -- 1.7.0.4 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-26 8:19 [PATCH -next] bcma: main.c needs to include <linux/slab.h> Geert Uytterhoeven @ 2011-06-27 13:59 ` Rafał Miłecki 2011-06-27 14:09 ` Geert Uytterhoeven [not found] ` <BANLkTikSLx6FKvF518s99Q8eRU_WF+cn9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2011-06-28 7:58 ` Rafał Miłecki 1 sibling, 2 replies; 15+ messages in thread From: Rafał Miłecki @ 2011-06-27 13:59 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: linux-wireless, linux-next, Linux Kernel Development 2011/6/26 Geert Uytterhoeven <geert@linux-m68k.org>: > 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? We could drop other includes then. Can you submit patch for this? -- Rafał ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 13:59 ` Rafał Miłecki @ 2011-06-27 14:09 ` Geert Uytterhoeven 2011-06-27 14:11 ` Rafał Miłecki [not found] ` <BANLkTikSLx6FKvF518s99Q8eRU_WF+cn9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 1 sibling, 1 reply; 15+ messages in thread From: Geert Uytterhoeven @ 2011-06-27 14:09 UTC (permalink / raw) To: Rafał Miłecki Cc: linux-wireless, linux-next, Linux Kernel Development 2011/6/27 Rafał Miłecki <zajec5@gmail.com>: > 2011/6/26 Geert Uytterhoeven <geert@linux-m68k.org>: >> 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? We > could drop other includes then. > Can you submit patch for this? If bcma.h doesn't use linux/slab.h, IMHO it should not include linux/slab.h. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 14:09 ` Geert Uytterhoeven @ 2011-06-27 14:11 ` Rafał Miłecki 0 siblings, 0 replies; 15+ messages in thread From: Rafał Miłecki @ 2011-06-27 14:11 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: linux-wireless, linux-next, Linux Kernel Development W dniu 27 czerwca 2011 16:09 użytkownik Geert Uytterhoeven <geert@linux-m68k.org> napisał: > 2011/6/27 Rafał Miłecki <zajec5@gmail.com>: >> 2011/6/26 Geert Uytterhoeven <geert@linux-m68k.org>: >>> 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? We >> could drop other includes then. >> Can you submit patch for this? > > If bcma.h doesn't use linux/slab.h, IMHO it should not include linux/slab.h. I guess you want to avoid auto(chain)-including linux/slab.h by bcma drivers? OK, just use bcma_private.h instead. -- Rafał ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <BANLkTikSLx6FKvF518s99Q8eRU_WF+cn9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> [not found] ` <BANLkTikSLx6FKvF518s99Q8eRU_WF+cn9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2011-06-27 14:24 ` Alexey Dobriyan [not found] ` <BANLkTinGvM79fza-=bFwcbtfFzGHAVKJag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 15+ messages in thread From: Alexey Dobriyan @ 2011-06-27 14:24 UTC (permalink / raw) To: Rafał Miłecki Cc: Geert Uytterhoeven, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-next-u79uwXL29TY76Z2rM5mHXA, Linux Kernel Development 2011/6/27 Rafał Miłecki <zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > 2011/6/26 Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>: >> 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-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <BANLkTinGvM79fza-=bFwcbtfFzGHAVKJag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> [not found] ` <BANLkTinGvM79fza-=bFwcbtfFzGHAVKJag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2011-06-27 14:43 ` Rafał Miłecki 2011-06-27 16:49 ` Arend van Spriel 2011-06-27 14:44 ` Pavel Roskin 1 sibling, 1 reply; 15+ messages in thread From: Rafał Miłecki @ 2011-06-27 14:43 UTC (permalink / raw) To: Alexey Dobriyan Cc: Geert Uytterhoeven, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-next-u79uwXL29TY76Z2rM5mHXA, Linux Kernel Development W dniu 27 czerwca 2011 16:24 użytkownik Alexey Dobriyan <adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> napisał: > 2011/6/27 Rafał Miłecki <zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> 2011/6/26 Geert Uytterhoeven <geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>: >>> 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. Scanning code is required for every BCMA board, so we already include linux/slab.h on every configuration. No matter if this is PCI host board, or SoC, or whatever we will support in the future. Now we discovered this is also needed in main.c, which will be always compiled. That's why I think it's safe to include linux/slab.h in bcma_private.h. But if that's just my opinion, everybody think it's wrong idea, I'm OK with it. -- Rafał -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 14:43 ` Rafał Miłecki @ 2011-06-27 16:49 ` Arend van Spriel 2011-06-27 16:57 ` Johannes Berg 0 siblings, 1 reply; 15+ messages in thread From: Arend van Spriel @ 2011-06-27 16:49 UTC (permalink / raw) To: Rafał Miłecki Cc: Alexey Dobriyan, Geert Uytterhoeven, linux-wireless@vger.kernel.org, linux-next@vger.kernel.org, Linux Kernel Development On 06/27/2011 04:43 PM, Rafał Miłecki wrote: > W dniu 27 czerwca 2011 16:24 użytkownik Alexey Dobriyan > <adobriyan@gmail.com> napisał: >> 2011/6/27 Rafał Miłecki<zajec5@gmail.com>: >>> 2011/6/26 Geert Uytterhoeven<geert@linux-m68k.org>: >>>> 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. > Scanning code is required for every BCMA board, so we already include > linux/slab.h on every configuration. No matter if this is PCI host > board, or SoC, or whatever we will support in the future. > Now we discovered this is also needed in main.c, which will be always compiled. > > That's why I think it's safe to include linux/slab.h in bcma_private.h. > But if that's just my opinion, everybody think it's wrong idea, I'm OK with it. My rule of thumb is: Header file a.h may only include header b.h when a.h needs some definition from b.h. Convenience is never a good reason for nested includes. Gr. AvS -- Almost nobody dances sober, unless they happen to be insane. -- H.P. Lovecraft -- ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 16:49 ` Arend van Spriel @ 2011-06-27 16:57 ` Johannes Berg 2011-06-27 17:22 ` Pavel Roskin 0 siblings, 1 reply; 15+ messages in thread From: Johannes Berg @ 2011-06-27 16:57 UTC (permalink / raw) To: Arend van Spriel Cc: Rafał Miłecki, Alexey Dobriyan, Geert Uytterhoeven, linux-wireless@vger.kernel.org, linux-next@vger.kernel.org, Linux Kernel Development On Mon, 2011-06-27 at 18:49 +0200, Arend van Spriel wrote: > > That's why I think it's safe to include linux/slab.h in bcma_private.h. > > But if that's just my opinion, everybody think it's wrong idea, I'm OK with it. > > My rule of thumb is: Header file a.h may only include header b.h when > a.h needs some definition from b.h. Convenience is never a good reason > for nested includes. Yeah, good rule. Consider if you have a.h, b.h and z.c, z.c needs b.h but not a.h, and now b.h includes a.h ("for convenience") -- changing a.h would needlessly recompile z.c. Now, changing slab.h will probably recompile everything anyway, but still... johannes ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 16:57 ` Johannes Berg @ 2011-06-27 17:22 ` Pavel Roskin 0 siblings, 0 replies; 15+ messages in thread From: Pavel Roskin @ 2011-06-27 17:22 UTC (permalink / raw) To: Johannes Berg Cc: Arend van Spriel, Rafał Miłecki, Alexey Dobriyan, Geert Uytterhoeven, linux-wireless@vger.kernel.org, linux-next@vger.kernel.org, Linux Kernel Development On 06/27/2011 12:57 PM, Johannes Berg wrote: > Yeah, good rule. Consider if you have a.h, b.h and z.c, z.c needs b.h > but not a.h, and now b.h includes a.h ("for convenience") -- changing > a.h would needlessly recompile z.c. Now, changing slab.h will probably > recompile everything anyway, but still... In my configuration after touching slab.h and recompilation: $ find -name '*.o' -newer ../linux3/include/linux/slab.h |wc -l 1508 $ find -name '*.o' |wc -l 1928 78% object files were recompiled, 22% were no recompiled. Careful use of includes does save time. -- Regards, Pavel Roskin ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> [not found] ` <BANLkTinGvM79fza-=bFwcbtfFzGHAVKJag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2011-06-27 14:43 ` Rafał Miłecki @ 2011-06-27 14:44 ` Pavel Roskin [not found] ` <4E089730.1080306-mXXj517/zsQ@public.gmane.org> 1 sibling, 1 reply; 15+ messages in thread From: Pavel Roskin @ 2011-06-27 14:44 UTC (permalink / raw) To: Alexey Dobriyan Cc: Rafał Miłecki, Geert Uytterhoeven, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-next-u79uwXL29TY76Z2rM5mHXA, Linux Kernel Development On 06/27/2011 10:24 AM, Alexey Dobriyan wrote: > 2011/6/27 Rafał Miłecki<zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> 2011/6/26 Geert Uytterhoeven<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>: >>> 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. I agree. kfree() is used in main.c, not in bcma.h. There is no need for all files that include bcma.h to include linux/slab.h, especially (but not only) because bcma.h is not a private header. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <4E089730.1080306-mXXj517/zsQ@public.gmane.org>]
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> [not found] ` <4E089730.1080306-mXXj517/zsQ@public.gmane.org> @ 2011-06-27 14:49 ` Rafał Miłecki 2011-06-27 14:53 ` Geert Uytterhoeven 0 siblings, 1 reply; 15+ messages in thread From: Rafał Miłecki @ 2011-06-27 14:49 UTC (permalink / raw) To: Pavel Roskin Cc: Alexey Dobriyan, Geert Uytterhoeven, linux-wireless-u79uwXL29TY76Z2rM5mHXA, linux-next-u79uwXL29TY76Z2rM5mHXA, Linux Kernel Development 2011/6/27 Pavel Roskin <proski-mXXj517/zsQ@public.gmane.org>: > On 06/27/2011 10:24 AM, Alexey Dobriyan wrote: >> >> 2011/6/27 Rafał Miłecki<zajec5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >>> >>> 2011/6/26 Geert Uytterhoeven<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>: >>>> >>>> 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. > > I agree. kfree() is used in main.c, not in bcma.h. There is no need for > all files that include bcma.h to include linux/slab.h, especially (but not > only) because bcma.h is not a private header. You ignore the fact I clarified my idea to use bcma_private.h instead of bcma.h. -- Rafał -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 14:49 ` Rafał Miłecki @ 2011-06-27 14:53 ` Geert Uytterhoeven 2011-06-27 15:00 ` Rafał Miłecki 0 siblings, 1 reply; 15+ messages in thread From: Geert Uytterhoeven @ 2011-06-27 14:53 UTC (permalink / raw) To: Rafał Miłecki Cc: Pavel Roskin, Alexey Dobriyan, linux-wireless, linux-next, Linux Kernel Development 2011/6/27 Rafał Miłecki <zajec5@gmail.com>: > 2011/6/27 Pavel Roskin <proski@gnu.org>: >> On 06/27/2011 10:24 AM, Alexey Dobriyan wrote: >>> 2011/6/27 Rafał Miłecki<zajec5@gmail.com>: >>>> 2011/6/26 Geert Uytterhoeven<geert@linux-m68k.org>: >>>>> >>>>> 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. >> >> I agree. kfree() is used in main.c, not in bcma.h. There is no need for >> all files that include bcma.h to include linux/slab.h, especially (but not >> only) because bcma.h is not a private header. > > You ignore the fact I clarified my idea to use bcma_private.h instead of bcma.h. One day A Cleaner will remove it again, seeing bcma_private.h doesn't use any slab interface, and it still seems to compile on his platform of choice (which implicitly pulls in slab.h). If it's put in main.c, The Cleaner will notice main.c uses kfree(), and won't touch it. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-27 14:53 ` Geert Uytterhoeven @ 2011-06-27 15:00 ` Rafał Miłecki 0 siblings, 0 replies; 15+ messages in thread From: Rafał Miłecki @ 2011-06-27 15:00 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Pavel Roskin, Alexey Dobriyan, linux-wireless, linux-next, Linux Kernel Development W dniu 27 czerwca 2011 16:53 użytkownik Geert Uytterhoeven <geert@linux-m68k.org> napisał: > 2011/6/27 Rafał Miłecki <zajec5@gmail.com>: >> 2011/6/27 Pavel Roskin <proski@gnu.org>: >>> On 06/27/2011 10:24 AM, Alexey Dobriyan wrote: >>>> 2011/6/27 Rafał Miłecki<zajec5@gmail.com>: >>>>> 2011/6/26 Geert Uytterhoeven<geert@linux-m68k.org>: >>>>>> >>>>>> 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. >>> >>> I agree. kfree() is used in main.c, not in bcma.h. There is no need for >>> all files that include bcma.h to include linux/slab.h, especially (but not >>> only) because bcma.h is not a private header. >> >> You ignore the fact I clarified my idea to use bcma_private.h instead of bcma.h. > > One day A Cleaner will remove it again, seeing bcma_private.h doesn't > use any slab > interface, and it still seems to compile on his platform of choice > (which implicitly > pulls in slab.h). > > If it's put in main.c, The Cleaner will notice main.c uses kfree(), > and won't touch it. A Cleaner should review all files that use bcma_private.h and notice kfree() ;) But as I said, I don't really argue. John, if that's OK for you, please take it. -- Rafał ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-26 8:19 [PATCH -next] bcma: main.c needs to include <linux/slab.h> Geert Uytterhoeven 2011-06-27 13:59 ` Rafał Miłecki @ 2011-06-28 7:58 ` Rafał Miłecki 2011-06-28 9:49 ` Geert Uytterhoeven 1 sibling, 1 reply; 15+ messages in thread From: Rafał Miłecki @ 2011-06-28 7:58 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: linux-wireless, linux-next, Linux Kernel Development Hopefully last thing ;) 2011/6/26 Geert Uytterhoeven <geert@linux-m68k.org>: > m68k allmodconfig: > > drivers/bcma/main.c: In function ‘bcma_release_core_dev’: > drivers/bcma/main.c:68: error: implicit declaration of function ‘kfree’ > > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> > -- If this is not manual mistake, you may want to fix your script or whatever you use. You typed "--" instead of "---", which resulted in the following commit message: m68k allmodconfig: drivers/bcma/main.c: In function âbcma_release_core_devâ: drivers/bcma/main.c:68: error: implicit declaration of function âkfreeâ Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> -- http://kisskb.ellerman.id.au/kisskb/buildresult/4243344/ drivers/bcma/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) Signed-off-by: John W. Linville <linville@tuxdriver.com> -- Rafał ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH -next] bcma: main.c needs to include <linux/slab.h> 2011-06-28 7:58 ` Rafał Miłecki @ 2011-06-28 9:49 ` Geert Uytterhoeven 0 siblings, 0 replies; 15+ messages in thread From: Geert Uytterhoeven @ 2011-06-28 9:49 UTC (permalink / raw) To: Rafał Miłecki Cc: linux-wireless, linux-next, Linux Kernel Development 2011/6/28 Rafał Miłecki <zajec5@gmail.com>: > Hopefully last thing ;) > > 2011/6/26 Geert Uytterhoeven <geert@linux-m68k.org>: >> m68k allmodconfig: >> >> drivers/bcma/main.c: In function ‘bcma_release_core_dev’: >> drivers/bcma/main.c:68: error: implicit declaration of function ‘kfree’ >> >> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> >> -- > > > If this is not manual mistake, you may want to fix your script or > whatever you use. You typed "--" instead of "---", which resulted in > the following commit message: It's a manual mistake :-) > m68k allmodconfig: > > drivers/bcma/main.c: In function ‘bcma_release_core_dev’: > drivers/bcma/main.c:68: error: implicit declaration of function ‘kfree’ > > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> > -- > http://kisskb.ellerman.id.au/kisskb/buildresult/4243344/ > > drivers/bcma/main.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > Signed-off-by: John W. Linville <linville@tuxdriver.com> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2011-06-28 9:49 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-26 8:19 [PATCH -next] bcma: main.c needs to include <linux/slab.h> Geert Uytterhoeven
2011-06-27 13:59 ` Rafał Miłecki
2011-06-27 14:09 ` Geert Uytterhoeven
2011-06-27 14:11 ` Rafał Miłecki
[not found] ` <BANLkTikSLx6FKvF518s99Q8eRU_WF+cn9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-27 14:24 ` Alexey Dobriyan
[not found] ` <BANLkTinGvM79fza-=bFwcbtfFzGHAVKJag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-27 14:43 ` Rafał Miłecki
2011-06-27 16:49 ` Arend van Spriel
2011-06-27 16:57 ` Johannes Berg
2011-06-27 17:22 ` Pavel Roskin
2011-06-27 14:44 ` Pavel Roskin
[not found] ` <4E089730.1080306-mXXj517/zsQ@public.gmane.org>
2011-06-27 14:49 ` Rafał Miłecki
2011-06-27 14:53 ` Geert Uytterhoeven
2011-06-27 15:00 ` Rafał Miłecki
2011-06-28 7:58 ` Rafał Miłecki
2011-06-28 9:49 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox