Bug 80421

Summary: drivers/crypto/ : 2 * pointless code ?
Product: Drivers Reporter: David Binderman (dcb314)
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: normal 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-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/