Re: [PATCH 3/5] Staging: csr: sme_blocking.c: fix up brace placement

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

 



On Tue, Oct 16, 2012 at 11:14:38PM -0700, Sungju Huh wrote:
> @@ -1391,12 +1337,10 @@ int sme_sys_suspend(unifi_priv_t *priv)
>  			csrResult = CsrSdioInterruptEnable(priv->sdio);
>  			CsrSdioRelease(priv->sdio);
>  
> -			if (csrResult != CSR_RESULT_SUCCESS) {
> +			if (csrResult != CSR_RESULT_SUCCESS)
>  				unifi_error(priv, "WOL CsrSdioInterruptEnable failed %d\n", csrResult);
> -			}
> -		} else {
> -			unifi_trace(priv, UDBG1, "Disabled card SDIO interrupt for PIO WOL\n");
> -		}
> +			else
> +				unifi_trace(priv, UDBG1, "Disabled card SDIO interrupt for PIO WOL\n");
>  
>  		/* Prevent the BH thread from running during the suspend.
>  		* Upon resume, sme_sys_resume() will trigger a wifi-on, this will cause

You've introduced a compile error here.  DO NOT EVER DO THAT! Evar!11!!!!!111

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