Skip to content

Commit

Permalink
Staging: vme: Re-introduce necessary brackets
Browse files Browse the repository at this point in the history
Somehow I managed to remove a set of rather necessary brackets in commit
29848ac. Put them back.

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Martyn Welch authored and Greg Kroah-Hartman committed Apr 30, 2010
1 parent f3cdc28 commit 4839737
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/vme/bridges/vme_tsi148.c
Original file line number Diff line number Diff line change
Expand Up @@ -2455,9 +2455,10 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
dev_info(&pdev->dev, "VME Write and flush and error check is %s\n",
err_chk ? "enabled" : "disabled");

if (tsi148_crcsr_init(tsi148_bridge, pdev))
if (tsi148_crcsr_init(tsi148_bridge, pdev)) {
dev_err(&pdev->dev, "CR/CSR configuration failed.\n");
goto err_crcsr;
}

retval = vme_register_bridge(tsi148_bridge);
if (retval != 0) {
Expand Down

0 comments on commit 4839737

Please sign in to comment.