Return-Path: Subject: Re: [PATCH v4 02/12] block: Make request operation type argument declarations consistent To: Bart Van Assche , Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Hannes Reinecke , Omar Sandoval , Ming Lei References: <20170619220801.12557-1-bart.vanassche@wdc.com> <20170619220801.12557-3-bart.vanassche@wdc.com> From: Hannes Reinecke Message-ID: <45129360-a1b8-4d0e-46a6-2122a14ccb2f@suse.de> Date: Tue, 20 Jun 2017 08:32:43 +0200 MIME-Version: 1.0 In-Reply-To: <20170619220801.12557-3-bart.vanassche@wdc.com> Content-Type: text/plain; charset=utf-8 List-ID: On 06/20/2017 12:07 AM, Bart Van Assche wrote: > From: Bart Van Assche > > Instead of declaring the second argument of blk_*_get_request() > as int and passing it to functions that expect an unsigned int, > declare that second argument as unsigned int. Also because of > consistency, rename that second argument from 'rw' into 'op'. > This patch does not change any functionality. > > Signed-off-by: Bart Van Assche > Reviewed-by: Christoph Hellwig > Cc: Hannes Reinecke > Cc: Omar Sandoval > Cc: Ming Lei > --- > block/blk-core.c | 13 +++++++------ > block/blk-mq.c | 10 +++++----- > include/linux/blk-mq.h | 6 +++--- > include/linux/blkdev.h | 3 ++- > 4 files changed, 17 insertions(+), 15 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)