Bug 80591

Summary: kernel/debug/kdb/kdb_bp.c:42: pointless test ?
Product: Other Reporter: David Binderman (dcb314)
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: low CC: andrey_utkin
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.16-rc5 Subsystem:
Regression: No Bisected commit-id:

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/