staging/quatech_usb2: right shift warning
Randy Dunlap
rdunlap at xenotime.net
Wed Jul 13 15:56:59 UTC 2011
[how does one reach Tim Gobeli at Quatech?
I can't find his contact info.]
drivers/staging/quatech_usb2/quatech_usb2.c:761:42: warning: right shift by bigger than source value
header_array[4] = (__u8)count >> 8;
That should be more like:
header_array[4] = (__u8)(count >> 8);
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
More information about the devel
mailing list