From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 477A2C43334 for ; Fri, 17 Jun 2022 17:34:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BD57C6B0071; Fri, 17 Jun 2022 13:34:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B5D686B0073; Fri, 17 Jun 2022 13:34:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9D8186B0074; Fri, 17 Jun 2022 13:34:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 8AC906B0071 for ; Fri, 17 Jun 2022 13:34:52 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 67D4060929 for ; Fri, 17 Jun 2022 17:34:52 +0000 (UTC) X-FDA: 79588428024.04.87D134E Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf09.hostedemail.com (Postfix) with ESMTP id A1C2A14009B for ; Fri, 17 Jun 2022 17:34:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655487291; x=1687023291; h=date:from:to:cc:subject:message-id:mime-version; bh=lA5mdH0BpFlRdgsECKtZzk+FKp3pXBuHL20fQbsJFYM=; b=Q7m+DQdAyIPTg13+N6jmNzYPuTRWSu40w4peuvjKIlL40LuxumSjekh/ nqZ4xVNGZK4n633Ren+xcswxwNAoiHWQnfIl/mVB/WGW05rKHVs7Rl4CZ kiTRcU4DDHCrCV7trxdi5Z9aglsCNRWWCtsfZKvCnpZzmelcv2H3yzYpI I8tkwiTA1rnkWNYpcs4iKTe5vkVEoeEzCqR9XSJDBwF8Y8Va29sSqnzXX 6rvrsda4okhm+dNBXLEHmpVO65Nl37IRZhTfUnsXG3TkquKQwP/UoRFNF Fw3BX7NrB8vF62UZnFhXisA4o9aybS2EiLtdQE7Op1wCbL0ojBSzm2ooh w==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="278282482" X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="278282482" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2022 08:55:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,306,1650956400"; d="scan'208";a="584057467" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 17 Jun 2022 08:55:46 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o2EK1-000PZB-Hi; Fri, 17 Jun 2022 15:55:45 +0000 Date: Fri, 17 Jun 2022 23:55:20 +0800 From: kernel test robot To: Kees Cook Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , Brian Norris , Grant Grundler Subject: [jsarha:topic/cros-sof-v4.14 8447/9354] kernel/panic.c:591:6: warning: no previous declaration for '__warn_printk' Message-ID: <202206172352.f6AzDAj9-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1655487292; a=rsa-sha256; cv=none; b=H0XLkBHCAnTpCj3GinefDKxut5MvEr4m0y9y0h/L870kCChBM3f8UF9Fz/KRtI1axQbVjH jWxge8OqsISBsOCmrBG2nINTHto86SCvLJ3kAHv9io20NH5+FczbdLOf7THfHytl/+54gG 7GXaBcgrsEGIBPIDgqFPwYN7jAnPLu0= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q7m+DQdA; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf09.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1655487291; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=XNlep9gE/Uq00b/Mo9ABS1QykEs3gp8necClhpMs4UA=; b=FsJ6OFfN/0GK4u4fCZDXlG0a74Ajq8wLP59d9cpr353SXW08rbS9EvWI4sE+HrQXg/jVbZ tP+yNFP80Mcg0o6Eoxnz+xa/Y6cWsPZQAUTLC6mjDBjDLptSm555Na3k/lnrWzb5ieGbTy 2N7NzbmCUIg98s1e3Fb4plXqRwJXyww= Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Q7m+DQdA; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf09.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Stat-Signature: o3i6egpzpmqazd9cp73tsbhzcrtyguf7 X-Rspamd-Queue-Id: A1C2A14009B X-Rspamd-Server: rspam08 X-HE-Tag: 1655487291-459736 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://github.com/jsarha/linux topic/cros-sof-v4.14 head: 6f750b16c322c9191168a3a97c427c90581d9144 commit: c4256ec7a28ebcf4371230422dceae6befc40836 [8447/9354] UPSTREAM: bug: fix "cut here" location for __WARN_TAINT architectures config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220617/202206172352.f6AzDAj9-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): # https://github.com/jsarha/linux/commit/c4256ec7a28ebcf4371230422dceae6befc40836 git remote add jsarha https://github.com/jsarha/linux git fetch --no-tags jsarha topic/cros-sof-v4.14 git checkout c4256ec7a28ebcf4371230422dceae6befc40836 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): kernel/panic.c:61:13: warning: no previous declaration for 'panic_smp_self_stop' [-Wmissing-declarations] void __weak panic_smp_self_stop(void) ^~~~~~~~~~~~~~~~~~~ kernel/panic.c:71:13: warning: no previous declaration for 'nmi_panic_self_stop' [-Wmissing-declarations] void __weak nmi_panic_self_stop(struct pt_regs *regs) ^~~~~~~~~~~~~~~~~~~ kernel/panic.c:82:13: warning: no previous declaration for 'crash_smp_send_stop' [-Wmissing-declarations] void __weak crash_smp_send_stop(void) ^~~~~~~~~~~~~~~~~~~ kernel/panic.c:516:6: warning: no previous declaration for '__warn' [-Wmissing-declarations] void __warn(const char *file, int line, void *caller, unsigned taint, ^~~~~~ kernel/panic.c: In function '__warn': kernel/panic.c:533:3: warning: function '__warn' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vprintk(args->fmt, args->args); ^~~~~~~ kernel/panic.c: At top level: >> kernel/panic.c:591:6: warning: no previous declaration for '__warn_printk' [-Wmissing-declarations] void __warn_printk(const char *fmt, ...) ^~~~~~~~~~~~~ kernel/panic.c: In function '__warn_printk': kernel/panic.c:598:2: warning: function '__warn_printk' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vprintk(fmt, args); ^~~~~~~ vim +/__warn_printk +591 kernel/panic.c 583 584 void warn_slowpath_null(const char *file, int line) 585 { 586 pr_warn(CUT_HERE); 587 __warn(file, line, __builtin_return_address(0), TAINT_WARN, NULL, NULL); 588 } 589 EXPORT_SYMBOL(warn_slowpath_null); 590 #else > 591 void __warn_printk(const char *fmt, ...) 592 { 593 va_list args; 594 595 pr_warn(CUT_HERE); 596 597 va_start(args, fmt); 598 vprintk(fmt, args); 599 va_end(args); 600 } 601 EXPORT_SYMBOL(__warn_printk); 602 #endif 603 -- 0-DAY CI Kernel Test Service https://01.org/lkp