diff options
author | 2020-04-29 21:35:15 -0400 | |
---|---|---|
committer | 2020-05-05 12:20:40 +0200 | |
commit | 8d8a1424a03e0fe6dff5542a2d412a3836eb87a7 (patch) | |
tree | f39f2ef6f1431dce1721e09c812c3246ddc0e148 /drivers/staging/qlge | |
parent | staging: qlge: Fix suspect code indent warning in ql_init_device (diff) | |
download | linux-8d8a1424a03e0fe6dff5542a2d412a3836eb87a7.tar.gz linux-8d8a1424a03e0fe6dff5542a2d412a3836eb87a7.tar.bz2 linux-8d8a1424a03e0fe6dff5542a2d412a3836eb87a7.zip |
staging: qlge: Fix function argument alignment warning in ql_init_device
Fix checkpatch.pl check:
CHECK: Alignment should match open parenthesis
Signed-off-by: Rylan Dmello <mail@rylan.coffee>
Link: https://lore.kernel.org/r/12c7c34330b410e4ee8b9b5634f1a50ceb9c3590.1588209862.git.mail@rylan.coffee
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/qlge')
-rw-r--r-- | drivers/staging/qlge/qlge_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c index fa708c722033..93df4f79b21d 100644 --- a/drivers/staging/qlge/qlge_main.c +++ b/drivers/staging/qlge/qlge_main.c @@ -4433,8 +4433,7 @@ static int ql_init_device(struct pci_dev *pdev, struct net_device *ndev, pdev->needs_freset = 1; pci_save_state(pdev); qdev->reg_base = - ioremap(pci_resource_start(pdev, 1), - pci_resource_len(pdev, 1)); + ioremap(pci_resource_start(pdev, 1), pci_resource_len(pdev, 1)); if (!qdev->reg_base) { dev_err(&pdev->dev, "Register mapping failed.\n"); err = -ENOMEM; @@ -4443,8 +4442,7 @@ static int ql_init_device(struct pci_dev *pdev, struct net_device *ndev, qdev->doorbell_area_size = pci_resource_len(pdev, 3); qdev->doorbell_area = - ioremap(pci_resource_start(pdev, 3), - pci_resource_len(pdev, 3)); + ioremap(pci_resource_start(pdev, 3), pci_resource_len(pdev, 3)); if (!qdev->doorbell_area) { dev_err(&pdev->dev, "Doorbell register mapping failed.\n"); err = -ENOMEM; |