Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18922710ybl; Fri, 3 Jan 2020 11:47:23 -0800 (PST) X-Google-Smtp-Source: APXvYqz2vTHQRAizv6yrhwg9Ic54s/RdQmtNn3bfcR/ifHbZhflrZCympqrmcK1gTv44+ZqE3Jmw X-Received: by 2002:a05:6830:124b:: with SMTP id s11mr98715303otp.333.1578080843773; Fri, 03 Jan 2020 11:47:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578080843; cv=none; d=google.com; s=arc-20160816; b=nFLIQ/mRAXbd35mlS8dsNn/nkZ+vijrwEBudvPy0W+c0YjpHymJOMEXyuTnxAQWDL2 BMoNWDBMFEzliT7elnIK3HvWT4+lnnKolEumX4CTMhW4SYG6t6AJcMJH9WbtyHMq8CO1 AsfJZhighnK917ZkHJvGT4O1dSgs6V5g9kxpzu54/XTTy4Pcoye4qcD7d5r5BrAYWvgc N2goiCp7wwhnozgsUs/d1VRRNEQF0oII5/O4ewsUdvttjDRyLOIN3kGeXcvD0rlnPQYM r7BjYTkOVbAcvhedUqnmH7qfMOKSBAZUI7eL4CPDrbSAmdXQqopT6I2u9caN2xOKnjAL 9TfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dAFkh/Sh9y50wvnjcLh0wp1sZNjV4pSnPtS2jCuWkWU=; b=wHDVU3PjkAcTU4nkO5pgH0Xcd0MqO4ecaAWHCgIUqlonp28zGo2hNIMah1mgdke2+j cpR48Yk63jL29M7eMZ810f0TLtpVvFviBwtFsns5ogrNjJ9W5CuBmKPm6tXliuMnm/0D WbJh8Es7UVREOyRidFUGAxc37CrGP17foSH9e/49/KWRPMlsjskEgYt9Fepc3Cf55nPX 14Dz04IPPSlGLq5ImCfjvhSuC0PQkcM8mjy5XLnlzQ8Vytov7HYy4vV8Bb0kX7gPiIAY KPfEiQi3/V9n9Yvl5zWZqAYyimXLoLZ50zglU46UV9G2yKl/giCRyXr8Ug8YvdKzVcDq Xa7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si34485814otl.54.2020.01.03.11.47.11; Fri, 03 Jan 2020 11:47:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728606AbgACTqc (ORCPT + 99 others); Fri, 3 Jan 2020 14:46:32 -0500 Received: from mga02.intel.com ([134.134.136.20]:5446 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728564AbgACTqc (ORCPT ); Fri, 3 Jan 2020 14:46:32 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2020 11:46:31 -0800 X-IronPort-AV: E=Sophos;i="5.69,391,1571727600"; d="scan'208";a="421526212" Received: from agluck-desk2.sc.intel.com (HELO agluck-desk2.amr.corp.intel.com) ([10.3.52.68]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2020 11:46:31 -0800 Date: Fri, 3 Jan 2020 11:46:29 -0800 From: "Luck, Tony" To: Jan =?iso-8859-1?Q?H=2E_Sch=F6nherr?= Cc: Borislav Petkov , Yazen Ghannam , linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Subject: Re: [PATCH v2 6/6] x86/mce: Dynamically register default MCE handler Message-ID: <20200103194629.GA9334@agluck-desk2.amr.corp.intel.com> References: <20200103150722.20313-1-jschoenh@amazon.de> <20200103150722.20313-7-jschoenh@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200103150722.20313-7-jschoenh@amazon.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 03, 2020 at 04:07:22PM +0100, Jan H. Schönherr wrote: > +retry: > + if (has_notifiers) > + blocking_notifier_chain_unregister(&x86_mce_decoder_chain, > + &mce_default_nb); > + else > + blocking_notifier_chain_cond_register(&x86_mce_decoder_chain, > + &mce_default_nb); I get a compile error here: CC arch/x86/kernel/cpu/mce/core.o arch/x86/kernel/cpu/mce/core.c: In function ‘update_default_notifier_registration’: arch/x86/kernel/cpu/mce/core.c:616:3: error: implicit declaration of function ‘blocking_notifier_chain_cond_register’; did you mean ‘blocking_notifier_chain_unregister’? [-Werror=implicit-function-declaration] blocking_notifier_chain_cond_register(&x86_mce_decoder_chain, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ blocking_notifier_chain_unregister -Tony