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
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 006/196] Chinese: add translation of oops-tracing.txt
Eric Sandeen
Re: [RFC] Heads up on sys_fallocate()
YOSHIFUJI Hideaki /
request_module: runaway loop modprobe net-pf-1 (is Re: Linux 2.6.21-rc1)
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ben Greear
Re: MACVLANs really best solution? How about a bridge with multiple bridge virtual...
Rafael J. Wysocki
2.6.29-rc8: Reported regressions from 2.6.28
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
945 guests
online.
Online users
sreejithc
electronicart65
bluewater357
backtolife88
loanman99
sharkolzarki
Syndicate