mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
![Randy Dunlap](/assets/img/avatar_default.png)
Eliminate sparse warnings in ms.c: drivers/staging/keucr/ms.c:28:58: warning: right shift by bigger than source value drivers/staging/keucr/ms.c:31:58: warning: right shift by bigger than source value drivers/staging/keucr/ms.c:789:59: warning: cast truncates bits from constant value (ffffff7f becomes 7f) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 lines
208 B
C
15 lines
208 B
C
#ifndef COMMON_INCD
|
|
#define COMMON_INCD
|
|
|
|
typedef u8 BOOLEAN;
|
|
typedef u8 BYTE;
|
|
typedef u8 *PBYTE;
|
|
typedef u16 WORD;
|
|
typedef u16 *PWORD;
|
|
typedef u32 DWORD;
|
|
typedef u32 *PDWORD;
|
|
|
|
#define BYTE_MASK 0xff
|
|
|
|
#endif
|
|
|