Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3039231pxb; Thu, 3 Feb 2022 22:56:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxph04XLyYN2B8aFTpOmcqDaBCTyRsy0xzpsZvi0pZtjc1a54/rz/GxRWnLusE3mys1l5af X-Received: by 2002:a17:902:904c:: with SMTP id w12mr1854952plz.137.1643957771685; Thu, 03 Feb 2022 22:56:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643957771; cv=none; d=google.com; s=arc-20160816; b=DM16ZT1plOVHy5IN6Jol7FpwPbatg4ykI1OmGZc4hYmGJQ/lbq/tfIpiuCiF+Sf+Gp EmLqp6jE+R3HEV9v62+ejZ1lgw3dhvEFwAMScfH52eGUHTxrEnZ3VBXXHA4V2cNguMcN Yi16FbvbHeNTQkq/7VBHF4Nnp0vrIZ5p8IGyydRT+eKEpt8B+l4qi6Yh9WZZKCd8Bcau wcVt7BuVRqfINDO2Zpje8x3dUAyD618Dz31YSf4g0J/6ZuBBIUPJTl64q8k3WLUJmqv9 yGvfEngwxFr+yooIrQUsZAZdZ33EKSwaCishm4EpoihyrD8BPB9JvRAe/3nE/cFyB8wD 5kgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=8mJ708evbEnGw5dFV68612ccD19hX0/ugUHhIKa1Wwk=; b=oIOkQvm7grq/7NLqIRjqIsFWXzrQsYztQ3UfqN8DK+SKMdF9jxxRMtl4K9dyf4JmsE DB4PPWiNSge/y0iSLuBi8W6UtMv5B9a+DaundHS1jRISPlCDsIhUX6k37UdoqKqfEWYz ji8+L00npBL6ZtOH2p15VgB6QNYnYHKzev6H0pbI+Nrs09gBXFXf31GDMfono4Xx7Er4 FxAPDsTLfTVjNXJglA+2FIwZltWCIOrClHUQmOmBmVBRkcVQxViliQvWRB2e3CwT0Ww+ 0ZscsrYKfNffkSqkAcEwhzWEO1lieNNPY+3wk1QmtnMte95egTfyRbgjcKYr7qzAynsj wMlQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1si1004796pgj.812.2022.02.03.22.55.57; Thu, 03 Feb 2022 22:56:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245376AbiBBJQt (ORCPT + 99 others); Wed, 2 Feb 2022 04:16:49 -0500 Received: from relay040.a.hostedemail.com ([64.99.140.40]:29287 "EHLO relay5.hostedemail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231167AbiBBJQs (ORCPT ); Wed, 2 Feb 2022 04:16:48 -0500 Received: from omf04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id B115C120379; Wed, 2 Feb 2022 09:16:47 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA id 79F6320034; Wed, 2 Feb 2022 09:16:46 +0000 (UTC) Message-ID: <4ee87d70d5348949787b2d747f90ecffa3119d0b.camel@perches.com> Subject: Re: [PATCH RESEND v2] scripts/checkpatch.pl: remove _deferred and _deferred_once false warning From: Joe Perches To: Maninder Singh , apw@canonical.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com Cc: linux-kernel@vger.kernel.org, Vaneet Narang Date: Wed, 02 Feb 2022 01:16:45 -0800 In-Reply-To: <20220202071405.1872044-1-maninder1.s@samsung.com> References: <20220202071405.1872044-1-maninder1.s@samsung.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.4-1ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Stat-Signature: tjwit93oqq3ib8pui69qna6ogwgq4zey X-Rspamd-Server: rspamout03 X-Rspamd-Queue-Id: 79F6320034 X-Spam-Status: No, score=1.60 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1840uolMjefb0BuJlPMyz6gMMLS92lRSh8= X-HE-Tag: 1643793406-276028 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2022-02-02 at 12:44 +0530, Maninder Singh wrote: > printk_deferred and printk_deferred_once requires LOGLEVEL in argument, > but checkpatch.pl reports it as warning: When did that occur? Please reference the specific commit. When printk_sched (now printk_deferred) was created it did not allow KERN_. see commit 3ccf3e830615 ("printk/sched: Introduce special printk_sched() for those awkward moments") There are many existing printk_deferred uses without KERN_. > WARNING: Possible unnecessary KERN_ALERT > printk_deferred(KERN_ALERT "checking deferred\n");