[PATCH 3/5] nvme-fabrics: use unsigned int type
Keith Busch
kbusch at kernel.org
Thu Jan 13 08:20:44 PST 2022
On Tue, Jan 11, 2022 at 10:20:59PM -0800, Chaitanya Kulkarni wrote:
> From: Chaitanya Kulkarni <kch at nvidia.com>
>
> Loop variable i will never have a negative value, so use
> unsigned int type instaed of int.
>
> Signed-off-by: Chaitanya Kulkarni <kch at nvidia.com>
Just IMO, I do not particularly care for this kind of change. The driver
and kernel use 'int i' for loop control in so many places. Granted,
'unsigned i' is also used too...
More information about the Linux-nvme
mailing list