Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5341949img; Wed, 27 Mar 2019 06:50:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwR6DTCFiYcfwnvtDJJ+AmtI6CfYXb788Rpme1ba0+uDmMxayW7AUbp0wFSHxpuzogh3XrO X-Received: by 2002:a63:408:: with SMTP id 8mr29054263pge.334.1553694634576; Wed, 27 Mar 2019 06:50:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553694634; cv=none; d=google.com; s=arc-20160816; b=bBO/xh4WP3aUcM6JCKDs8AQwpH7XNGS9zkFCTtNRZYyeoWnR0yAc9rTt8Zwq74bwky SxavIdza8SsaAFZ4/QzXvoxwnQV7/N/p+0oDKFBGjO8eF8xzUnFGcX0cIRUGeQyvV4TZ UeiyAzYJBZHgLivQoW5OcRvdgkvxQJ2lItvtoHmqUiN1/BFdlrDaup0oB841gDmTTM0i GZJPe1ThIPmzZtI/s0oApV18HUJzmZKWhWQwZEyT4E3tuBZXoXyZJFBEqLpNQPjFtmzC dlOL1JgJhqjhTlO7y0POBeIYdQDcJ8fWTv8EGUSUY07qsme5EqRNiY/MuB/6Ul7CuSDA S9ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=M+a+SdApq3l5FOA6KXpMvLsJ44Vjrdsy9beUEVhRtLc=; b=BbSXyycS+LQn9B9DWLUP401SOi54FZoEHLgPZ3yxlKjBk5pczLtOjqZHyoCBVr1EIi 6Ujs2Q8Yr9YK4CtsA2TyKbm+6wLeeuBftB7JpQVbVxc2olRZH08VLo8IZRe308HmAqQv jcVEI3s2TNB6aCbQP3Q4ZmH8fyADyDHgxLgqGv8YGI+EDmcu2lDJ3FXPzjwsxeFAkaw2 5vBSfiVLLlQK5Rt1A5MZSVLrzfkNPcrdfDHl7aGMKtAEwO97Jlo5YI0ldm8jIzOMmC1H InnXnzmS59xLOZbB+ITKzIzgumRoNdIzNnCj9agOG8eyuQ52PAzyQYn+FkIVOPmdRjF1 xR3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e36si14861302pgm.89.2019.03.27.06.50.18; Wed, 27 Mar 2019 06:50:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730176AbfC0Nrz (ORCPT + 99 others); Wed, 27 Mar 2019 09:47:55 -0400 Received: from sauhun.de ([88.99.104.3]:36172 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728213AbfC0Nry (ORCPT ); Wed, 27 Mar 2019 09:47:54 -0400 Received: from localhost (p5486CE6B.dip0.t-ipconnect.de [84.134.206.107]) by pokefinder.org (Postfix) with ESMTPSA id DBEDC2E35A2; Wed, 27 Mar 2019 14:47:51 +0100 (CET) Date: Wed, 27 Mar 2019 14:47:51 +0100 From: Wolfram Sang To: Simon Horman Cc: Wolfram Sang , linux-i2c@vger.kernel.org, Tero Kristo , Phil Reid , Tony Lindgren , Keerthy , linux-kernel@vger.kernel.org, Russell King , linux-renesas-soc@vger.kernel.org, linux-omap@vger.kernel.org, linux-tegra@vger.kernel.org, Stefan Lengfeld , Andy Shevchenko , Peter Rosin , linux-arm-kernel@lists.infradead.org Subject: Re: [RFC PATCH v2 3/7] i2c: core: introduce callbacks for atomic transfers Message-ID: <20190327134751.GD5345@kunai> References: <20190302134735.4393-1-wsa+renesas@sang-engineering.com> <20190302134735.4393-4-wsa+renesas@sang-engineering.com> <20190315122320.34yibpfhv2b6ptwl@verge.net.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eheScQNz3K90DVRs" Content-Disposition: inline In-Reply-To: <20190315122320.34yibpfhv2b6ptwl@verge.net.au> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --eheScQNz3K90DVRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Simon, please delete unrelated text. I nearly missed the typo fix later. > > - if (in_atomic() || irqs_disabled()) > > + if (in_atomic() || irqs_disabled()) { > > + WARN(!adap->algo->master_xfer_atomic && !adap->algo->smbus_xfer_atom= ic, > > + "No atomic I2C transfer handler for '%s'\n", dev_name(&adap->de= v)); >=20 > Is WARN_ONCE more appropriate here? Why? It could be multiple adapters or clients causing this? > > + * The return codes from the @master_xfer{_atomic} field should indica= te the >=20 > I think "field" should be "fields" in the new text. Fixed, thanks! Regards, Wolfram --eheScQNz3K90DVRs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlybfwMACgkQFA3kzBSg Kbbsbg/4y3tgFpT1GwWWe4sp9B/CF2VqdLI5kdtk1IvoIFLvlbaEZQ2xJBiLRVxN yYoNi490tWqKZWKWxzGPNpqbDc4NKozLFCayPFYrHQJRweT8V0TV0ucuUsT09Xd+ QldzPU3QGmBSzTJnnkC8frDW74DqL5ohx7zXMpDhaJvh/ZdWf9Pn3bVfSuZ6mXGG aK7ayUnbeaIZU9sVoyzn19+UvORDgJtS4lyqGaQiQ0kVDHE8B7MsrlOYs9xoSktJ mz65br2NbKwX24EKC+K7Zq2fQtRUOrPIADHs4Z5nonK7K1XE+us2hYg/v4RdG5jv 7qnhZ3ExyBjE3kDLqQX1/iWSI/oXyGmSm31tG6TOSjCMI1f6Su17T8+9cXRc6b6+ T7WMnmQA7pQCUHHhBdZiyxwoJHiYLTPC8sf5HTiWYSo0s5x5FxMxmBHC+E2KnUUW CU/Dq7WNpNzyCbpqxQqG8lbkCQ9swpunpgmCcVpYheOGqKCId5wIwPsLdQQsQrHx 7NlrhBvobACx2AR2D2JCjkv/yVLKznPCsgcN0+oSjbdX9PIvL/l6c9Ms9y7x1YOl 0nDc1fv4M0w5XytcMPLQwHkNawVPXJ8O/uOtpe/2lMCHgUHK1bffuACNzwU0/k9r ztbvtZ5HQ40UBXvOuuexJNLnNivuCGKFhUTYvohyoNcwAD56mQ== =gB5/ -----END PGP SIGNATURE----- --eheScQNz3K90DVRs--