diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-05-09 10:47:14 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-10 11:19:54 -0700 |
commit | 7fb71adc357885c9ea9971efec3bb2a527b54364 (patch) | |
tree | f06e5bff2e1ccdcf2aa9c3197de5b4b7453d262f /drivers/staging/keucr/common.h | |
parent | d8aba9d5d6c0d9809798967b9aac293690233b6d (diff) |
staging/keucr: eliminate sparse warnings in ms.c
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>
Diffstat (limited to 'drivers/staging/keucr/common.h')
-rw-r--r-- | drivers/staging/keucr/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/keucr/common.h b/drivers/staging/keucr/common.h index b87dc7a8901d..cf347ccd6a6e 100644 --- a/drivers/staging/keucr/common.h +++ b/drivers/staging/keucr/common.h @@ -9,5 +9,7 @@ typedef u16 *PWORD; typedef u32 DWORD; typedef u32 *PDWORD; +#define BYTE_MASK 0xff + #endif |