Bug 80421 - drivers/crypto/ : 2 * pointless code ?
Summary: drivers/crypto/ : 2 * pointless code ?
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 20:34 UTC by David Binderman
Modified: 2014-07-17 12:19 UTC (History)
1 user (show)

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


Attachments

Description David Binderman 2014-07-16 20:34:26 UTC
1.

[linux-3.16-rc5/drivers/crypto/omap-des.c:970]: (style) Checking if unsigned variable 'total' is less than zero.

        BUG_ON(dd->total < 0);

2.

[linux-3.16-rc5/drivers/crypto/omap-aes.c:1043]: (style) Checking if unsigned variable 'total' is less than zero.

       BUG_ON(dd->total < 0);
Comment 1 Andrey Utkin 2014-07-17 12:19:59 UTC
Thanks, patch submitted: https://patchwork.kernel.org/patch/4574841/

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