From: Larry Finger Date: Tue, 9 Sep 2014 20:57:46 +0000 (-0500) Subject: rtlwifi: btcoexist: Fix "always true" warning from commit ed364abffd6e X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbb30ebeefaf01121b32ae6b5baf29524f3a0b30;p=pandora-kernel.git rtlwifi: btcoexist: Fix "always true" warning from commit ed364abffd6e The 0-DAY kernel build testing backend reports the following warning: drivers/net/wireless/rtlwifi/btcoexist/halbtcoutsrc.c:516 halbtc_bitmask_write_1byte() warn: always true condition '(bit_mask != 4294967295) => (0-255 != u32max)' This problem was introduced in commit ed364abffd6e19bec67b7ccda8237213b8b37640, and arises because the caller of halbtc_bitmask_write_1byte() is using a u8 rather than a u32 for the data. Reported-by: Kbuild test robot Signed-off-by: Larry Finger Cc: Kbuild test robot Signed-off-by: John W. Linville --- Reading git-diff-tree failed