Unsigned minus constant is still unsigned so checking its sign makes no sense. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| phy | ||
| Makefile | ||
| aiutils.c | ||
| aiutils.h | ||
| ampdu.c | ||
| ampdu.h | ||
| antsel.c | ||
| antsel.h | ||
| brcms_trace_brcmsmac.h | ||
| brcms_trace_brcmsmac_msg.h | ||
| brcms_trace_brcmsmac_tx.h | ||
| brcms_trace_events.c | ||
| brcms_trace_events.h | ||
| channel.c | ||
| channel.h | ||
| d11.h | ||
| debug.c | ||
| debug.h | ||
| dma.c | ||
| dma.h | ||
| led.c | ||
| led.h | ||
| mac80211_if.c | ||
| mac80211_if.h | ||
| main.c | ||
| main.h | ||
| phy_shim.c | ||
| phy_shim.h | ||
| pmu.c | ||
| pmu.h | ||
| pub.h | ||
| rate.c | ||
| rate.h | ||
| scb.h | ||
| stf.c | ||
| stf.h | ||
| types.h | ||
| ucode_loader.c | ||
| ucode_loader.h | ||