On Thu, Oct 13, 2022 at 10:21:00AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxx> > > The mlx5e_macsec_cleanup() routine has pointer dereferencing if mlx5 device > doesn't support MACsec (priv->macsec will be NULL) together with useless > comment line, assignment and extra blank lines. > > Fix everything in one patch. > > Fixes: 1f53da676439 ("net/mlx5e: Create advanced steering operation (ASO) object for MACsec") > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > --- > .../net/ethernet/mellanox/mlx5/core/en_accel/macsec.c | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) Gentle ping. Thanks