diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-29 04:59:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 20:46:59 +0200 |
commit | 5080e28d94a27e182e323854a9ba2a0718e9e3bf (patch) | |
tree | 31d04de248400d75fab58b6ae1e7cadebbfb35eb /drivers/gpio/gpio-siox.c | |
parent | net: stmmac: Switch to devm_alloc_etherdev_mqs (diff) | |
download | linux-5080e28d94a27e182e323854a9ba2a0718e9e3bf.tar.xz linux-5080e28d94a27e182e323854a9ba2a0718e9e3bf.zip |
net: mvpp2: cls: Remove unnessesary check in mvpp2_ethtool_cls_rule_ins
Fix smatch warning:
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1236
mvpp2_ethtool_cls_rule_ins() warn: unsigned 'info->fs.location' is never less than zero.
'info->fs.location' is u32 type, never less than zero.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpio-siox.c')
0 files changed, 0 insertions, 0 deletions