From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH v3 1/2] Hard disk S3 resume time optimization Date: Wed, 15 Jan 2014 08:01:04 -0500 Message-ID: <20140115130104.GC7950@htj.dyndns.org> References: <20140108005607.GB29556@linux.intel.com> <20140111191315.GC3257@mtj.dyndns.org> <20140113195544.GA13900@linux.intel.com> <20140113203007.GA3480@mtj.dyndns.org> <20140115003140.GB15067@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140115003140.GB15067@linux.intel.com> Sender: linux-ide-owner@vger.kernel.org To: Todd E Brandt Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, James.Bottomley@HansenPartnership.com, rjw@rjwysocki.net List-Id: linux-scsi@vger.kernel.org Hello, On Tue, Jan 14, 2014 at 04:31:40PM -0800, Todd E Brandt wrote: .... > Signed-off-by: Todd Brandt > Signed-off-by: Arjan van de Ven > > drivers/ata/libata-core.c | 32 +++++++++++++++++--------------- > 1 file changed, 17 insertions(+), 15 deletions(-) > > Signed-off-by: Todd Brandt > Signed-off-by: Arjan van de Ven Hmmm? Duplicate SOBs and there's supposed to be "---" separator between patch description and the rest. > @@ -5326,7 +5326,7 @@ bool ata_link_offline(struct ata_link *link) > #ifdef CONFIG_PM > static int ata_port_request_pm(struct ata_port *ap, pm_message_t mesg, > unsigned int action, unsigned int ehi_flags, > - int *async) > + bool async, int *async_result) Do we still need @async_result? Only resume is async and resume doesn't care about the result. Suspend is always synchronous and thus can just return the result, no? Thanks. -- tejun