From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zmdwY0G4gzF0xj for ; Thu, 22 Feb 2018 00:43:08 +1100 (AEDT) In-Reply-To: <1518720591-84657-1-git-send-email-bryantly@linux.vnet.ibm.com> To: "Bryant G. Ly" , benh@kernel.crashing.org, paulus@samba.org From: Michael Ellerman Cc: aik@ozlabs.ru, linuxppc-dev@lists.ozlabs.org, jjalvare@linux.vnet.ibm.com, seroyer@linux.vnet.ibm.com Subject: Re: powerpc/eeh: Add conditional check on notify_resume Message-Id: <3zmdwW53n5z9sX8@ozlabs.org> Date: Thu, 22 Feb 2018 00:43:06 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2018-02-15 at 18:49:51 UTC, "Bryant G. Ly" wrote: > From: "Juan J. Alvarez" > > EEH structure is not populated with function > notify resume when running on systems that do not support > it, i.e: BMC. Hence adding a conditional check for NULL for > systems that don't add function notify_resume. > > Signed-off-by: Juan J. Alvarez > Reviewed-by: Bryant G. Ly > Tested-by: Carol L. Soto > Reviewed-by: Andrew Donnellan > Tested-by: Mauro S. M. Rodrigues > Acked-by: Michael Neuling Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/521ca5a9859a870e354d1a6b84a6ff cheers