From: André Almeida Date: Tue, 13 Nov 2018 18:58:34 +0000 (-0200) Subject: staging: vchi: change type 'int32_t' to 's32' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1aa30a00b5ed279e2241a1dc59b46b93a47acf0c;p=openwrt%2Fstaging%2Fblogic.git staging: vchi: change type 'int32_t' to 's32' As one can see in a typedef at linux/types.h:103, s32 and int32_t are both a 32 bits signed integer. s32 is preferred because it is defined by the kernel maintainers and it prevents portability issues. Changed to meet checkpatch criteria. Signed-off-by: André Almeida Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h index 198bd076b666..40c760d493a1 100644 --- a/drivers/staging/vc04_services/interface/vchi/vchi_mh.h +++ b/drivers/staging/vc04_services/interface/vchi/vchi_mh.h @@ -36,7 +36,7 @@ #include -typedef int32_t VCHI_MEM_HANDLE_T; +typedef s32 VCHI_MEM_HANDLE_T; #define VCHI_MEM_HANDLE_INVALID 0 #endif