Skip to content
Commit 4d616831 authored by Rui Feng's avatar Rui Feng Committed by Greg Kroah-Hartman
Browse files

misc: rtsx: Fix impossible condition



A u8 can only go up to 255, condition n > 396 is
impossible, so change u8 to u16.

Signed-off-by: default avatarRui Feng <rui_feng@realsil.com.cn>
Link: https://lore.kernel.org/r/1574214006-13540-1-git-send-email-rui_feng@realsil.com.cn


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent efb5bea6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment