diff options
author | Eli Billauer <eli.billauer@gmail.com> | 2014-09-04 17:47:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 13:58:19 -0700 |
commit | c14cc622da94b9e0c9ddeea1bd51e7ff9b02cc04 (patch) | |
tree | 1e0e65c60a60ccec686d8a3e592b8644d19eedff /drivers/staging/xillybus/xillybus_pcie.c | |
parent | 1af1ea6b2caeefa9e99e5d8d9c94f34571a168d7 (diff) |
staging: xillybus: Added curly brackets as required
Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xillybus/xillybus_pcie.c')
-rw-r--r-- | drivers/staging/xillybus/xillybus_pcie.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/xillybus/xillybus_pcie.c b/drivers/staging/xillybus/xillybus_pcie.c index 371cec318c48..ec9b923fc1e2 100644 --- a/drivers/staging/xillybus/xillybus_pcie.c +++ b/drivers/staging/xillybus/xillybus_pcie.c @@ -199,9 +199,9 @@ static int xilly_probe(struct pci_dev *pdev, * nobody and use 32 bits DMA addressing in any case. */ - if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) + if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { endpoint->dma_using_dac = 0; - else { + } else { dev_err(endpoint->dev, "Failed to set DMA mask. Aborting.\n"); return -ENODEV; } |