Re: [PATCH] net/enetc: Fix wrong return value in enetc_psfp_parse_clsflower()

From: David Miller
Date: Mon Aug 03 2020 - 18:58:05 EST


From: Tianjia Zhang <tianjia.zhang@xxxxxxxxxxxxxxxxx>
Date: Sun, 2 Aug 2020 19:15:38 +0800

> In the case of invalid rule, a positive value EINVAL is returned here.
> I think this is a typo error. It is necessary to return an error value.
>
> Cc: Po Liu <Po.Liu@xxxxxxx>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@xxxxxxxxxxxxxxxxx>

Applied.