From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966068AbcJ0OLc (ORCPT ); Thu, 27 Oct 2016 10:11:32 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:41764 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942417AbcJ0OLZ (ORCPT ); Thu, 27 Oct 2016 10:11:25 -0400 Date: Thu, 27 Oct 2016 11:15:45 +0100 From: Mark Brown To: Ramesh Shanmugasundaram Cc: mattw@codeaurora.org, mitchelh@codeaurora.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, chris.paterson2@renesas.com Message-ID: <20161027101545.GH25322@sirena.org.uk> References: <1477560799-58896-1-git-send-email-ramesh.shanmugasundaram@bp.renesas.com> <1477560799-58896-3-git-send-email-ramesh.shanmugasundaram@bp.renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Bg2esWel0ueIH/G/" Content-Disposition: inline In-Reply-To: <1477560799-58896-3-git-send-email-ramesh.shanmugasundaram@bp.renesas.com> X-Cookie: Stay together, drag each other down. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 2/2] regmap: Avoid namespace collision within macro X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Bg2esWel0ueIH/G/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 27, 2016 at 10:33:19AM +0100, Ramesh Shanmugasundaram wrote: > #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ > ({ \ > - ktime_t timeout = ktime_add_us(ktime_get(), timeout_us); \ > + ktime_t __timeout = ktime_add_us(ktime_get(), timeout_us); \ > int ret; \ Why is timeout an issue and not ret? --Bg2esWel0ueIH/G/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYEdPQAAoJECTWi3JdVIfQVGcH/RtQkatljVUgodujGLYSc1Pj RVGj5gfBpGes1MqstFXN2yn9/Q5L5Wjs7kSjmQNvIdlJJ+TcPlyk9267g6fWU9aB 2afg1dU1DR9lSH2ESikxL/I4JGYAd07EC0I3RgwZX2paUVb0sA4n4GmatAY613Ez sFYc4xGEpYttYD5Z5IuqIh0w5jjzPRBjBnEsjm28M0HZAvMwt/d8XRc2SmJoM0lB w4AUDkGLqcT/Camt93z+OVEF81ZxfWm6bB+Apeju1NcLErS6hOGs0ZYOhSUfbfLV ojDgvSkAC61TZOnnAixmE6RJjzXoLLBS9PClegQZ+6u8nZamYuBizJLFmaU83J0= =ScXk -----END PGP SIGNATURE----- --Bg2esWel0ueIH/G/--