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

2020-08-03 Thread David Miller
From: Tianjia Zhang 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 > Signed-off-by: Tianjia Zhang Applied.

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

2020-08-02 Thread Tianjia Zhang
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 Signed-off-by: Tianjia Zhang --- drivers/net/ethernet/freescale/enetc/enetc_qos.c | 8 1 file changed, 4 insertions(+), 4