login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
15
Re: [PATCH 1/3] net: handle errors from device_rename
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Wang Chen <wangchen@...>
To: Stephen Hemminger <shemminger@...>
Cc: Greg KH <greg@...>, David Miller <davem@...>, <fubar@...>, <netdev@...>, <bonding-devel@...>, <linux-kernel@...>
Subject:
Re: [PATCH 1/3] net: handle errors from device_rename
Date: Thursday, May 15, 2008 - 4:41 am
Stephen Hemminger said the following on 2008-5-15 9:15:
quoted text
> rollback: > - device_rename(&dev->dev, dev->name); > + err = device_rename(&dev->dev, dev->name); > + if (err) { > + memcpy(dev->name, oldname, IFNAMSIZ);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no need, dev->name didn't change in device_rename().
quoted text
> + return err; > + } >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/3] net: handle errors from device_rename
, Stephen Hemminger
, (Wed May 14, 9:15 pm)
Re: [PATCH 1/3] net: handle errors from device_rename
, Wang Chen
, (Thu May 15, 4:41 am)
Re: [PATCH 1/3] net: handle errors from device_rename
, Stephen Hemminger
, (Thu May 15, 4:09 pm)
Re: [PATCH 1/3] net: handle errors from device_rename
, David Miller
, (Thu May 15, 1:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Vladislav Bolkhovitin
Re: Integration of SCST in the mainstream Linux kernel
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Colocation donated by:
Who's online
There are currently
2 users
and
776 guests
online.
Online users
apartvalen
coachoutlet998
Syndicate