From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 26 Sep 2018 16:23:57 +0200 From: Christoph Hellwig To: Bart Van Assche Cc: Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig , "Martin K . Petersen" , Ming Lei , Jianchao Wang , Hannes Reinecke , Johannes Thumshirn , Alan Stern Subject: Re: [PATCH v10 3/8] block: Split blk_pm_add_request() and blk_pm_put_request() Message-ID: <20180926142357.GB8604@lst.de> References: <20180921203122.49743-1-bvanassche@acm.org> <20180921203122.49743-4-bvanassche@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20180921203122.49743-4-bvanassche@acm.org> List-ID: Looks good, Reviewed-by: Christoph Hellwig But one very minor nitpick below: > #ifdef CONFIG_PM > +static inline void blk_pm_request_resume(struct request_queue *q) > +{ > + if (q->dev && (q->rpm_status == RPM_SUSPENDED || > + q->rpm_status == RPM_SUSPENDING)) I usually try to break lines around related conditions, so more something like: if (q->dev && (q->rpm_status == RPM_SUSPENDED || q->rpm_status == RPM_SUSPENDING))