From: sunran001@208suo.com
To: hare@suse.com, jejb@linux.ibm.com, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h
Date: Thu, 20 Jul 2023 15:04:43 +0800 [thread overview]
Message-ID: <9bfa0761de4afcb66fb56b46671c54be@208suo.com> (raw)
In-Reply-To: <20230720070343.2926-1-xujianghui@cdjrlc.com>
Fix "return is not a function, parentheses are not required" checkpatch
error.
Signed-off-by: Ran Sun <sunran001@208suo.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
next parent reply other threads:[~2023-07-20 7:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230720070343.2926-1-xujianghui@cdjrlc.com>
2023-07-20 7:04 ` sunran001 [this message]
[not found] <20230720070717.3013-1-xujianghui@cdjrlc.com>
2023-07-20 7:10 ` [PATCH] [SCSI] " sunran001
[not found] <20230720055410.2271-1-xujianghui@cdjrlc.com>
2023-07-20 5:55 ` [PATCH] scsi: " sunran001
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9bfa0761de4afcb66fb56b46671c54be@208suo.com \
--to=sunran001@208suo.com \
--cc=hare@suse.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome