diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-09-25 13:56:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-27 10:03:07 +0200 |
commit | bd55f8ddbc437c225391ca8f487e7ec10243c4cc (patch) | |
tree | 9f0477734fb4be4f92b99bdc651902ab3a6f0757 /kernel/smpboot.h | |
parent | 25a584955f020d6ec499c513923fb220f3112d2b (diff) | |
download | linux-bd55f8ddbc437c225391ca8f487e7ec10243c4cc.tar.gz |
net: netsec: Fix signedness bug in netsec_probe()
The "priv->phy_interface" variable is an enum and in this context GCC
will treat it as an unsigned int so the error handling is never
triggered.
Fixes: 533dd11a12f6 ("net: socionext: Add Synquacer NetSec driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/smpboot.h')
0 files changed, 0 insertions, 0 deletions