All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: Fengguang Wu <fengguang.wu@intel.com>
Cc: "David S. Miller" <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: [PATCH net] irda: irlmp_reasons[] can be static
Date: Sat, 20 Apr 2013 14:11:51 +0300	[thread overview]
Message-ID: <20130420111151.GE26896@mwanda> (raw)
In-Reply-To: <20130420031045.GC7366@localhost>

On Sat, Apr 20, 2013 at 11:10:45AM +0800, Fengguang Wu wrote:
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
>  irlmp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/irda/irlmp.c b/net/irda/irlmp.c
> index 1064621..98ad6ec 100644
> --- a/net/irda/irlmp.c
> +++ b/net/irda/irlmp.c
> @@ -58,7 +58,7 @@ int  sysctl_discovery_slots   = 6; /* 6 slots by default */
>  int  sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ;
>  char sysctl_devname[65];
>  
> -const char *irlmp_reasons[] = {
> +static const char *irlmp_reasons[] = {

Oops.  Sorry for that.  I do run Sparse on my patches but I missed
that.

Acked-by: Dan Carpenter <dan.carpenter@oracle.com>

regards,
dan carpenter

  reply	other threads:[~2013-04-20 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5171ea81.dFNn973/RcdmuuQR%fengguang.wu@intel.com>
2013-04-20  3:10 ` [PATCH net] irda: irlmp_reasons[] can be static Fengguang Wu
2013-04-20 11:11   ` Dan Carpenter [this message]
2013-04-25  5:43     ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130420111151.GE26896@mwanda \
    --to=dan.carpenter@oracle.com \
    --cc=davem@davemloft.net \
    --cc=fengguang.wu@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.