Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510252 > unrolled thread

Re: [PATCH 2/2] regmap: Avoid namespace collision within macro

Started byMark Brown <broonie@kernel.org>
First post2016-10-27 16:20 +0200
Last post2016-10-27 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/2] regmap: Avoid namespace collision within macro Mark Brown <broonie@kernel.org> - 2016-10-27 16:20 +0200

#1510252 — Re: [PATCH 2/2] regmap: Avoid namespace collision within macro

FromMark Brown <broonie@kernel.org>
Date2016-10-27 16:20 +0200
SubjectRe: [PATCH 2/2] regmap: Avoid namespace collision within macro
Message-ID<swTxw-2VB-33@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web