Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753629AbbFMOLX (ORCPT ); Sat, 13 Jun 2015 10:11:23 -0400 Received: from mail.skyhub.de ([78.46.96.112]:34078 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751958AbbFMOLO (ORCPT ); Sat, 13 Jun 2015 10:11:14 -0400 Date: Sat, 13 Jun 2015 16:11:11 +0200 From: Borislav Petkov To: Aravind Gopalakrishnan Cc: linux-edac , LKML Subject: Re: [PATCH 3/3] EDAC, mce_amd_inj: Set MISCV on injection Message-ID: <20150613141111.GB3470@pd.tnic> References: <1433950426-10084-1-git-send-email-bp@alien8.de> <1433950426-10084-3-git-send-email-bp@alien8.de> <55786632.9020701@amd.com> <20150610165115.GI24639@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150610165115.GI24639@pd.tnic> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2099 Lines: 64 On Wed, Jun 10, 2015 at 06:51:15PM +0200, Borislav Petkov wrote: > On Wed, Jun 10, 2015 at 11:30:42AM -0500, Aravind Gopalakrishnan wrote: > > Thanks for the catch here and on Patch 2:) > > > > Looks good to me. So you can slap a on them if needed.. > > Sure, done. :) Whoops, one more: --- From: Borislav Petkov Date: Sat, 13 Jun 2015 16:01:21 +0200 Subject: [PATCH] EDAC, mce_amd_inj: Make it depend on AMD_NB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... now that it uses its facilities. It, too, takes care of randconfig splats like this one: drivers/edac/mce_amd_inj.c: In function ‘toggle_nb_mca_mst_cpu’: drivers/edac/mce_amd_inj.c:218:42: warning: dereferencing ‘void *’ pointer [enabled by default] struct pci_dev *F3 = node_to_amd_nb(nid)->misc; ^ drivers/edac/mce_amd_inj.c:218:42: error: request for member ‘misc’ in something not a structure or union make[2]: *** [drivers/edac/mce_amd_inj.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [drivers/edac] Error 2 Signed-off-by: Borislav Petkov Cc: Aravind Gopalakrishnan --- drivers/edac/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 8677ead2a8e1..84604310c826 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig @@ -63,7 +63,7 @@ config EDAC_DECODE_MCE config EDAC_MCE_INJ tristate "Simple MCE injection interface" - depends on EDAC_DECODE_MCE && DEBUG_FS + depends on EDAC_DECODE_MCE && DEBUG_FS && AMD_NB default n help This is a simple debugfs interface to inject MCEs and test different -- 2.3.5 -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/