Re: [PATCH V2] Staging: media: bcm2048: style fix - bare use of unsigned
From: Greg KH
Date: Mon Jan 16 2017 - 05:37:56 EST
On Mon, Jan 16, 2017 at 08:09:51PM +1300, Derek Robson wrote:
> Changed macro to not pass signedness and size as seprate fields.
> This is to improve code readablity.
Not really, it reads just fine as is. In fact, it forces you to think
about the signed vs. unsigned of the variable and doesn't let you forget
it, which seems to be the intention of the code as-is.
So I would recommend just leaving it alone.
Remember, checkpatch is a hint, you always have to use your brain when
making kernel changes, and always test-build them :)
thanks,
greg k-h