Re: [PATCH V2] misc: rtsx: Fix impossible condition

From: Greg KH
Date: Tue Nov 19 2019 - 07:37:29 EST


On Tue, Nov 19, 2019 at 04:26:30PM +0800, rui_feng@xxxxxxxxxxxxxx wrote:
> From: Rui Feng <rui_feng@xxxxxxxxxxxxxx>
>
> A u8 can only go up to 255, condition n > 396 is
> impossible, so change u8 to u16.
>
> Signed-off-by: Rui Feng <rui_feng@xxxxxxxxxxxxxx>
> ---
> drivers/misc/cardreader/rts5261.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)

What changed from v1? Always put that below the --- line as the
documentation asks you to.

Please fix up and send a v3.

thanks,

greg k-h