Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2218004pxb; Wed, 30 Mar 2022 19:40:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJvBwPMwL/jtmoGyMwawSfPtvFF+Z5udCtslYDK7/I4ft46bZ30STy9j7v4ICCVGIqDnbj X-Received: by 2002:a17:902:e5cc:b0:154:57cf:e393 with SMTP id u12-20020a170902e5cc00b0015457cfe393mr2775574plf.24.1648694434832; Wed, 30 Mar 2022 19:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648694434; cv=none; d=google.com; s=arc-20160816; b=yKvdWETMHyEfTuA8/9Am1d7zPJOyFrc04E1CxOQu2MI65qi0cqX6ieJc6b45wNsuTt orUExQaF34KtSAPSWErnCiJXrzN1GyLtbfiLZ/e/sKuFx4zYxYzCpdv2pUDG+fkTVf/e 12A5GwdF6ql/2q+08DC/gYmj9iB+nkYxQm0YvxK0Wh9D7C9RuWNAx7kRgKhp1uwyZJ8W g497UXHF5XlsyVke4RdqqoCK1oYekoJcCGfioCjF5e/FFx+cINTbow6l903CdSiBnRtp 7XNpBXFdx83s0HpLncTcfq6I5GBBm0J09LneZ+uKjNzpGl5co36ctDOdZLzsg8uj5rj2 Pgxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=TnC+6t70ASJsW6BfBNRk9Tew7XA4UG7UNazYiXq6HEs=; b=AwjyJiSTxPqUALZnZamKISYjMKTKQXUX9wkzQ6+EaK8zwAhqg+F47Ltg8qPMnNi9J8 /FDSi6ibUy4y3I1m+ElyGobB+ahU8Najoh2XNDGtLJc6I0HHP1J3ZKQBiOfl11pNJqyI SVe/bX1gfS142QYpe9zbrnekcAcmCPYWhUpJ4VWJHbMyDyDZcSDnY3uKwRVNfCR4G8XH 2UN+hCFOf1mBKQDxkQxNZBdSyuaxgi40rl329YpMu6dhJN3eJQRcV59kEE/ezALWQLDz l7d3gkG4L2L85Nsoaju3UKtwjniXk/w1Qz0pcxnoJ4hfb1tmxyL5FpLgoNkKkaaqI/jf Ufng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JD+is4KL; dkim=neutral (no key) header.i=@suse.de header.b=KDzX7K26; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 10-20020a63134a000000b003816043ef9dsi5139407pgt.402.2022.03.30.19.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:40:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=JD+is4KL; dkim=neutral (no key) header.i=@suse.de header.b=KDzX7K26; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 52F0B17050; Wed, 30 Mar 2022 19:33:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345196AbiC3MgR (ORCPT + 99 others); Wed, 30 Mar 2022 08:36:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345338AbiC3MgD (ORCPT ); Wed, 30 Mar 2022 08:36:03 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B5D68BF52 for ; Wed, 30 Mar 2022 05:21:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AAAA91F38C; Wed, 30 Mar 2022 12:21:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1648642899; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TnC+6t70ASJsW6BfBNRk9Tew7XA4UG7UNazYiXq6HEs=; b=JD+is4KLCevy3JP9VbbzRPe3WsbPmyFSDJic8sTW8B+S+nq0AonR8tdxP/ihP2YmZP4ZTE +i34WBATlBI+uB/M6f+NB04aUGsnkyIE8mWMxV4lxt+95sMseIADPQEf8yvQ0jiXC9+1y1 yziF96FjkOyUWhacvYZoL07R/4/dczY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1648642899; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TnC+6t70ASJsW6BfBNRk9Tew7XA4UG7UNazYiXq6HEs=; b=KDzX7K26VgdC0M/88e0OlkPhX2eqqwxoiFz/yFIv2KSzjrbG5FX9TCofuOQvym4hne8VIz fM0JQtOhR/ErH8DA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 9F04B13A60; Wed, 30 Mar 2022 12:21:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id HYnDJlNLRGKCNAAAMHmgww (envelope-from ); Wed, 30 Mar 2022 12:21:39 +0000 Date: Wed, 30 Mar 2022 14:21:38 +0200 From: Borislav Petkov To: kernel test robot Cc: Shirish S , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: arch/x86/kernel/cpu/mce/amd.c:552:6: warning: no previous prototype for 'disable_err_thresholding' Message-ID: References: <202203301632.RmI9R5aU-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202203301632.RmI9R5aU-lkp@intel.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 30, 2022 at 04:45:25PM +0800, kernel test robot wrote: > Hi Shirish, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 965181d7ef7e1a863477536dc328c23a7ebc8a1d > commit: 30aa3d26edb0f3d7992757287eec0ca588a5c259 x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk > date: 3 years, 2 months ago > config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20220330/202203301632.RmI9R5aU-lkp@intel.com/config) > compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 > reproduce (this is a W=1 build): > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=30aa3d26edb0f3d7992757287eec0ca588a5c259 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 30aa3d26edb0f3d7992757287eec0ca588a5c259 > # save the config file to linux build tree > mkdir build_dir > make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kernel/cpu/mce/ drivers/gpu/drm/i915/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> arch/x86/kernel/cpu/mce/amd.c:552:6: warning: no previous prototype for 'disable_err_thresholding' [-Wmissing-prototypes] > 552 | void disable_err_thresholding(struct cpuinfo_x86 *c) > | ^~~~~~~~~~~~~~~~~~~~~~~~ I can't trigger this with gcc-9 (Debian 9.3.0-22) 9.3.0 on that commit with your .config. Please drop this. -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg