Bug 80491 - pinctrl/pinctrl-msm.c: 2 * pointless code ?
Summary: pinctrl/pinctrl-msm.c: 2 * pointless code ?
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 low
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 14:35 UTC by David Binderman
Modified: 2014-07-17 16:30 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 14:35:58 UTC
1.

[linux-3.16-rc5/drivers/pinctrl/pinctrl-msm.c:145]: (style) Checking if unsigned variable 'mux_bit' is less than zero.

    if (WARN_ON(g->mux_bit < 0))
        return -EINVAL;

2.

[linux-3.16-rc5/drivers/pinctrl/pinctrl-msm.c:179]: (style) Checking if unsigned variable 'mux_bit' is less than zero.

Duplicate.
Comment 1 Andrey Utkin 2014-07-17 16:30:58 UTC
Thanks. https://patchwork.kernel.org/patch/4577141/

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