staging/keucr: eliminate sparse warnings in ms.c
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 9 May 2011 17:47:14 +0000 (10:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 18:19:54 +0000 (11:19 -0700)
commit7fb71adc357885c9ea9971efec3bb2a527b54364
treef06e5bff2e1ccdcf2aa9c3197de5b4b7453d262f
parentd8aba9d5d6c0d9809798967b9aac293690233b6d
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>
drivers/staging/keucr/common.h
drivers/staging/keucr/ms.c