Bug 80471 - drivers/net/wireless/ath/ath9k/debug.c:205: pointless test ?
Summary: drivers/net/wireless/ath/ath9k/debug.c:205: pointless test ?
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 low
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 12:51 UTC by David Binderman
Modified: 2014-07-17 14:04 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.16-rc5
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description David Binderman 2014-07-17 12:51:51 UTC
[linux-3.16-rc5/drivers/net/wireless/ath/ath9k/debug.c:205]: (style) Checking if unsigned variable 'ani' is less than zero.

    if (ani < 0 || ani > 1)
        return -EINVAL;
Comment 1 Andrey Utkin 2014-07-17 14:04:59 UTC
Thanks, patch submitted: https://patchwork.kernel.org/patch/4575591/

Note You need to log in before you can comment on or make changes to this bug.