From patchwork Thu May 13 11:14:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Elver X-Patchwork-Id: 12255615 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-22.0 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_SANE_1,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1B84C433ED for ; Thu, 13 May 2021 11:14:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2F664613CB for ; Thu, 13 May 2021 11:14:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F664613CB Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A84156B0036; Thu, 13 May 2021 07:14:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A5ADD6B006E; Thu, 13 May 2021 07:14:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D5476B0070; Thu, 13 May 2021 07:14:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0009.hostedemail.com [216.40.44.9]) by kanga.kvack.org (Postfix) with ESMTP id 5EDA96B0036 for ; Thu, 13 May 2021 07:14:16 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E3D678249980 for ; Thu, 13 May 2021 11:14:15 +0000 (UTC) X-FDA: 78135948870.25.6E96E72 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by imf19.hostedemail.com (Postfix) with ESMTP id 0D49E900114F for ; Thu, 13 May 2021 11:13:41 +0000 (UTC) Received: by mail-wm1-f48.google.com with SMTP id f75-20020a1c1f4e0000b0290171001e7329so189436wmf.1 for ; Thu, 13 May 2021 04:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=NBLLcVkKvatdlWCYFH9IPhSGBPBGIYLDNeKjc9M11Dw=; b=IzfJv2l5KSW2kT/7M1SVhhitWUv19aB/0rsbcHRcOtYv045XH7vQrvCBilaONXXxrU pbUOEyLQ6E+y5lysTgx1zZfe+loy+NYZ026OxZ72mlLX8423z3EfeMCTDqdWCP1S64dF qk2QCBzN7sRPmSO0hU9tnoTj8Et6ywtQNQlkx4EdlyAfGEQLgCZzaq0CsvNwebSdwJgK XBYIn/fAthqUTCcSyTiWV598DuJdtue/tT37J5E9/RI+FwkMao0dQyIV/rSnG1hDAUm3 6q7vEuGjoBdhS4qoTd2GDyesJPwnhrlI8UNEMYqs/uJCIvXrg9GY05SnWsK6FONNjkMg bbKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NBLLcVkKvatdlWCYFH9IPhSGBPBGIYLDNeKjc9M11Dw=; b=tu/6+m/XmNzdx8lyT0M2OlkC/CpMMChAohIRKyw7vxyjTxdqO+PfkFg1UkqWdSyhiC v2+rGYqu23YKOZrWqvbi+j3se9Qjyk+/+NKhFodGny6NPyDHO26tyhwju7RuAcC6BShv vddFd59Pv3wwPSysGus4BwYeTHlEdbcUpWMHAlg52zKyB3qS+oY357U+u/UIBre+Z7Sc FE7TlN+9Xi+ELnCq25E1yFqesEUwFVp7bbX6jFVhIXo+lQB+5weZkUuEi09DihnjuocJ 8kM/p+Dfie5M+OUaGl2rmQ77d9DmRhTmzt9JjBzx6BJOnbd0M8jRT/n7gdLDNzfcrxcx MDZw== X-Gm-Message-State: AOAM532X2t4gXUWfRtcFUAkZ0/OOvrd8zKdlbBNr2Rfm8dDMq/Y8j38E ycJ4uJj+VjPcYd1l2UFuU9zgUA== X-Google-Smtp-Source: ABdhPJw+Wz0JWK6yi++BengdQDNdNEhAsvsUbkVxhFFp7HhmOqJjaLj/+pSX8rvXsgGbnpg9j6cwlw== X-Received: by 2002:a7b:c849:: with SMTP id c9mr3306217wml.84.1620904454328; Thu, 13 May 2021 04:14:14 -0700 (PDT) Received: from elver.google.com ([2a00:79e0:15:13:c5e0:2ff3:baa4:b294]) by smtp.gmail.com with ESMTPSA id p10sm2207060wmq.14.2021.05.13.04.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 04:14:13 -0700 (PDT) Date: Thu, 13 May 2021 13:14:08 +0200 From: Marco Elver To: Andrew Morton Cc: Alexander Potapenko , kbuild-all@lists.01.org, Linux Memory Management List , kernel test robot , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Ogness , linux-kernel@vger.kernel.org Subject: [PATCH] fix for "printk: introduce dump_stack_lvl()" Message-ID: References: <202105131720.yP4kfiAi-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202105131720.yP4kfiAi-lkp@intel.com> User-Agent: Mutt/2.0.5 (2021-01-21) X-Rspamd-Queue-Id: 0D49E900114F Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=google.com header.s=20161025 header.b=IzfJv2l5; spf=pass (imf19.hostedemail.com: domain of elver@google.com designates 209.85.128.48 as permitted sender) smtp.mailfrom=elver@google.com; dmarc=pass (policy=reject) header.from=google.com X-Rspamd-Server: rspam04 X-Stat-Signature: uj4y7wheaqd73573tshax88iofwq5grc Received-SPF: none (google.com>: No applicable sender policy available) receiver=imf19; identity=mailfrom; envelope-from=""; helo=mail-wm1-f48.google.com; client-ip=209.85.128.48 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620904421-194473 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: Add missing dump_stack_lvl() stub if CONFIG_PRINTK=n. Reported-by: kernel test robot Signed-off-by: Marco Elver Reviewed-by: Alexander Potapenko --- include/linux/printk.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/printk.h b/include/linux/printk.h index abe274305d79..f589b8b60806 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -270,6 +270,10 @@ static inline void show_regs_print_info(const char *log_lvl) { } +static inline void dump_stack_lvl(const char *log_lvl) +{ +} + static inline void dump_stack(void) { }