summary refs log tree commit diff
path: root/drivers/net/wwan
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-10-19 09:55:41 -0600
committerKalle Valo <kvalo@kernel.org>2022-10-21 09:59:39 +0300
commit66063033f77e10b985258126a97573f84bb8d3b4 (patch)
treefc1347ca8c324fcdb06aba9c1306214544035669 /drivers/net/wwan
parent6d36c728bc2e2d632f4b0dea00df5532e20dfdab (diff)
downloadlinux-66063033f77e10b985258126a97573f84bb8d3b4.tar.gz
wifi: rt2x00: use explicitly signed or unsigned types
On some platforms, `char` is unsigned, but this driver, for the most
part, assumed it was signed. In other places, it uses `char` to mean an
unsigned number, but only in cases when the values are small. And in
still other places, `char` is used as a boolean. Put an end to this
confusion by declaring explicit types, depending on the context.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Stanislaw Gruszka <stf_xl@wp.pl>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221019155541.3410813-1-Jason@zx2c4.com
Diffstat (limited to 'drivers/net/wwan')
0 files changed, 0 insertions, 0 deletions