drivers/staging/wilc1000/host_interface.c:: 6 * pointless test ?

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

 



Hello there,

drivers/staging/wilc1000/host_interface.c:512:36: warning: comparison is always true due to limited range of data type [-Wtype-limits]

Source code is

        cfg_param_attr->auth_timeout < 65536) {

Suggest remove pointless test. Some duplicates:

drivers/staging/wilc1000/host_interface.c:581:37: warning: comparison is always true due to limited range of data type [-Wtype-limits]
drivers/staging/wilc1000/host_interface.c:634:39: warning: comparison is always true due to limited range of data type [-Wtype-limits]
drivers/staging/wilc1000/host_interface.c:675:45: warning: comparison is always true due to limited range of data type [-Wtype-limits]
drivers/staging/wilc1000/host_interface.c:689:40: warning: comparison is always true due to limited range of data type [-Wtype-limits]
drivers/staging/wilc1000/host_interface.c:703:41: warning: comparison is always true due to limited range of data type [-Wtype-limits]

Regards

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