Skip to content

Commit 4839737

Browse files
mwelchukgregkh
authored andcommitted
Staging: vme: Re-introduce necessary brackets
Somehow I managed to remove a set of rather necessary brackets in commit 29848ac. Put them back. Signed-off-by: Martyn Welch <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f3cdc28 commit 4839737

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/staging/vme/bridges/vme_tsi148.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2455,9 +2455,10 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
24552455
dev_info(&pdev->dev, "VME Write and flush and error check is %s\n",
24562456
err_chk ? "enabled" : "disabled");
24572457

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

24622463
retval = vme_register_bridge(tsi148_bridge);
24632464
if (retval != 0) {

0 commit comments

Comments
 (0)