Bug 80611 - rxrpc/ar-key.c:349: pointless test ?
Summary: rxrpc/ar-key.c:349: pointless test ?
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 10:19 UTC by David Binderman
Modified: 2016-02-15 20:44 UTC (History)
2 users (show)

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


Attachments

Description David Binderman 2014-07-18 10:19:08 UTC
[linux-3.16-rc5/net/rxrpc/ar-key.c:349]: (style) Checking if unsigned variable 'n_elem' is less than zero.

    if (n_elem < 0 || n_elem > max_n_elem)
Comment 1 Andrey Utkin 2014-07-18 15:48:50 UTC
Thanks. https://patchwork.kernel.org/patch/4586041/

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