]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: fdp: use unsigned int as loop iterator
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 29 Jul 2021 10:40:18 +0000 (12:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 11:28:03 +0000 (12:28 +0100)
commit0dd98f36213d9345c2bebc731414a779528eca31
tree132d73cfcb9a2dc2286399f3af6a5569217e288d
parentfd8d1a739ce1794d22fec60afc82a7c33623fab9
nfc: fdp: use unsigned int as loop iterator

Loop iterators are simple integers, no point to optimize the size and
use u8.  It only raises the question whether the variable is used in
some other context.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/fdp/fdp.c