[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160523.135510.281587414446265876.davem@davemloft.net>
Date: Mon, 23 May 2016 13:55:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xypron.glpk@....de
Cc: David.Laight@...lab.com, Yisen.Zhuang@...wei.com,
yankejian@...wei.com, lisheng011@...wei.com, andrew@...n.ch,
salil.mehta@...wei.com, ivecera@...hat.com, chenny.xu@...wei.com,
huangdaode@...ilicon.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] net: hns: avoid null pointer dereference
From: Heinrich Schuchardt <xypron.glpk@....de>
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@....de>
Applied.
Powered by blists - more mailing lists