lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161027101545.GH25322@sirena.org.uk>
Date:   Thu, 27 Oct 2016 11:15:45 +0100
From:   Mark Brown <broonie@...nel.org>
To:     Ramesh Shanmugasundaram <ramesh.shanmugasundaram@...renesas.com>
Cc:     mattw@...eaurora.org, mitchelh@...eaurora.org,
        linux-kernel@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
        chris.paterson2@...esas.com
Subject: Re: [PATCH 2/2] regmap: Avoid namespace collision within macro

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?

Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ