public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: "Linux Media Mailing List" <linux-media@vger.kernel.org>,
	"Mauro Carvalho Chehab" <mchehab@infradead.org>,
	"Markus Elfring" <elfring@users.sourceforge.net>,
	"David Härdeman" <david@hardeman.nu>,
	"Shuah Khan" <shuah.kh@samsung.com>,
	"Hans Verkuil" <hans.verkuil@cisco.com>,
	"Cheolhyun Park" <pch851130@gmail.com>,
	"Benoit Taine" <benoit.taine@lip6.fr>,
	"Prabhakar Lad" <prabhakar.csengg@gmail.com>,
	"Sakari Ailus" <sakari.ailus@linux.intel.com>
Subject: Re: [PATCH] media: replace bellow -> below
Date: Fri, 08 May 2015 15:05:21 +0300	[thread overview]
Message-ID: <3571020.QtjJPoh1sD@avalon> (raw)
In-Reply-To: <65116e50702f631e14a8d3ded91637faaac6a319.1431086474.git.mchehab@osg.samsung.com>

Hi Mauro,

On Friday 08 May 2015 09:01:28 Mauro Carvalho Chehab wrote:
> Bellow is yelling. Ok, sometimes the code is yells a lot, but
> but this is not the case there ;)

:-)

checkpatch.pl has support for finding common spelling mistakes nowadays. 
Instead of fixing them one by one, should we run it on the whole media 
subsystem and fix all detected errors in one go ?

> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> 
> diff --git a/drivers/media/common/siano/smsir.c
> b/drivers/media/common/siano/smsir.c index 1d60d200d9ab..41f2a3939979
> 100644
> --- a/drivers/media/common/siano/smsir.c
> +++ b/drivers/media/common/siano/smsir.c
> @@ -78,7 +78,7 @@ int sms_ir_init(struct smscore_device_t *coredev)
>  	dev->dev.parent = coredev->device;
> 
>  #if 0
> -	/* TODO: properly initialize the parameters bellow */
> +	/* TODO: properly initialize the parameters below */
>  	dev->input_id.bustype = BUS_USB;
>  	dev->input_id.version = 1;
>  	dev->input_id.vendor = le16_to_cpu(dev->udev->descriptor.idVendor);
> diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c
> b/drivers/media/dvb-frontends/drx39xyj/drxj.c index
> 61f76038442a..52245354bf04 100644
> --- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
> +++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
> @@ -9541,7 +9541,7 @@ ctrl_get_qam_sig_quality(struct drx_demod_instance
> *demod) /* ----------------------------------------- */
>  	/* Pre Viterbi Symbol Error Rate Calculation */
>  	/* ----------------------------------------- */
> -	/* pre viterbi SER is good if it is bellow 0.025 */
> +	/* pre viterbi SER is good if it is below 0.025 */
> 
>  	/* get the register value */
>  	/*   no of quadrature symbol errors */
> diff --git a/drivers/media/dvb-frontends/drxk_hard.c
> b/drivers/media/dvb-frontends/drxk_hard.c index d46cf5f7cd2e..ad35264a3819
> 100644
> --- a/drivers/media/dvb-frontends/drxk_hard.c
> +++ b/drivers/media/dvb-frontends/drxk_hard.c
> @@ -544,7 +544,7 @@ error:
>  static int init_state(struct drxk_state *state)
>  {
>  	/*
> -	 * FIXME: most (all?) of the values bellow should be moved into
> +	 * FIXME: most (all?) of the values below should be moved into
>  	 * struct drxk_config, as they are probably board-specific
>  	 */
>  	u32 ul_vsb_if_agc_mode = DRXK_AGC_CTRL_AUTO;
> diff --git a/drivers/media/dvb-frontends/tda10021.c
> b/drivers/media/dvb-frontends/tda10021.c index 1bff7f457e19..28d987068048
> 100644
> --- a/drivers/media/dvb-frontends/tda10021.c
> +++ b/drivers/media/dvb-frontends/tda10021.c
> @@ -258,7 +258,7 @@ static int tda10021_set_parameters(struct dvb_frontend
> *fe) }
> 
>  	/*
> -	 * gcc optimizes the code bellow the same way as it would code:
> +	 * gcc optimizes the code below the same way as it would code:
>  	 *           "if (qam > 5) return -EINVAL;"
>  	 * Yet, the code is clearer, as it shows what QAM standards are
>  	 * supported by the driver, and avoids the usage of magic numbers on
> diff --git a/drivers/media/dvb-frontends/tda10023.c
> b/drivers/media/dvb-frontends/tda10023.c index ca1e0d54b69a..f92fbbbb4a71
> 100644
> --- a/drivers/media/dvb-frontends/tda10023.c
> +++ b/drivers/media/dvb-frontends/tda10023.c
> @@ -331,7 +331,7 @@ static int tda10023_set_parameters(struct dvb_frontend
> *fe) }
> 
>  	/*
> -	 * gcc optimizes the code bellow the same way as it would code:
> +	 * gcc optimizes the code below the same way as it would code:
>  	 *		 "if (qam > 5) return -EINVAL;"
>  	 * Yet, the code is clearer, as it shows what QAM standards are
>  	 * supported by the driver, and avoids the usage of magic numbers on
> diff --git a/drivers/media/i2c/tvaudio.c b/drivers/media/i2c/tvaudio.c
> index 070c152da95a..0c50e5285cf6 100644
> --- a/drivers/media/i2c/tvaudio.c
> +++ b/drivers/media/i2c/tvaudio.c
> @@ -272,7 +272,7 @@ static int chip_cmd(struct CHIPSTATE *chip, char *name,
> audiocmd *cmd) return -EINVAL;
>  	}
> 
> -	/* FIXME: it seems that the shadow bytes are wrong bellow !*/
> +	/* FIXME: it seems that the shadow bytes are wrong below !*/
> 
>  	/* update our shadow register set; print bytes if (debug > 0) */
>  	v4l2_dbg(1, debug, sd, "chip_cmd(%s): reg=%d, data:",
> diff --git a/drivers/media/tuners/tuner-xc2028.c
> b/drivers/media/tuners/tuner-xc2028.c index d12f5e4ad8bf..4e941f00b600
> 100644
> --- a/drivers/media/tuners/tuner-xc2028.c
> +++ b/drivers/media/tuners/tuner-xc2028.c
> @@ -1094,7 +1094,7 @@ static int generic_set_freq(struct dvb_frontend *fe,
> u32 freq /* in HZ */, * Still need tests for XC3028L (firmware 3.2 or
> upper)
>  		 * So, for now, let's just comment the per-firmware
>  		 * version of this change. Reports with xc3028l working
> -		 * with and without the lines bellow are welcome
> +		 * with and without the lines below are welcome
>  		 */
> 
>  		if (priv->firm_version < 0x0302) {

-- 
Regards,

Laurent Pinchart


      reply	other threads:[~2015-05-08 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 12:01 [PATCH] media: replace bellow -> below Mauro Carvalho Chehab
2015-05-08 12:05 ` Laurent Pinchart [this message]

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=3571020.QtjJPoh1sD@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=benoit.taine@lip6.fr \
    --cc=david@hardeman.nu \
    --cc=elfring@users.sourceforge.net \
    --cc=hans.verkuil@cisco.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mchehab@osg.samsung.com \
    --cc=pch851130@gmail.com \
    --cc=prabhakar.csengg@gmail.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=shuah.kh@samsung.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