From: YueHaibing
Date: Wed, 29 May 2019 10:59:06 +0800
> 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.
>
>
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
---
v2: rework patch based net-next
---
2 matches
Mail list logo