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]
Date:	Mon, 7 Mar 2011 21:50:01 +0300
From:	Dan Carpenter <error27@...il.com>
To:	wei_wang@...lsil.com.cn
Cc:	gregkh@...e.de, devel@...uxdriverproject.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: rts_pstor: MSXC card power class

On Mon, Mar 07, 2011 at 04:11:01PM +0800, wei_wang@...lsil.com.cn wrote:
>  #ifdef XC_POWERCLASS
> -	u8 change_power_class = 2;
> +	u8 change_power_class;
> +
> +	if (chip->ms_power_class_en & 0x02) {
> +		change_power_class = 2;
> +	} else if (chip->ms_power_class_en & 0x01) {
> +		change_power_class = 1;
> +	} else {
> +		change_power_class = 0;
> +	}

This makes scripts/checkpatch.pl complain.

regards,
dan carpenter


--
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