Messages in this thread | | | Date | Sat, 15 Jul 2023 10:34:21 +0100 | From | Simon Horman <> | Subject | Re: [PATCH net v3] net: lan966x: fix parameter check in two functions |
| |
On Fri, Jul 14, 2023 at 04:51:15PM +0800, Minjie Du wrote: > Make IS_ERR_OR_NULL() judge the vcap_get_rule() function return. > in lan966x_ptp_add_trap() and lan966x_ptp_del_trap(). > > Fixes: 72df3489fb10 ("net: lan966x: Add ptp trap rules") > Signed-off-by: Minjie Du <duminjie@vivo.com> > Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
| |