commit | cf04a4c764cd3e651a64b3e667bb6a673ead99e1 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Tue Sep 30 02:22:14 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 30 02:22:14 2008 -0700 |
tree | 61fc379e33ca08e68326b9f76577fd2a57435034 | |
parent | db4148da2cc84c31419b5e3ae3115ac6e11817a1 [diff] |
netdev: use const for some name functions 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@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>