[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080930.022259.135964752.davem@davemloft.net>
Date: Tue, 30 Sep 2008 02:22:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] netdev: use const for some name functions
From: Stephen Hemminger <shemminger@...tta.com>
Date: Tue, 23 Sep 2008 08:39:34 -0700
> dev_change_name and netdev_drivername should use const char on parameters
> that are read-only input values. The strcpy to newname is not needed since
> newname is not used later in function.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists