* [PATCH] scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h [not found] <20230720070343.2926-1-xujianghui@cdjrlc.com> @ 2023-07-20 7:04 ` sunran001 0 siblings, 0 replies; 3+ messages in thread From: sunran001 @ 2023-07-20 7:04 UTC (permalink / raw) To: hare, jejb, martin.petersen; +Cc: linux-scsi, linux-kernel 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20230720070717.3013-1-xujianghui@cdjrlc.com>]
* [PATCH] [SCSI] aic7xxx: Remove unnecessary parentheses in hyperv.h [not found] <20230720070717.3013-1-xujianghui@cdjrlc.com> @ 2023-07-20 7:10 ` sunran001 0 siblings, 0 replies; 3+ messages in thread From: sunran001 @ 2023-07-20 7:10 UTC (permalink / raw) To: hare, jejb, martin.petersen; +Cc: linux-scsi, linux-kernel Fix "return is not a function, parentheses are not required" checkpatch error. Signed-off-by: Ran Sun <sunran001@208suo.com> --- drivers/scsi/aic7xxx/aic79xx_inline.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic79xx_inline.h b/drivers/scsi/aic7xxx/aic79xx_inline.h index 09335a3c8691..7644e3d2ec22 100644 --- a/drivers/scsi/aic7xxx/aic79xx_inline.h +++ b/drivers/scsi/aic7xxx/aic79xx_inline.h @@ -50,7 +50,7 @@ static inline char *ahd_name(struct ahd_softc *ahd); static inline char *ahd_name(struct ahd_softc *ahd) { - return (ahd->name); + return ahd->name; } /************************ Sequencer Execution Control *************************/ @@ -157,13 +157,13 @@ do { \ static inline uint8_t * ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) { - return (scb->sense_data); + return scb->sense_data; } static inline uint32_t ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) { - return (scb->sense_busaddr); + return scb->sense_busaddr; } /************************** Interrupt Processing ******************************/ ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20230720055410.2271-1-xujianghui@cdjrlc.com>]
* [PATCH] scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h [not found] <20230720055410.2271-1-xujianghui@cdjrlc.com> @ 2023-07-20 5:55 ` sunran001 0 siblings, 0 replies; 3+ messages in thread From: sunran001 @ 2023-07-20 5:55 UTC (permalink / raw) To: jejb, martin.petersen, hare; +Cc: linux-scsi, linux-kernel Fix "return is not a function, parentheses are not required" checkpatch error. Signed-off-by: Ran Sun <sunran001@208suo.com> --- drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c b/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c index 975fcfcc0d8f..c8170bbd67da 100644 --- a/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c +++ b/drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c @@ -74,7 +74,7 @@ symbol_create(char *name) stop("Unable to strdup symbol name", EX_SOFTWARE); new_symbol->type = UNINITIALIZED; new_symbol->count = 1; - return (new_symbol); + return new_symbol; } void ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-20 7:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230720070343.2926-1-xujianghui@cdjrlc.com>
2023-07-20 7:04 ` [PATCH] scsi: aic7xxx: Remove unnecessary parentheses in hyperv.h sunran001
[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
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