Re: [PATCH] staging: rts_pstor: MSXC card power class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 07, 2011 at 04:11:01PM +0800, wei_wang@xxxxxxxxxxxxxx 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


_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux