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: <D958900912E20642BCBC71664EFECE3E6DDCAC418E@BGMAIL02.nvidia.com>
Date:	Mon, 30 Jul 2012 11:31:04 +0530
From:	Venu Byravarasu <vbyravarasu@...dia.com>
To:	Fengguang Wu <fengguang.wu@...el.com>
CC:	Samuel Ortiz <sameo@...ux.intel.com>,
	Axel Lin <axel.lin@...il.com>,
	"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: RE: drivers/mfd/tps65090.c: duplicated TPS65090_INT_STS tests

Thanks for catching typo.
Plz push a patch with fix.

Thanks,
Venu


> -----Original Message-----
> From: Fengguang Wu [mailto:fengguang.wu@...el.com]
> Sent: Saturday, July 28, 2012 6:05 PM
> To: Venu Byravarasu
> Cc: Samuel Ortiz; Axel Lin; kernel-janitors@...r.kernel.org; LKML
> Subject: drivers/mfd/tps65090.c: duplicated TPS65090_INT_STS tests
> 
> Hi Venu,
> 
> Is this coccinelle warning a trivial one, or indicates some copy&paste
> error? It's introduced by commit 3c33be06 ("mfd: Add support for
> TPS65090").
> 
> drivers/mfd/tps65090.c:239:5-30: duplicated argument to && or ||
> 
> vim +239 drivers/mfd/tps65090.c
>    236
>    237	static bool is_volatile_reg(struct device *dev, unsigned int reg)
>    238	{
>  > 239		if ((reg == TPS65090_INT_STS) || (reg == TPS65090_INT_STS))
>    240			return true;
>    241		else
>    242			return false;
> 
> ---
> 0-DAY kernel build testing backend         Open Source Technology Centre
> Fengguang Wu <wfg@...ux.intel.com>                     Intel Corporation
--
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