linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Adrian Bunk <bunk@stusta.de>
Cc: rl@hellgate.ch, linux-net@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] drivers/net/via-rhine.c: make a variable static
Date: Sat, 19 Feb 2005 03:47:16 -0500	[thread overview]
Message-ID: <4216FD14.5070506@pobox.com> (raw)
In-Reply-To: <20050219084433.GU4337@stusta.de>

Adrian Bunk wrote:
> This patch makes a needlessly global variable static.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> --- linux-2.6.11-rc3-mm2-full/drivers/net/via-rhine.c.old	2005-02-16 18:56:59.000000000 +0100
> +++ linux-2.6.11-rc3-mm2-full/drivers/net/via-rhine.c	2005-02-16 18:57:05.000000000 +0100
> @@ -390,7 +390,7 @@
>  
>  #ifdef USE_MMIO
>  /* Registers we check that mmio and reg are the same. */
> -int mmio_verify_registers[] = {
> +static int mmio_verify_registers[] = {
>  	RxConfig, TxConfig, IntrEnable, ConfigA, ConfigB, ConfigC, ConfigD,
>  	0

static const

	Jeff




  reply	other threads:[~2005-02-19  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-19  8:44 [2.6 patch] drivers/net/via-rhine.c: make a variable static Adrian Bunk
2005-02-19  8:47 ` Jeff Garzik [this message]
2005-02-21 14:48   ` [2.6 patch] drivers/net/via-rhine.c: make a variable static const Adrian Bunk

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=4216FD14.5070506@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=rl@hellgate.ch \
    /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 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).