[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190530.114745.2009412497795778923.davem@davemloft.net>
Date: Thu, 30 May 2019 11:47:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: maxime.chevallier@...tlin.com, antoine.tenart@...tlin.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net: mvpp2: cls: Remove unnessesary check
in mvpp2_ethtool_cls_rule_ins
From: YueHaibing <yuehaibing@...wei.com>
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.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> v2: rework patch based net-next
Applied.
Powered by blists - more mailing lists