[PATCH] Staging: crystalhd: crystalhd_cmds: fixed a brace issue

Greg KH greg at kroah.com
Tue Aug 31 22:05:06 UTC 2010


On Wed, Aug 18, 2010 at 08:10:06PM +0000, Gunnar Gudvardarson wrote:
> Fixed a brace issue.
> 
> Signed-off-by: Gunnar Gudvardarson <gunni at wave.is>
> ---
>  drivers/staging/crystalhd/crystalhd_cmds.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/crystalhd/crystalhd_cmds.c b/drivers/staging/crystalhd/crystalhd_cmds.c
> index 1429608..d423775 100644
> --- a/drivers/staging/crystalhd/crystalhd_cmds.c
> +++ b/drivers/staging/crystalhd/crystalhd_cmds.c
> @@ -309,9 +309,9 @@ static enum BC_STATUS bc_cproc_download_fw(struct crystalhd_cmd *ctx,
>  	sts = crystalhd_download_fw(ctx->adp, (uint8_t *)idata->add_cdata,
>  				  idata->add_cdata_sz);
>  
> -	if (sts != BC_STS_SUCCESS) {
> +	if (sts != BC_STS_SUCCESS)
>  		BCMLOG_ERR("Firmware Download Failure!! - %d\n", sts);
> -	} else
> +	else

This breaks the build, are you sure you tested it after making the
patch?

thanks,

greg k-h



More information about the devel mailing list