Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14465571pxu; Tue, 5 Jan 2021 02:13:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxM9yciQhZlvYDPVwinXDC5ud2osBYor0SM3au/GU7KUwoie53HExHM9a8wGggUwVznA1fH X-Received: by 2002:aa7:c388:: with SMTP id k8mr74393835edq.36.1609841621538; Tue, 05 Jan 2021 02:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609841621; cv=none; d=google.com; s=arc-20160816; b=VlBVriS6ovpJn+rShdCq00WFZQILY0Nxdq4KDaYUIEnwazH/mcJRdj6pPPOSwuLvG1 p+SsZtNSQWpilrSCo/MXcv2xFoTH3Bc9GXvee0WjA+OrYfC9fIf9qQnbbCtJtp41x+tq tBZu/L9953RysCPOYLQZf3L/mbVb8Uuzx+hn/RMDHlnx03qG8mRy0MpiszvPjGHy4EZI Tdfw7dv3/YxZzCNHlYFREXDhJ3xNYkLnqjVVqQDeRRSMkeVu0n8tWGp06FeHK80qOOZE z+J0Ub29zYRYstYpN/3pqk8YrdABWrSExScbDm2Vip+Fdi0yEoCLYyuHereGkwWE3mix EYPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0PXj25HT6LwPJcgCVqu4EPJrVdtYQyB9LP0qMlHMns4=; b=YTdED1X3NZTd4YnNyZZXIAbRlall/UqJ9D0L0Ze6DtgPBWqcuCcMIBWB2gNYkzxqnh gfrTqQlcJDLfTUObefcarlFj/DelqVjD8FOBkdB99AQ+vSmCWQikOZVJzwGDG4worH9t tKMsFUmtBhOv5cuugy2YlEj+S8LfxQctIrfMpPGzfAZsWBt4o3CUyXqyQJ/3+RhsJQxO a+3QxtZulj8czB3MDWkcCJ2HoeuQ1BST8EcaT+wIUKNXqh4wghZgZitqjifdz3odAZES h5ZUtbCUD9dH3hNbfalNTVaJXbLGtmKzjcmEhyTNU5eQQd2RZ14ZjTDSipLjOR6pOhd6 dICA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pZEm4RCn; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr19si29546110ejc.744.2021.01.05.02.13.17; Tue, 05 Jan 2021 02:13:41 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=pZEm4RCn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728383AbhAEKK3 (ORCPT + 99 others); Tue, 5 Jan 2021 05:10:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:57188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727766AbhAEKK3 (ORCPT ); Tue, 5 Jan 2021 05:10:29 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E8CAB224F9; Tue, 5 Jan 2021 10:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609841388; bh=HmyOizCQtTbylZzje0b7B8wp+VcKNzMquuZ2Q2QzkEU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pZEm4RCnd5uN5RtXj5yH5hIvkIAUy0ba5GJvzZOgCkgLrW8sqXO8RlSOQk0G+huZj uDzOP6EIpw+9xTTIjFAVkdPw1b4vpTjxSGKZDfrgBgBLOL/IxecP9OdrdqaaWBx8WZ v0NTcICEXdeRsA6b9pRr4OL/ivOPXa54J40oKsM/qavlyiyXSYw6ij8s0pWxJT/62q IF8aCREZHehnPEEdhim7RuxsgF2J1nYg+M5rdGS/wm4Njp8OK1OQbxHLxK6S3vyCSH UZinDRAETskreWuUNHG3G43pzHPHJ0S2Dt5XcerrPsVs82oKgeMH8eQgY0Mmt0K3L6 AYpOx8HEUJdpw== Date: Tue, 5 Jan 2021 11:09:42 +0100 From: Wolfram Sang To: trix@redhat.com, Jean Delvare Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: remove h from printk format specifier Message-ID: <20210105100942.GC2000@ninjato> References: <20201215183327.2072052-1-trix@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y5rl02BVI9TCfPar" Content-Disposition: inline In-Reply-To: <20201215183327.2072052-1-trix@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Y5rl02BVI9TCfPar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 15, 2020 at 10:33:27AM -0800, trix@redhat.com wrote: > From: Tom Rix >=20 > See Documentation/core-api/printk-formats.rst. > h should no longer be used in the format specifier for printk. >=20 > Signed-off-by: Tom Rix Adding Jean to CC. Jean, I'd think %02x would be better, what do you think? > --- > drivers/i2c/i2c-smbus.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/i2c/i2c-smbus.c b/drivers/i2c/i2c-smbus.c > index d3d06e3b4f3b..5cd2cf84659e 100644 > --- a/drivers/i2c/i2c-smbus.c > +++ b/drivers/i2c/i2c-smbus.c > @@ -396,7 +396,7 @@ void i2c_register_spd(struct i2c_adapter *adap) > =20 > if (!IS_ERR(i2c_new_scanned_device(adap, &info, addr_list, NULL))) { > dev_info(&adap->dev, > - "Successfully instantiated SPD at 0x%hx\n", > + "Successfully instantiated SPD at 0x%x\n", > addr_list[0]); > dimm_count--; > } > --=20 > 2.27.0 >=20 --Y5rl02BVI9TCfPar Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl/0OuYACgkQFA3kzBSg Kbb9eBAAmrMQ4FK1H+OtDnfVnNPa3ye/mWq/+PuJOzmVewqmtsKC4xA7Hk7HvrHO BScpKEE02adiPmcPj6tN6v8C16ZgfFHhV+nPeIK/D2v5I15LfXFTjtRVXSMH/dcE m+9gd9EUJsEXBM7jQAgkB46tcSIOJ9SZLvR4M5huVhFwKZOFrLspMsrSux+3Sajy 6jjUKxCuRsP5td0I1w+uIVgq9saS5WsYqof1AohOAU6AtWxxyHKLvUEWvO23JHNp ZCzg4935TSoPyDP7j/WPo/0/rv5Zb7ZXp3AVu0374njCaF+ICqv1s55CJe1NLncX LLIc6euq+jl8hT1GXuIbpVZZv6TTZPHAqsuQLv01tn/YQME/M1n37iMyo+m/KQgS rU/qNtcToA4rCi1T5nN8grC1ulp7KLkQSg4DAt7b8LJXwFHdrPLTvqMjMXXJfAUw gVHzyXJO/beE4/cjvZzOSj/RkISfU0DAplPGfDnjdYAjb5XniR/bj4p2Puq2sFqC BpLyXbvkKFi5sYlau7zbqjpNXMbENufd2/o4ClVma9pyJtnC3Yt+n3Qj1ZiyTqFQ 7Aa9JvcAWuK7UXjXOcLhVDPYgtNmJL2IPXDPpbRPvEiluubrtBeD46EBTiDtD/3r wwJJowtARwnU7cURMpOGcIfhan5ojSPHjD49o6zDS/Amc7McLCs= =Mi4G -----END PGP SIGNATURE----- --Y5rl02BVI9TCfPar--