Return-Path: Subject: Re: [PATCH v5 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: <20170620181549.24903-1-bart.vanassche@wdc.com> <20170620181549.24903-3-bart.vanassche@wdc.com> From: Hannes Reinecke Message-ID: <68044f59-364a-eecf-734a-437691f3fde7@suse.de> Date: Wed, 21 Jun 2017 08:53:43 +0200 MIME-Version: 1.0 In-Reply-To: <20170620181549.24903-3-bart.vanassche@wdc.com> Content-Type: text/plain; charset=utf-8 List-ID: On 06/20/2017 08:15 PM, 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)