Re: [PATCH] USB: serial: mos7840: Prefer 'unsigned int' to bare use of 'unsigned'

From: Johan Hovold
Date: Fri May 17 2019 - 03:45:00 EST


On Thu, May 16, 2019 at 06:37:59PM +0530, parna.naveenkumar@xxxxxxxxx wrote:
> From: Naveen Kumar Parna <parna.naveenkumar@xxxxxxxxx>
>
> This fixes checkpatch.pl warning "WARNING: Prefer 'unsigned int' to
> bare use of 'unsigned'".

Please don't run checkpatch.pl on code that already in the kernel
(possibly with the exception of staging). Use it on your own patches
before you submit them if you want, and even then don't blindly follow
what checkpatch says.

Minor coding style issues are better left alone to avoid adding noise
and making code forensic and backports harder.

And in this case, there's not even anything wrong with the current code.

Johan