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: <20061108141007.e0adf333.randy.dunlap@oracle.com>
Date:	Wed, 8 Nov 2006 14:10:07 -0800
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	Andrew Morton <akpm@...l.org>,
	Dave Jones <davej@...emonkey.org.uk>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gx-suspmod: fix "&& 0xff" typo

On Thu, 9 Nov 2006 01:04:35 +0300 Alexey Dobriyan wrote:

> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
> ---
> 
>  arch/i386/kernel/cpu/cpufreq/gx-suspmod.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
> +++ b/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
> @@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void)
>  	pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration));
>  	pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration));
>          pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev);
> -	params->pci_rev = class_rev && 0xff;
> +	params->pci_rev = class_rev & 0xff;

Hi,
any kind of automated detection on that one?

thanks,
---
~Randy
-
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