netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] ixp4xx_hss: fix build failure after logging conversion
@ 2012-09-10  8:43 Florian Fainelli
  2012-09-10  9:04 ` Joe Perches
  2012-09-10 17:04 ` Ben Hutchings
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Fainelli @ 2012-09-10  8:43 UTC (permalink / raw)
  To: netdev; +Cc: khc, joe, David Miller, Florian Fainelli, stable

Commit c75bb2c6f0cf455c23e60f14d780e841dd47f801 (ixp4xx_hss: Update to
current logging forms) converted the ixp4xx_hss module to use the current
logging macros, but forgot to include linux/module.h, leading to the
following build failures:

  CC [M]  drivers/net/wan/ixp4xx_hss.o
 drivers/net/wan/ixp4xx_hss.c:1412:20: error: expected ';', ',' or ')'
 before string constant
 drivers/net/wan/ixp4xx_hss.c:1413:25: error: expected ';', ',' or ')'
 before string constant
 drivers/net/wan/ixp4xx_hss.c:1414:21: error: expected ';', ',' or ')'
 before string constant
 drivers/net/wan/ixp4xx_hss.c:1415:19: error: expected ';', ',' or ')'
 before string constant
 make[8]: *** [drivers/net/wan/ixp4xx_hss.o] Error 1

CC: stable@vger.kernel.org
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
[stable: 3.1+]

 drivers/net/wan/ixp4xx_hss.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c
index aaaca9a..3f575af 100644
--- a/drivers/net/wan/ixp4xx_hss.c
+++ b/drivers/net/wan/ixp4xx_hss.c
@@ -10,6 +10,7 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
+#include <linux/module.h>
 #include <linux/bitops.h>
 #include <linux/cdev.h>
 #include <linux/dma-mapping.h>
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net] ixp4xx_hss: fix build failure after logging conversion
  2012-09-10  8:43 [PATCH net] ixp4xx_hss: fix build failure after logging conversion Florian Fainelli
@ 2012-09-10  9:04 ` Joe Perches
  2012-09-10  9:35   ` Florian Fainelli
  2012-09-10 17:04 ` Ben Hutchings
  1 sibling, 1 reply; 4+ messages in thread
From: Joe Perches @ 2012-09-10  9:04 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: netdev, khc, David Miller, stable

On Mon, 2012-09-10 at 10:43 +0200, Florian Fainelli wrote:
> Commit c75bb2c6f0cf455c23e60f14d780e841dd47f801 (ixp4xx_hss: Update to
> current logging forms) converted the ixp4xx_hss module to use the current
> logging macros, but forgot to include linux/module.h, leading to the
> following build failures:

Bad explanation.
This commit had nothing to do with any missing module.h.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net] ixp4xx_hss: fix build failure after logging conversion
  2012-09-10  9:04 ` Joe Perches
@ 2012-09-10  9:35   ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2012-09-10  9:35 UTC (permalink / raw)
  To: Joe Perches; +Cc: netdev, khc, David Miller, stable

On Monday 10 September 2012 02:04:15 Joe Perches wrote:
> On Mon, 2012-09-10 at 10:43 +0200, Florian Fainelli wrote:
> > Commit c75bb2c6f0cf455c23e60f14d780e841dd47f801 (ixp4xx_hss: Update to
> > current logging forms) converted the ixp4xx_hss module to use the current
> > logging macros, but forgot to include linux/module.h, leading to the
> > following build failures:
> 
> Bad explanation.
> This commit had nothing to do with any missing module.h.

You are right, this issue dates back from day one when this driver got merged, 
I will repost a v2 with the proper commit.
--
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net] ixp4xx_hss: fix build failure after logging conversion
  2012-09-10  8:43 [PATCH net] ixp4xx_hss: fix build failure after logging conversion Florian Fainelli
  2012-09-10  9:04 ` Joe Perches
@ 2012-09-10 17:04 ` Ben Hutchings
  1 sibling, 0 replies; 4+ messages in thread
From: Ben Hutchings @ 2012-09-10 17:04 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: netdev, khc, joe, David Miller, stable

On Mon, 2012-09-10 at 10:43 +0200, Florian Fainelli wrote:
> Commit c75bb2c6f0cf455c23e60f14d780e841dd47f801 (ixp4xx_hss: Update to
> current logging forms) converted the ixp4xx_hss module to use the current
> logging macros, but forgot to include linux/module.h, leading to the
> following build failures:
> 
>   CC [M]  drivers/net/wan/ixp4xx_hss.o
>  drivers/net/wan/ixp4xx_hss.c:1412:20: error: expected ';', ',' or ')'
>  before string constant
>  drivers/net/wan/ixp4xx_hss.c:1413:25: error: expected ';', ',' or ')'
>  before string constant
>  drivers/net/wan/ixp4xx_hss.c:1414:21: error: expected ';', ',' or ')'
>  before string constant
>  drivers/net/wan/ixp4xx_hss.c:1415:19: error: expected ';', ',' or ')'
>  before string constant
>  make[8]: *** [drivers/net/wan/ixp4xx_hss.o] Error 1
> 
> CC: stable@vger.kernel.org
> Signed-off-by: Florian Fainelli <florian@openwrt.org>
> ---
> [stable: 3.1+]

The versions to receive stable updates should be noted on the inline Cc
line, not in non-committed comments.  (But David prefers to collect up
networking patches in his own stable queue rather than using the inline
Cc mechanism.  So the Cc may not be appropriate at all.)

Ben.

>  drivers/net/wan/ixp4xx_hss.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c
> index aaaca9a..3f575af 100644
> --- a/drivers/net/wan/ixp4xx_hss.c
> +++ b/drivers/net/wan/ixp4xx_hss.c
> @@ -10,6 +10,7 @@
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>  
> +#include <linux/module.h>
>  #include <linux/bitops.h>
>  #include <linux/cdev.h>
>  #include <linux/dma-mapping.h>

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-10 17:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10  8:43 [PATCH net] ixp4xx_hss: fix build failure after logging conversion Florian Fainelli
2012-09-10  9:04 ` Joe Perches
2012-09-10  9:35   ` Florian Fainelli
2012-09-10 17:04 ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).