Re: [PATCH v2 1/1] net: hns: avoid null pointer dereference
From: David Miller
Date: Mon May 23 2016 - 16:55:20 EST
From: Heinrich Schuchardt <xypron.glpk@xxxxxx>
Date: Thu, 19 May 2016 21:20:55 +0200
> In the statement
> assert(priv || priv->ae_handle);
> the right side of || is only evaluated if priv is null.
>
> v2:
> As suggested by David Leight and David Miller the assert
> statements are removed.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
Applied.