Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2826617pxb; Mon, 6 Sep 2021 06:18:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuK1G9I3/bV8sWmcaBAH8jdLY1rGKQwjV1e8sIYmPJ7EsuBRni+KBHIK4TxYociJ1bqxig X-Received: by 2002:aa7:c64d:: with SMTP id z13mr13492601edr.349.1630934316026; Mon, 06 Sep 2021 06:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630934316; cv=none; d=google.com; s=arc-20160816; b=CLbX0kF3u+UJ7grX6m6r1MVC9DoUB9LedfHnVFSJ11w8V6GhtzqKq9m34znhcZmW4u m4bxs+a3arSBzHtyoUYLOPsiziswPt6oFpvpDNAM49al3a17lRiNVm/7hzV9nxA6tfkY 1pigtnSs4GIF4IhZRyhRmRqIIKzvvZbtD7I6drJ65C/1cZLSeCjiaY6vbYUQMmaw1i7Z ffJvce/WABSGLmN69HYTfY8Fwhr6QJ7RW1gu830EG2ZyJquBdiuYA7GGhKAWnrecuYog FaB3oVz3Kv1AvC4/K8aFz9ArvwVoGMGbf8j5xMsXnGcCUHBn/YDeNP2L5dtCmWrtMqM6 atCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :date:message-id:in-reply-to:cc:to:from:sender:reply-to:subject :mime-version:dkim-signature:dkim-filter; bh=p/73OE9Ni/5HiZfdRCngY+tKtSiO3hGX4iuJV1031/U=; b=lQtRoYC0NhSibJmAOAWGuOy6s69ULuOnTUnlkfHjv0JXPHVM3Jf1o+mK4/oKO+NBTw EVgvSihYrn58S6PzLzYAx8ZgVJgCgTK3/FMUypNl+JoL4mlgLNQQpgAJswAT35zDUblz SK6bFf/6UlcXXcDWESyVVvv1SEQ9YLr/xOHOSOEDNHmGCBGws+kFHJHgRHTv9Kvth7pP 541B3+4E4qxu1GLCeMT/71pXnayD5XSOQDmhBd7YlsKUKHaLcKYJDs4hpJnjekLv/min n9SITrgz9ssEJgow1wM8SUen6uT7LvYUWBo40cPtoToZisjV3EDBxZXhxboxpMzSNjQY mx/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=gKNY338N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si8214432ejc.347.2021.09.06.06.18.10; Mon, 06 Sep 2021 06:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=gKNY338N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242063AbhIFMmS (ORCPT + 99 others); Mon, 6 Sep 2021 08:42:18 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:64920 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241923AbhIFMmR (ORCPT ); Mon, 6 Sep 2021 08:42:17 -0400 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20210906124111epoutp0126e7daf84e012b50d73a943c712d71f7~iPBP2QuM12796827968epoutp01d for ; Mon, 6 Sep 2021 12:41:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20210906124111epoutp0126e7daf84e012b50d73a943c712d71f7~iPBP2QuM12796827968epoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1630932071; bh=p/73OE9Ni/5HiZfdRCngY+tKtSiO3hGX4iuJV1031/U=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=gKNY338NpSTp1q5/5oRhSrnlKR3koZQUbgvbMJi8XO/UkPhrJHgQfqy9DHIpa7SIS z9eeHR9fpKQo4Ztmz3dMypc0wr9VbWYrW/4805qkexCaceZOmr1/x8PcA+fOt+VSUi d+nahrz/f0HXwx2LGmzTsG/wmXjPUsTSzkfY7Hto= Received: from epsmges5p2new.samsung.com (unknown [182.195.42.74]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20210906124110epcas5p45c1192d39368a1c4bbaf131bf64210f5~iPBPEkT9c1933919339epcas5p44; Mon, 6 Sep 2021 12:41:10 +0000 (GMT) X-AuditID: b6c32a4a-b2dff7000000287f-d6-61360c66a8f8 Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 8E.D4.10367.66C06316; Mon, 6 Sep 2021 21:41:10 +0900 (KST) Mime-Version: 1.0 Subject: RE: [PATCH 1/1] scripts/checkpatch.pl: remove warning for pritk_deferred also Reply-To: maninder1.s@samsung.com Sender: Maninder Singh From: Maninder Singh To: "apw@canonical.com" , "joe@perches.com" , "dwaipayanray1@gmail.com" , "lukas.bulwahn@gmail.com" CC: "linux-kernel@vger.kernel.org" , AMIT SAHRAWAT , Vaneet Narang X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <1629786900-4644-1-git-send-email-maninder1.s@samsung.com> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20210906124109epcms5p88026ef667efae06506f03e61868a7996@epcms5p8> Date: Mon, 06 Sep 2021 18:11:09 +0530 X-CMS-MailID: 20210906124109epcms5p88026ef667efae06506f03e61868a7996 Content-Transfer-Encoding: 7bit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ZOTL3/W/j3l1MUqk42dPr+e6WcYFgat4wybKac/ScbAcuvu3UbK8neUWIozEg21 mIuKEwGPFRT4kgMAAA== X-CMS-RootMailID: 20210824063513epcas5p46ba8b375c3e32fab210640a28041efb6 References: <1629786900-4644-1-git-send-email-maninder1.s@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Any comments? >WARNING: Possible unnecessary KERN_ALERT >+printk_deferred(KERN_ALERT "checking deferred\n"); > >total: 0 errors, 1 warnings, 20 lines checked > >Thus removing warning for printk_deferred also. > >Signed-off-by: Vaneet Narang >Signed-off-by: Maninder Singh >--- > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl >index 161ce7fe5d1e..e3bea0d36c10 100755 >--- a/scripts/checkpatch.pl >+++ b/scripts/checkpatch.pl >@@ -6252,7 +6252,7 @@ sub process { > } > > # check for logging functions with KERN_ >- if ($line !~ /printk(?:_ratelimited|_once)?\s*\(/ && >+ if ($line !~ /printk(?:_ratelimited|_once|_deferred)?\s*\(/ && > $line =~ /\b$logFunctions\s*\(.*\b(KERN_[A-Z]+)\b/) { > my $level = $1; > if (WARN("UNNECESSARY_KERN_LEVEL", >--