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] [day] [month] [year] [list]
Message-ID: <5506B516.9070206@ti.com>
Date:	Mon, 16 Mar 2015 12:48:54 +0200
From:	Peter Ujfalusi <peter.ujfalusi@...com>
To:	Nicholas Mc Guire <hofrat@...dl.org>,
	Tony Lindgren <tony@...mide.com>
CC:	Samuel Ortiz <sameo@...ux.intel.com>,
	Lee Jones <lee.jones@...aro.org>, <linux-omap@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: twl6040: match wait_for_completion_timeout return
 type

On 03/16/2015 10:17 AM, Nicholas Mc Guire wrote:
> Return type of wait_for_completion_timeout is unsigned long not int. As
> time_left is exclusively used for wait_for_completion_timeout here its
> type is simply changed to unsigned long.

Acked-by: Peter Ujfalusi <peter.ujfalusi@...com>

> Signed-off-by: Nicholas Mc Guire <hofrat@...dl.org>
> ---
> 
> Patch was compile tested with x86_64_defconfig + CONFIG_TWL6040_CORE=y
> 
> Patch is against 4.0-rc3 (localversion-next is -next-20150316)
> 
>  drivers/mfd/twl6040.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c
> index f71ee3d..d6f9761 100644
> --- a/drivers/mfd/twl6040.c
> +++ b/drivers/mfd/twl6040.c
> @@ -259,7 +259,7 @@ static irqreturn_t twl6040_thint_handler(int irq, void *data)
>  
>  static int twl6040_power_up_automatic(struct twl6040 *twl6040)
>  {
> -	int time_left;
> +	unsigned long time_left;
>  
>  	gpio_set_value(twl6040->audpwron, 1);
>  
> 


-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ