Staging: crystalhd: crystalhd_cmds: fixed a brace issue
PATCH 1/1 Staging: crystalhd: crystalhd_cmds: fixed a brace issue
Fixed a brace issue.
Note: checkpatch was clean until i ran format-patch, which added 3 trailing whitespaces.
Signed-off-by Gunnar Gudvardarson <[email protected]>
--- drivers/staging/crystalhd/crystalhd_cmds.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/crystalhd/crystalhd_cmds.c +2 -2
@@ -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 ctx->state |=BC_LINK_INIT ;return sts;
Signature · 1 line
1.7.0.4
Quoted 12 lines · Gunnar Gudvardarson
Fixed a brace issue.
Signed-off-by Gunnar Gudvardarson <[email protected]>--- drivers/staging/crystalhd/crystalhd_cmds.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)drivers/staging/crystalhd/crystalhd_cmds.c +0
-0
drivers/staging/crystalhd/crystalhd_cmds.c static enum BC_STATUS bc_cproc_download_fw(struct crystalhd_cmd *ctx, · line 314
Quoted 8 lines
drivers/staging/crystalhd/crystalhd_cmds.c +2
-2@@ -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