login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
29
Re: [PATCH] pciserial_resume_one ignored return value of pci_enable_device
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: Dirk Hohndel <hohndel@...>
Cc: Greg KH <gregkh@...>, <linux-kernel@...>
Subject:
Re: [PATCH] pciserial_resume_one ignored return value of pci_enable_device
Date: Monday, October 29, 2007 - 10:46 am
Dirk Hohndel wrote:
quoted text
> [PATCH] pciserial_resume_one ignored return value of pci_enable_device > > Signed-off-by: Dirk Hohndel <hohndel@linux.intel.com> > > --- > drivers/serial/8250_pci.c | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c > index 0e35756..ceb03c9 100644 > --- a/drivers/serial/8250_pci.c > +++ b/drivers/serial/8250_pci.c > @@ -1986,6 +1986,7 @@ static int pciserial_suspend_one(struct pci_dev *dev, pm_message_t state) > > static int pciserial_resume_one(struct pci_dev *dev) > { > + int err; > struct serial_private *priv = pci_get_drvdata(dev); > > pci_set_power_state(dev, PCI_D0); > @@ -1995,7 +1996,9 @@ static int pciserial_resume_one(struct pci_dev *dev) > /* > * The device may have been disabled. Re-enable it. > */ > - pci_enable_device(dev); > + err = pci_enable_device(dev); > + if (err) > + return err;
ACK -
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] pciserial_resume_one ignored return value of pci_ena...
, Dirk Hohndel
, (Mon Oct 29, 9:28 am)
Re: [PATCH] pciserial_resume_one ignored return value of pci...
, Jeff Garzik
, (Mon Oct 29, 10:46 am)
Re: [PATCH] pciserial_resume_one ignored return value of pci...
, Alan Cox
, (Mon Oct 29, 9:50 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Srivatsa Vaddagiri
containers (was Re: -mm merge plans for 2.6.23)
Benjamin Herrenschmidt
Re: [linux-pm] [PATCH] Remove process freezer from suspend to RAM pathway
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Patrick McHardy
Re: [GIT]: Networking
Gerrit Renker
[PATCH 6/7] [CCID-2/3]: Fix sparse warnings
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
925 guests
online.
Online users
maheshdm
strcmp
Syndicate