Search Linux Wireless

linux-4.2-rc5/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c: Bad test ?

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

 



Hello there,

[linux-4.2-rc5/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c:1542] -> [linux-4.2-rc5/drivers/net/wireless/rtlwifi/rtl8192c/dm_common.c:1545]: (style) Mismatching assignment and comparison, comparison 'bt_pri==4294967295' is always false.

    bt_pri = bt_pri & 0x00ffffff;

   if (bt_tx == 0xffffffff && bt_pri == 0xffffffff &&

Six f in the first line, but eight in the second.

Would use of symbol constants help prevent this kind of problem occurring
in future ? 


Regards

David Binderman

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux