powerpc/pseries/hvcserver: don't memset pi_buff if it is null
Michael Ellerman
mpe at ellerman.id.au
Mon Oct 12 22:21:21 AEDT 2015
On Thu, 2015-08-10 at 19:00:58 UTC, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> 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 <colin.king at canonical.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c13e1c05b22b504bf0d72fc7
cheers
More information about the Linuxppc-dev
mailing list