From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56B65C2B9F2 for ; Sat, 22 May 2021 18:19:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2142761177 for ; Sat, 22 May 2021 18:19:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231207AbhEVSUg (ORCPT ); Sat, 22 May 2021 14:20:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:52948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231156AbhEVSUf (ORCPT ); Sat, 22 May 2021 14:20:35 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D01961163; Sat, 22 May 2021 18:19:09 +0000 (UTC) Date: Sat, 22 May 2021 19:20:31 +0100 From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Nathan Chancellor Subject: Re: [RESEND PATCH 0/4] iio: Drop use of %hhx and %hx format strings Message-ID: <20210522192031.26ecba8a@jic23-huawei> In-Reply-To: <20210517125554.1463156-1-jic23@kernel.org> References: <20210517125554.1463156-1-jic23@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 17 May 2021 13:55:50 +0100 Jonathan Cameron wrote: > From: Jonathan Cameron > > Resent because for some reason this didn't reach the mailing list > (I'm not sure it reached anywhere at all!) > > A wrong use of one of these in > https://lore.kernel.org/linux-iio/20210514135927.2926482-1-arnd@kernel.org/ > included a reference from Nathan to a patch discouraging the use of > these strings in general: > https://lore.kernel.org/lkml/CAHk-=wgoxnmsj8GEVFJSvTwdnWm8wVJthefNk2n6+4TC=20e0Q@mail.gmail.com/ > > I did a quick grep and established we only have a few instances of these in > IIO anyway, so in the interests of avoiding those existing cases getting > cut and paste into new drivers, let's just clear them out now. Series applied to the togreg branch of iio.git and pushed out as testing to let 0-day poke at it before I push it out for linux-next. Thanks, Jonathan > > Cc: Nathan Chancellor > Jonathan Cameron (4): > iio: imu: inv_mpu6050: Drop use of %hhx format string. > iio: light: si1133: Drop remaining uses of %hhx format string. > iio: light: si1145: Drop use of %hhx format specifier. > iio: chemical: sgp30: Drop use of %hx in format string. > > drivers/iio/chemical/sgp30.c | 2 +- > drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 5 ++--- > drivers/iio/light/si1133.c | 14 +++++++------- > drivers/iio/light/si1145.c | 10 +++++----- > 4 files changed, 15 insertions(+), 16 deletions(-) >