lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 18 Jul 2023 16:53:08 +0800
From:   hanyu001@...suo.com
To:     dlemoal@...nel.org
Cc:     linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ata: remove whitespace after '(' and before ')'

This patch fixes the following checkpatch errors:

./drivers/ata/pata_sis.c:691: ERROR: space prohibited after that open 
parenthesis '('
./drivers/ata/pata_sis.c:691: ERROR: space prohibited before that close 
parenthesis ')'

Signed-off-by: Yu Han <	hanyu001@...suo.com>
---
  drivers/ata/pata_sis.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
index 31de06b..2019777 100644
--- a/drivers/ata/pata_sis.c
+++ b/drivers/ata/pata_sis.c
@@ -688,7 +688,7 @@ static void sis_fixup(struct pci_dev *pdev, struct 
sis_chipset *sis)

      if (sis->info == &sis_info33) {
          pci_read_config_byte(pdev, PCI_CLASS_PROG, &reg);
-        if (( reg & 0x0F ) != 0x00)
+        if ((reg & 0x0F) != 0x00)
              pci_write_config_byte(pdev, PCI_CLASS_PROG, reg & 0xF0);
          /* Fall through to ATA16 fixup below */
      }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ