From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752012AbbJLLVZ (ORCPT ); Mon, 12 Oct 2015 07:21:25 -0400 Received: from ozlabs.org ([103.22.144.67]:47011 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751968AbbJLLVW (ORCPT ); Mon, 12 Oct 2015 07:21:22 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: c13e1c05b22b504bf0d72fc762a02be37df2d1b0 In-Reply-To: <1444330858-5508-1-git-send-email-colin.king@canonical.com> To: Colin King , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: linux-kernel@vger.kernel.org Subject: Re: powerpc/pseries/hvcserver: don't memset pi_buff if it is null Message-Id: <20151012112121.8623F14029E@ozlabs.org> Date: Mon, 12 Oct 2015 22:21:21 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2015-08-10 at 19:00:58 UTC, Colin King wrote: > From: Colin Ian King > > pi_buff is being memset before it is sanity checked. Move the > memset after the null pi_buff sanity check to avoid an oops. > > Signed-off-by: Colin Ian King Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/c13e1c05b22b504bf0d72fc7 cheers