From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 29 Mar 2016 08:45:24 -0700 Subject: [U-Boot] [PATCH] driver: net: fsl-mc: Check NULL before pointer dereference In-Reply-To: <1458297963-19897-1-git-send-email-prabhakar.kushwaha@nxp.com> References: <1458297963-19897-1-git-send-email-prabhakar.kushwaha@nxp.com> Message-ID: <56FAA314.4090809@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/18/2016 03:46 AM, Prabhakar Kushwaha wrote: > NULL pointer should be checked before any dereference. This patch > move memest after the NULL pointer check. > > Signed-off-by: Prabhakar Kushwaha > Reported-by: Jose Rivera > --- > drivers/net/fsl-mc/dpio/qbman_sys.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York