]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: hp100: Add spaces in if statement.
authorSoumyajit Deb <debsoumyajit100@gmail.com>
Wed, 25 Mar 2020 12:27:52 +0000 (17:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2020 12:43:13 +0000 (13:43 +0100)
Add space between if and open parenthesis to improve
code readability and to adhere to the standard linux kernel
coding style. Also, shift the next line to the right by a single space
as it is the continuation of the above if statement.

Signed-off-by: Soumyajit Deb <debsoumyajit100@gmail.com>
Link: https://lore.kernel.org/r/20200325122752.38600-1-debsoumyajit100@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hp/hp100.c

index c38a200a7e7a43aaf15ed433b33bb305528363c1..5402ff195fe92d7e9aa2af2aad0d5a20c9055f3e 100644 (file)
@@ -553,8 +553,8 @@ static int hp100_probe1(struct net_device *dev, int ioaddr, u_char bus,
                         * can map the full 32bit address space.
                         * Also, we can have EISA Busmaster cards (not tested),
                         * so beware !!! - Jean II */
-                       if((bus == HP100_BUS_PCI) &&
-                          (pci_set_dma_mask(pci_dev, DMA_BIT_MASK(32)))) {
+                       if ((bus == HP100_BUS_PCI) &&
+                           (pci_set_dma_mask(pci_dev, DMA_BIT_MASK(32)))) {
                                /* Gracefully fallback to shared memory */
                                goto busmasterfail;
                        }