Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp712458pxb; Wed, 16 Feb 2022 02:44:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJziimHhzJo8RCCA03EBceBYEl0FX7s5x5SgRVZcOhDrIkImKn29sp+QtCNV8wjNBxhJPZRg X-Received: by 2002:a05:6402:5244:b0:410:f41c:ebe7 with SMTP id t4-20020a056402524400b00410f41cebe7mr2240175edd.77.1645008256632; Wed, 16 Feb 2022 02:44:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645008256; cv=none; d=google.com; s=arc-20160816; b=J2bbUwh+YmJGa3Bj5ClS8uQkb3hXfUd12LyHe5cd2N+sxbOCzznj+V/rT53pfZM6ld eTGsTtLwwqdsvFrRgG9uRd0L+fft3IFOF3IYuyVVKKvrJUEc6L2wnaVKNcAEjKojJgTY J6ILFLcWH2NahQ+Upk+4ZYi/o6IqLGfqN6nB4vY8eFLqyOeXIZbncVRn+PVLn3CkIrPk s344rgbM3+NlZTN00p6hvpQppfpLU5ZRDXFU4lKhA235nbhWMNPDm+4ndnjXcdUsZYtc BpOiJLWC8FWju/JAREayPtzC3diYXDL234V/wi2ZFFlfy/bAzbfu3+bM+VKIbMuSRgcM zTkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uKJipsq5oe0ZDTEuY+K/upzTvFd2Dsp+kTmSfYWHazI=; b=hYYYZ0BdBBpL+Z4sUQyJO+VAQfMjWeDi2a/iQnlClIwUJuvsAEokbLrT+6J5wtLUNP gHEYa8rbO6R8DMR3/ro5dLMRCczCLNxYDCZWqT2znBBGHkisTmGvLFS+8HR0yBH38Xe4 uzfel9pstLPEMjkJ/2SqqEiekGBF7FYFdI3sk/FUZYmqJriWr2Y2cwv7Smul8PFOZ0oo iCQyf4zweHoZUsGaqbxJPpfvJ3oapg8c6qN2lh52OQnlgt1yp+JyAWXvC+pCND/FiFE+ udIEmC+CMthvTab115kKlLflKLvoeiu+oS8yZmD5Skjh99RGDOt6QKl0jl8WFNEwwwlO WjMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=oB2Ovesg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be26si1607527edb.350.2022.02.16.02.43.53; Wed, 16 Feb 2022 02:44:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=oB2Ovesg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbiBPKgW (ORCPT + 99 others); Wed, 16 Feb 2022 05:36:22 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229943AbiBPKgS (ORCPT ); Wed, 16 Feb 2022 05:36:18 -0500 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DFEA2B9A3A; Wed, 16 Feb 2022 02:36:05 -0800 (PST) Received: by mail-io1-xd32.google.com with SMTP id s1so1597257iob.9; Wed, 16 Feb 2022 02:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uKJipsq5oe0ZDTEuY+K/upzTvFd2Dsp+kTmSfYWHazI=; b=oB2OvesgzInGIl9/ipqAc83wTh84bdMDXTbti2s/RMWD7Yiaav3MxOilkBjJyROqOq m1OXPDMSixt3+1Jo6RQAUc/mH65M416o76Q4aXyVCFbv7To0jcn13xt3mJhlfJFZJRwI lDyFz7n43fLsrfaTC34ZTkFyYvTzXMrn12U/+L/cLU/9dB3dnjA5r07osvpbBlzMhnxK rY4OgFkI0SV2BvPvLg/o2jXh0k9Y5Tly6svLF5rqLvPTNab6Ob1uM3fDLgo7/+500nIS kZskH1LCBfqsXH8TFSGzlx0+mKy5rnE3fjExDVJOJgT7om7RMOjBGeUNrdtvVWNpBbAj kVEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uKJipsq5oe0ZDTEuY+K/upzTvFd2Dsp+kTmSfYWHazI=; b=oQUoKoOZpl1LVGKcT6zWEbdAazCL7nnOvpdNSheK4cNSaTRJkUzrsJKqadeACZHAia kwLWqGqCIOxefjfRI7EEF1Q4q+ubnV5Fx/0uoVDxfAiKgBOaarrEq9i6mTtRoxHzjAdi DE0LA9k7MDZCS75ZhVewBOjyh9EgDRuH0UrzGkwzYT95LnpvTq+2vjR1IXutFDj08g2p 5HZQMlOT9XtPuzcxdmfZS5QGtcxe0sM4QqS9DCGaqbV3mHsNnQOBSpJFb/bSvchb7ZFf b/uGha0Aaws+kxnpe+/WbEu0eD4Tgoo4TqWynZXt5lcRtBT3hWZr3ZSxZOyUtDBwIkph 3EXw== X-Gm-Message-State: AOAM530qu1kvWlDZz4EGC9Ad2tagO323HXY+DA4LRKb6FFuZjOz7Jcxw VaS7KAw4Ss1MCk+PZAxrMO04uMg5XvKO+99QlT8= X-Received: by 2002:a05:6638:1117:b0:30d:1e9f:26ca with SMTP id n23-20020a056638111700b0030d1e9f26camr1300117jal.256.1645007764490; Wed, 16 Feb 2022 02:36:04 -0800 (PST) MIME-Version: 1.0 References: <20220216031957.9761-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20220216031957.9761-1-jiapeng.chong@linux.alibaba.com> From: Miguel Ojeda Date: Wed, 16 Feb 2022 11:35:53 +0100 Message-ID: Subject: Re: [PATCH] printk: make suppress_panic_printk static To: Jiapeng Chong Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , John Ogness , Kees Cook , anton@enomsg.org, ccross@android.com, Tony Luck , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , linux-kernel , rust-for-linux , Abaci Robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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, Feb 16, 2022 at 4:20 AM Jiapeng Chong wrote: > > This symbol is not used outside of printk.c, so marks it static. > > Fix the following sparse warning: > > kernel/printk/printk.c:100:19: warning: symbol 'suppress_panic_printk' > was not declared. Should it be static? > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong It could be good to mention this is based on -next. Reviewed-by: Miguel Ojeda Cheers, Miguel