staging/quatech_usb2: right shift warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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 ***
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux