Re: powerpc/pseries/hvcserver: don't memset pi_buff if it is null

From: Michael Ellerman
Date: Mon Oct 12 2015 - 07:21:57 EST


On Thu, 2015-08-10 at 19:00:58 UTC, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c13e1c05b22b504bf0d72fc7

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/