Bug 80591 - kernel/debug/kdb/kdb_bp.c:42: pointless test ?
Summary: kernel/debug/kdb/kdb_bp.c:42: pointless test ?
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 low
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 10:10 UTC by David Binderman
Modified: 2014-07-18 15:49 UTC (History)
1 user (show)

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


Attachments

Description David Binderman 2014-07-18 10:10:50 UTC
[linux-3.16-rc5/kernel/debug/kdb/kdb_bp.c:42]: (style) Checking if unsigned variable 'bp_type' is less than zero.

    if (bp->bp_type < 0 || bp->bp_type > 4)
Comment 1 Andrey Utkin 2014-07-18 15:49:16 UTC
Thanks. https://patchwork.kernel.org/patch/4586091/

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