linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>
Cc: mattw@codeaurora.org, mitchelh@codeaurora.org,
	linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	chris.paterson2@renesas.com
Subject: Re: [PATCH 2/2] regmap: Avoid namespace collision within macro
Date: Thu, 27 Oct 2016 11:15:45 +0100	[thread overview]
Message-ID: <20161027101545.GH25322@sirena.org.uk> (raw)
In-Reply-To: <1477560799-58896-3-git-send-email-ramesh.shanmugasundaram@bp.renesas.com>

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2016-10-27 14:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-27  9:33 [PATCH 0/2] Avoid namespace collision within macros Ramesh Shanmugasundaram
2016-10-27  9:33 ` [PATCH 1/2] iopoll: " Ramesh Shanmugasundaram
2016-10-27  9:33 ` [PATCH 2/2] regmap: Avoid namespace collision within macro Ramesh Shanmugasundaram
2016-10-27 10:15   ` Mark Brown [this message]
2016-10-27 10:22     ` Ramesh Shanmugasundaram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161027101545.GH25322@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=chris.paterson2@renesas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mattw@codeaurora.org \
    --cc=mitchelh@codeaurora.org \
    --cc=ramesh.shanmugasundaram@bp.renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).