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>] [day] [month] [year] [list]
Message-ID: <9bfa0761de4afcb66fb56b46671c54be@208suo.com>
Date:   Thu, 20 Jul 2023 15:04:43 +0800
From:   sunran001@...suo.com
To:     hare@...e.com, jejb@...ux.ibm.com, martin.petersen@...cle.com
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h

Fix "return is not a function, parentheses are not required" checkpatch
error.

Signed-off-by: Ran Sun <sunran001@...suo.com>
---
  drivers/scsi/aic7xxx/aic7770_osm.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c 
b/drivers/scsi/aic7xxx/aic7770_osm.c
index bdd177e3d762..cfaf3ac29d79 100644
--- a/drivers/scsi/aic7xxx/aic7770_osm.c
+++ b/drivers/scsi/aic7xxx/aic7770_osm.c
@@ -54,7 +54,7 @@ aic7770_map_registers(struct ahc_softc *ahc, u_int 
port)
  		return (ENOMEM);
  	ahc->tag = BUS_SPACE_PIO;
  	ahc->bsh.ioport = port;
-	return (0);
+	return 0;
  }

  int
@@ -97,13 +97,13 @@ aic7770_probe(struct device *dev)
  	if (error != 0) {
  		ahc->bsh.ioport = 0;
  		ahc_free(ahc);
-		return (error);
+		return error;
  	}

   	dev_set_drvdata(dev, ahc);

  	error = ahc_linux_register_host(ahc, &aic7xxx_driver_template);
-	return (error);
+	return error;
  }

  static int

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ