Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1257112lqz; Sun, 31 Mar 2024 23:24:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXuNTLwJkVp3ptYXm3M6o3Zj0w5NnpKh/fMP89gW/JGJt/X0Jz6nwV0z6Bbt8kPqUESzxsGbMHaex/FaRyIHI7+4bptVRooFTmwa5gRmg== X-Google-Smtp-Source: AGHT+IEGfYvlsaCJ3p6woF86GDedm7xsKgKP1VFDSPcEiDnWawbtV6HgdBUK1BCUZR08CFJaQRMf X-Received: by 2002:a0c:c484:0:b0:696:b196:c182 with SMTP id u4-20020a0cc484000000b00696b196c182mr6841462qvi.65.1711952682818; Sun, 31 Mar 2024 23:24:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711952682; cv=pass; d=google.com; s=arc-20160816; b=SsMVFBVxLAYH5qVpXIUH/1P2Pc/iToi4hVEpQ2RpZ7k//nZT/A/UDhIr9m9Skbmh2J 1BX3HQcEQQhyoFIwBIcDQWsMBNSH9iobuzyFxnUmWgrjMr12OKYJi4ABczWhqdNUCNh2 JZHzEMUk5p0cPrSawgxPoALcBY4UceJEDyhPWL/limTNBkLxuUfuLxjLwh4oh8E8COwG IA5Z6G6qdAhpXpDGPSerHdEKDEXgFTwGNnnLoTP6qoCyktm85BV7AkLPq2yEscKGFv0Q YdwtprXUZj7R3+lEHxtMkxNtG3vNwmhw70A72+801UmYnx3Y2JgBjfihfCNSDIX/x02w lmiQ== 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; bh=kjGvEEsbvwJllG5nBrDHH/aeeT8JrjG265XWSNnJHv4=; fh=k7x+abTM7lG7jos5HgQ+k4SxLHK+HqJd05zL2CeMuE8=; b=VHlcgxCpvQLdTgyzRXzDnzxONHyse8UUlTYSPUBp4amp23YmAW2EY8ebsJzU+3s3F3 YFbq3uxT0584tvEOLcQRuW+XhfpCYg3XdGzvdWd7yqa+hofzTTzlDufxt32uDrqS0W9d av8HmJU5c7xKLMqzIOTR0ECrLTLQucV0vrqLhDW53cmvW57MaHZ5+o+iKhn6juR3GX2T UZv2SzAAi6wP3uODjO8Oec/HHnyyl22uXd2skzxiBhUswqVF3EqrYBWFnsc8NkSkh796 xg4WJAKGGKi0SIRnASAWEXqi8BORCv9ai4CDYYRVfMuuTQx6guy7ejZ6beo2UBvfan56 rz+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-126462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126462-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r9-20020a0cf809000000b006967e603f85si9153133qvn.469.2024.03.31.23.24.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Mar 2024 23:24:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-126462-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126462-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 7936E1C20971 for ; Mon, 1 Apr 2024 06:24:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E93868F7A; Mon, 1 Apr 2024 06:24:35 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 200EF8F4E for ; Mon, 1 Apr 2024 06:24:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711952675; cv=none; b=DLUpOYzGB1z+AN40AlMCm9ljJZqHq5JW6amFC/lIFTwDIywxZ1qnj5QJUUNZmw7vj85wPqhK1xVBs1860m3iUArT393M6BSM+bIaTlJTu0l0XC+cZNfdDLt4CZFK13mrdW/0LhG12fGnDvu7MddCfYAxYMSkJtFvTZtVMaIjWmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711952675; c=relaxed/simple; bh=tNXqN5M71+tjw6FpcPPDIY/Rszo4GvwiHe9uN7gj2b8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ljkk7/vpozuZK0Ub7UKPSvFh7wX5bkWJQEec7bc9tM2OWqVw/KpP8UigD1EUrEBPFVpP0lQTuQbjEZXQs0OjFQS0bzuH8Vic39OWxKIfKcfjQS1lMp4fuEQXQdibEd5zDhU1aSLktY3sTJ+qusDvCOHjS07rGvBAeevUsMU8Tk0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rrB5a-0000GP-Mi; Mon, 01 Apr 2024 08:24:14 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rrB5Z-009k0b-D4; Mon, 01 Apr 2024 08:24:13 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rrB5Z-00Dx64-0z; Mon, 01 Apr 2024 08:24:13 +0200 Date: Mon, 1 Apr 2024 08:24:13 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Arnd Bergmann Cc: llvm@lists.linux.dev, Hans de Goede , Ilpo =?utf-8?B?SsOkcnZpbmVu?= , Maximilian Luz , Nathan Chancellor , Arnd Bergmann , Nick Desaulniers , Bill Wendling , Justin Stitt , Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/9] surface3_power: avoid format string truncation warning Message-ID: References: <20240326223825.4084412-1-arnd@kernel.org> <20240326223825.4084412-6-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v26yt34kxi4ilpyq" Content-Disposition: inline In-Reply-To: <20240326223825.4084412-6-arnd@kernel.org> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --v26yt34kxi4ilpyq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, just a nitpick: On Tue, Mar 26, 2024 at 11:38:04PM +0100, Arnd Bergmann wrote: > Change the format string two print two less bytes so it always fits. The = string s/two/to/ > is still truncated, so there is no change in behavior, but the compiler no > longer warns about it. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --v26yt34kxi4ilpyq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYKUwwACgkQj4D7WH0S /k69qwgAo8++BQ8OE5ajtNU6wrlQxb07HGXRy3w/Nb7iL0ELQ6yDY51J7dRFylDo /hmKPWn6X+ybKlK1W1VXlA1Qm+UbMHaj3KhHMUR9rFAC2r1SLzxJ1DpP0zdXe1Qw h/rErFvH2tgtF/C9ZeNNWputJhMsSlTkJJUJYACkEb8hdEDDbv/wB0y/wBsl3uBi KFdxlCFmr54MtZbQ+khq31iVIrmbAqHKL8VAVPiiuB16I0OJwsOzL5C0mr/w1t6F C2Ijqcy2kHwcdzzNQYRwAJR48nwZNc6Vp3G2jD2FlhuptBMngX1RrFpUeYkAgjbt 04h9y2wTPfVkwMUViYBW/huM0Fgi+g== =VQ95 -----END PGP SIGNATURE----- --v26yt34kxi4ilpyq--