]> git.itanic.dy.fi Git - linux-stable/commit
media: atomisp: make hive_int8 explictly signed
authorJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Nov 2022 00:15:37 +0000 (01:15 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 18 Nov 2022 23:56:15 +0000 (00:56 +0100)
commitdaf4218bf8dd9750d1ad93846aee98bf2e08eeee
treed27b7409fe04d832fc8999a0fb1c056fa2fb6bbc
parent7392134428c92a4cb541bd5c8f4f5c8d2e88364d
media: atomisp: make hive_int8 explictly signed

The current definition of hive_int8 is a naked char, without any sign
specifier. This is incorrect on platforms such as arm, where char is
unsigned. Fortunately nothing in the kernel actually uses a hive_int8
type, but in case it gets used later rather than removed, this makes it
explicitly signed.

Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/staging/media/atomisp/pci/hive_types.h