aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-11-03 01:15:37 +0100
committerJason A. Donenfeld <[email protected]>2022-11-19 00:56:15 +0100
commitdaf4218bf8dd9750d1ad93846aee98bf2e08eeee (patch)
treed27b7409fe04d832fc8999a0fb1c056fa2fb6bbc
parent7392134428c92a4cb541bd5c8f4f5c8d2e88364d (diff)
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 <[email protected]> Cc: Sakari Ailus <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
-rw-r--r--drivers/staging/media/atomisp/pci/hive_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/pci/hive_types.h b/drivers/staging/media/atomisp/pci/hive_types.h
index 4b8a679fb672..55d36931f079 100644
--- a/drivers/staging/media/atomisp/pci/hive_types.h
+++ b/drivers/staging/media/atomisp/pci/hive_types.h
@@ -42,7 +42,7 @@ typedef unsigned int hive_bool;
#define hive_false 0
#define hive_true 1
-typedef char hive_int8;
+typedef signed char hive_int8;
typedef short hive_int16;
typedef int hive_int32;
typedef long long hive_int64;