Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1212634 > unrolled thread

Re: [PATCH] SCSI: dtc: Fixed a brace issue on return 0

Started byFinn Thain <fthain@telegraphics.com.au>
First post2015-08-25 04:00 +0200
Last post2015-08-25 04:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] SCSI: dtc: Fixed a brace issue on return 0 Finn Thain <fthain@telegraphics.com.au> - 2015-08-25 04:00 +0200

#1212634 — Re: [PATCH] SCSI: dtc: Fixed a brace issue on return 0

FromFinn Thain <fthain@telegraphics.com.au>
Date2015-08-25 04:00 +0200
SubjectRe: [PATCH] SCSI: dtc: Fixed a brace issue on return 0
Message-ID<q1bGO-zW-13@gated-at.bofh.it>
On Sun, 28 Jun 2015, Rudhresh wrote:

> From: rudhresh <rudhresh.jk@gmail.com>
> 
> Return is not a function so parenthesis is not required
> 
> Signed-off-by: Rudhresh <rudhresh.jk@gmail.com>

Can you put your full name here?

You must address your patches to all of the interested parties (see 
scripts/get_maintainer.pl).

Please read Documentation/SubmittingPatches and adhere to the instructions 
therein.

-- 

>
> ---
>  drivers/scsi/dtc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c
> index 4c74c7b..c793ecf 100644
> --- a/drivers/scsi/dtc.c
> +++ b/drivers/scsi/dtc.c
> @@ -363,7 +363,7 @@ static inline int NCR5380_pread(struct Scsi_Host *instance, unsigned char *dst,
>  	NCR5380_read(RESET_PARITY_INTERRUPT_REG);
>  	if (i > hostdata->spin_max_r)
>  		hostdata->spin_max_r = i;
> -	return (0);
> +	return 0;
>  }
>  
>  /****************************************************************
> @@ -417,7 +417,7 @@ static inline int NCR5380_pwrite(struct Scsi_Host *instance, unsigned char *src,
>  	rtrc(0);
>  	if (i > hostdata->spin_max_w)
>  		hostdata->spin_max_w = i;
> -	return (0);
> +	return 0;
>  }
>  
>  MODULE_LICENSE("GPL");
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web