Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1280291lqt; Tue, 19 Mar 2024 20:34:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsPaUIcMRAnCItjZerzZJdzUhCcl1nl2cdOiaqChVsEsNSk8eiky1koOGxGUQWeExDk2E7Jw3WfcJNLqfVq4U0HjFr8EtKwiBTz92zgA== X-Google-Smtp-Source: AGHT+IFIm3CdbQ7FukKzhbOQ99hQb/mIAJzEH5f4WZUaSQrR4S3qppjWooYZT4TKhQxBRaS3We4R X-Received: by 2002:a9d:63c5:0:b0:6e6:7760:b15d with SMTP id e5-20020a9d63c5000000b006e67760b15dmr5042602otl.25.1710905676596; Tue, 19 Mar 2024 20:34:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710905676; cv=pass; d=google.com; s=arc-20160816; b=Rh4wCrMhh9iWZcCPzp3mLA3LDo1ySFLP8p1znTfxgSCP1s43jJgnkqiAvxR+2vKezm d0kCv5edlo8pAvv6kIl/PNyb21zVNUAkCb/82rbbeEb5M4MjF7btFHraZHyJjbvGhvEZ mgyNT7o1lT5abY5QF3e/KGbxS3NolesFxxWREE38GYJ3aR0NSi8cyKFhXFKsOwGIaASr ExKCZakJYH5ytyMihoU7JoFHDcnDbCQsTq0yxKcuL7fShpyl8L/THXWmJZRY0CFOsb31 nVrSCBES2AEnfn+A835xX2aFackgitIjAlzWQt+4WxVlZbFhm4osQBsMCZUFsjIk0BzL C8KQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Fmjl44mehHCSaJsJ049BqzU8nsY14MeWPP13ami+abI=; fh=nj9wtZfg614TzWGbtQRb49joqpQJpqoEK3g3LIaCWcU=; b=Z/4xoJRDkxOS48iVlVblICm07G737zW/T+OZRw8O9+ygxtCckaRT8a0GjtDgwhzrky MsfmOOZqhYWoowCDcRLBLmKPS3IKtMMwpo1hIV4YI3QpnsjEiRyfBpM90vg862z0OoWS gsgCNlK4+UqzN3x6ZV/S9QR4Xopg0wT+JVwqNv/vVRLqvkLcU75E8R/p/WOsYfn9zXHC p+PPwOOrHJLXRCp1GhweYuJUKEeNDmnOoSk2Rlgg80W4MoFIKn0zxGFErNvRoWKLdptB +8l9/KEtPlQ2v5mAtaqlFbC56C1ps3HWtDOUtXCIMkvTdUcq0HUYo3btFtcY/HE+RjLO 3lxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=D5ZzB6z5; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-108410-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108410-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id hu14-20020a056214234e00b00692d62023bcsi7937077qvb.591.2024.03.19.20.34.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 20:34:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108410-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=D5ZzB6z5; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-108410-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108410-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 506B51C213D5 for ; Wed, 20 Mar 2024 03:34:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFBB811725; Wed, 20 Mar 2024 03:34:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="D5ZzB6z5" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 520E611182; Wed, 20 Mar 2024 03:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710905668; cv=none; b=LN6HyfyPjUJ0TrVyocfGiPFFQu+oPUToUqLGLdxmS6KBSxxU1rTSc4VzDD+5as7XOCaUDaxcjY6j10RQcEgiAMdJs20u53r7oM/RNFuXPL+/8lJCl10oCDykPIn7rtP16+yQ6qrgn5lKDHm7AVcR4jVQU5HzwvCd8kzgiGxCxXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710905668; c=relaxed/simple; bh=kYMcDwEZnVkO/THqgvcJxPhR1j9VPcws4SHdZLgIYnM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ovy/bQY3eh1BiHjHB5Wdxi9AyHSW1kjHJylkJCL4MdltVMQ6Rv+dv1ynDNU/Mr+frMxoqfmgmRIcBwy5IooWUwPNp4MIZ9MjeNnmXU4YvLTHwnnqlQC+0d6eqVthLORc0Omsr5V+1NMjhaz/CuJIDwe2aum0m59/wbAp5rv6r5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=D5ZzB6z5; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Fmjl44mehHCSaJsJ049BqzU8nsY14MeWPP13ami+abI=; b=D5ZzB6z5MbJoI6zMuis4f/WsCg 88iH+1ueCQbgpQr1TiFTtRm81M1EIO4/+au/WGmzJpcmSqCFo9EfmHgugNfocoGInkiU0gpH9FpfK uPNaelLOrKVwvSXQDEvisa4gVDqHo5rE1vW4SNU8sy9BLELCk3CFf9OPLzrOeG6nsOu1fvoYl98BV c0iUFXzA9e7fo23DqdYvGWQI8exh8hbKV0n+OvhVIQGMTs9U5pzYwqnyIgr7xy9Fd1wfRSF+ddyJL 6lQNhq97mBnpvm4Dmu0IRPcwSz2ZDu7ofFfE+dsi3MCQgjTpEEBhV+VYDoaRJwg0gZUhvTpB70Op6 K9BDf3rg==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmmiK-00000003PYS-3S7o; Wed, 20 Mar 2024 03:34:04 +0000 Date: Wed, 20 Mar 2024 03:34:04 +0000 From: Matthew Wilcox To: Jiangfeng Xiao Cc: Kees Cook , linux@armlinux.org.uk, arnd@arndb.de, rmk+kernel@armlinux.org.uk, haibo.li@mediatek.com, angelogioacchino.delregno@collabora.com, amergnat@baylibre.com, akpm@linux-foundation.org, dave.hansen@linux.intel.com, douzhaolei@huawei.com, gustavoars@kernel.org, jpoimboe@kernel.org, kepler.chenxin@huawei.com, kirill.shutemov@linux.intel.com, linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, nixiaoming@huawei.com, peterz@infradead.org, wangbing6@huawei.com, wangfangpeng1@huawei.com, jannh@google.com, David.Laight@aculab.com Subject: Re: [PATCH] ARM: unwind: improve unwinders for noreturn case Message-ID: References: <1709516385-7778-1-git-send-email-xiaojiangfeng@huawei.com> <1710901169-22763-1-git-send-email-xiaojiangfeng@huawei.com> <202403191945.661DBCE8@keescook> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 20, 2024 at 11:30:13AM +0800, Jiangfeng Xiao wrote: > The checkpatch.pl script reports the "WARNING: printk() should > include KERN_ facility level" warning. > > That's why I changed printk to pr_warn. > I should change printk to printk(KERN_DEFAULT). No, you should ignore checkpatch. For bonus points, figure out why you should ignore it specifically in this case.