Bug 218007 - sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c: PVS-Studio: V547: Expression 'value < 0' is always false
Summary: sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit.c: PVS-Studio: V547: Expressio...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-wireless (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-03-22 13:42 UTC by Svyatoslav
Modified: 2017-03-23 21:48 UTC (History)
0 users

See Also:


Attachments
git patch (588 bytes, patch)
2017-03-22 13:42 UTC, Svyatoslav
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svyatoslav 2017-03-22 13:42:00 UTC
Created attachment 181056 [details]
git patch

We have found and fixed a bug using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/

Analyzer warning: V547 Expression 'value < 0' is always false. Unsigned type value is never < 0. ar9300_xmit.c 450