Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1694286rwi; Wed, 19 Oct 2022 14:11:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Up/eUG/7qX05eLEw6CylvL2+pyvCgLIraLZQC2kLSzXprZxamth6YZw7bL8vY0mplVMS6 X-Received: by 2002:a17:907:31c9:b0:740:ef93:2ffd with SMTP id xf9-20020a17090731c900b00740ef932ffdmr8399989ejb.584.1666213908803; Wed, 19 Oct 2022 14:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666213908; cv=none; d=google.com; s=arc-20160816; b=DTsxRVuca2WEITBMsyvdA6HuYTovo/No+rGveKtBPpdbIIkE+QDpWzuCpapoHT8uZE UNVaiCLJHYQtiwUvsCcOWgIte/RktWg7JfC5G/oKACMDdh8A6SDUJcrJIAev39sc0FqT cki6UnCpBssuJITzbiZUKJMPcHIddmFgCf71gNWzVyLnmmvnjhovvLXq8zzXEOZCJ82u /Hc0U8w+inXHn+dMw721/kfS446SoyF9+gpTm6i47xm3Os0uaLkJKO0kWN7iC0IsW9fF w2DsI9hnZ4/po526DcLZVvFoXWSPJ5SHucZ9W6Hzan3SZKqebKtWwGrOfbo6dlpEgKwE VNZQ== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=jP23/8oNXZDtmh00ufdfE7zkPkL/ikPEzUVgX0EP4hU=; b=znxlpejLrGk4uWvjN9PZt/fDFTkaKL5vij1V15rd7hxFaxSnvK9aRlixnrtT2FeSqK SdweP6gu7tTg8g76xWu1UZzAHwFSwwUCMTrNvBfOlBUB9IPbcUS5DhsrpoaMGCThqvYR Pij8KG8MpU+iOyq+Lb+i236UCqjHi8p7ptnsIzTJNWgWTnoPtGKCR8A7HK7CBNBrlWWJ ceLjRXpGm0Dlgl5h2uN1NOQZCFr9xx1ZMV4Ki5Ta5BMeM9K1SdYQIfYR5pjyqxjWnRaq 3ATrQoNItt+En7OIt7VyBKARExTGpXBqWTTVjxtYG/tQWeFOjRhl8cvgOv7UaxSZjgHB GuUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=a8a161dB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds1-20020a170907724100b0078e11a20640si14439683ejc.2.2022.10.19.14.11.14; Wed, 19 Oct 2022 14:11:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=a8a161dB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbiJSULg (ORCPT + 99 others); Wed, 19 Oct 2022 16:11:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230388AbiJSULe (ORCPT ); Wed, 19 Oct 2022 16:11:34 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23AF01B76E7 for ; Wed, 19 Oct 2022 13:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=k1; bh=jP23/8oNXZDtmh00ufdfE7zkPkL/ ikPEzUVgX0EP4hU=; b=a8a161dB1G12z3w3RCsuDs9SiOc5nZsIoFMIBZqJcx0q /4wWw0OViHWEhkTL6psCGGIoFkkG8IPWEPB9S7J1UszIvaViRsKKA5oUgA+hQglc VzNNsDaHf5ZgEGrNCGEMek4aIMNkGZxI5patPQq0yR0olzW0MeaLSPNyPlOg7a0= Received: (qmail 804148 invoked from network); 19 Oct 2022 22:11:29 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 19 Oct 2022 22:11:29 +0200 X-UD-Smtp-Session: l3s3148p1@KwRf0GjrluQgAwDtxwGnANC4y/SuZCIq Date: Wed, 19 Oct 2022 22:11:28 +0200 From: Wolfram Sang To: Jason Gerecke Cc: Andy Shevchenko , linux-i2c , linux-iio , Jonathan Cameron , Lars-Peter Clausen , LKML , Ping Cheng , "Tobita, Tatsunosuke" , Jason Gerecke , Ping Cheng Subject: Re: [PATCH v2] i2c: Use u8 type in i2c transfer calls Message-ID: Mail-Followup-To: Wolfram Sang , Jason Gerecke , Andy Shevchenko , linux-i2c , linux-iio , Jonathan Cameron , Lars-Peter Clausen , LKML , Ping Cheng , "Tobita, Tatsunosuke" , Jason Gerecke , Ping Cheng References: <20220718153448.173652-1-jason.gerecke@wacom.com> <20220803145937.698603-1-jason.gerecke@wacom.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BGtONydHGv42/zAu" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --BGtONydHGv42/zAu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > I believe you need to create a coccinelle script and run it over the > > kernel source tree and then create a patch out of it. >=20 > This would definitely be necessary to unify all callers to using > unsigned variables rather than just swapping which callers generate > the pointer-sign warnings. I am all for using u8 because this is the proper type. Yet, if we touch this function argument, I'd also like to remove all inconsistencies once and for all. Removing some warnings here and add some there is not a good choice IMO. However, how to do this switch of types cleanly without too much churn, I sadly have no good idea yet. --BGtONydHGv42/zAu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmNQWewACgkQFA3kzBSg KbZ3Gw//crNGkl16EK/1GS4zVfBem5hUueVH2xbQhi5++pK1z+ykw7ap2dqC5WC6 kOJjK8nXpGaQJS4wPatM8jYP0uosEd9fpoZG3ULYnnzH6BYdzk/BPgpPQ/0nUaXp I63fhBeafHComQkTzfqTZo//qWQkp3DVtyBrA6rfiQyVz8afJOer/n2T772pA3SP kYTGL+A6KZQSztTkezKOJYWGPoUXupCLzVgPzonALtiZivgkiGS+OT40JHmPk6GA IkvuqE6DlUw5qMx3rTz+oYBO7mijCVms4eBjlzh88vEjmq/UdLh+3RQl3gaps6fh iNa2F+BJCQwMJt9NDvvLYeDa68VXNbcSvLkDIJXXP4WzBgkaW3wMJ++sl+f7Q+hB /jjkiSOLf4HkJl4ocbWkZwRrqJzuqQWJezkdyleK7rREQ14uSEDoyT66znrmQapF maiyP+cv1903PnVdKCq2fwg3q8gS827DI2zmXWFKdPAfT4e0Uvggb4Wa7icJqR1B 18As6Aews6zo3Dr9cJXgQE7oXz2r0NHQok1+pmXPaMmhGBlFvAoxEO0Ir72uK898 C6dC1qdBtD9ET9JIL16R5N0oaIWfksXlosPp323Y5J5k1dBKAk6emsNKnNYpdJCw bH/876TSZ98j2PHNJUY4MJzneKEs3zNAAw6ZBQRFoNRf93n4rrM= =gNnd -----END PGP SIGNATURE----- --BGtONydHGv42/zAu--