Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0A1103D6B for ; Wed, 16 Mar 2022 23:25:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D105C340EC; Wed, 16 Mar 2022 23:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647473132; bh=9S9n5W4BUCXrhfkoeret8wNFTGcAtJSuqNJJXyYDFh0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UCscvEHF5ZTfH4kctmXafnLXkuK9nLupUKMANZpudUof4kxqmHl84MCSZbo2LZWF/ VruUdT2QYyD4aXLc5XQvTRiKWPX0Agj8VD8K1tbo55aNGnPg3GUndZbJY/MMsyKl2v tscLuPlVjaT3+jCbMzsHQQbuxnXa95dofucHlKha6KXwbW6UEol2MORjMso7ABGxl4 pygS1UVyWyDj6fblBAqMjVOoBKuPbCLC31jWDEIVLK6ujEMyb30i/ycS6voqw6k8Gy r4oa1pzUUFWQGIdmu1cd6MKi5baS9WzowO2N5rB4WSgIBhGKszWfNaqbwPtAWJXD3a s65OkRtucMXwQ== Date: Wed, 16 Mar 2022 16:25:25 -0700 From: Nathan Chancellor To: Trilok Soni Cc: Bill Wendling , Andy Gross , Bjorn Andersson , Nick Desaulniers , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] soc: qcom: smem: use correct format characters Message-ID: References: <20220316213118.2352683-1-morbo@google.com> <15ebcddf-a84d-7293-f672-0e8ec47537e8@quicinc.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15ebcddf-a84d-7293-f672-0e8ec47537e8@quicinc.com> On Wed, Mar 16, 2022 at 04:17:06PM -0700, Trilok Soni wrote: > On 3/16/2022 2:31 PM, Bill Wendling wrote: > > When compiling with -Wformat, clang emits the following warnings: > > > > I thought we have -Wno-format by default enabled for arm64, isn't it? Yes, -Wformat is turned off for clang in the default kernel build on all architectures (see scripts/Makefile.extrawarn). However, it can easily be enabled with W=1 and we should eventually get this turned on for clang like gcc so that developers who only use clang can catch instances of it. Cheers, Nathan