2023-07-20 03:10:57

by Ran Sun

[permalink] [raw]
Subject: [PATCH] media: dvb-frontends: add missing spaces before '*' and remove spaces after '*'

Add missing spaces to clear checkpatch errors.

ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: Ran Sun <[email protected]>
---
drivers/media/dvb-frontends/ds3000.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/dvb-frontends/ds3000.c
b/drivers/media/dvb-frontends/ds3000.c
index 20fcf31af165..ca40234a28fa 100644
--- a/drivers/media/dvb-frontends/ds3000.c
+++ b/drivers/media/dvb-frontends/ds3000.c
@@ -456,7 +456,7 @@ static int ds3000_read_status(struct dvb_frontend
*fe, enum fe_status *status)
}

/* read DS3000 BER value */
-static int ds3000_read_ber(struct dvb_frontend *fe, u32* ber)
+static int ds3000_read_ber(struct dvb_frontend *fe, u32 *ber)
{
struct ds3000_state *state = fe->demodulator_priv;
struct dtv_frontend_properties *c = &fe->dtv_property_cache;


2023-08-07 12:08:46

by Hans Verkuil

[permalink] [raw]
Subject: Re: [PATCH] media: dvb-frontends: add missing spaces before '*' and remove spaces after '*'

On 20/07/2023 04:47, [email protected] wrote:
> Add missing spaces to clear checkpatch errors.
>
> ERROR: "foo* bar" should be "foo *bar"
>
> Signed-off-by: Ran Sun <[email protected]>

Also corrupt:

https://patchwork.linuxtv.org/project/linux-media/patch/[email protected]/

Same issue.

Regards,

Hans

> ---
>  drivers/media/dvb-frontends/ds3000.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/dvb-frontends/ds3000.c b/drivers/media/dvb-frontends/ds3000.c
> index 20fcf31af165..ca40234a28fa 100644
> --- a/drivers/media/dvb-frontends/ds3000.c
> +++ b/drivers/media/dvb-frontends/ds3000.c
> @@ -456,7 +456,7 @@ static int ds3000_read_status(struct dvb_frontend *fe, enum fe_status *status)
>  }
>
>  /* read DS3000 BER value */
> -static int ds3000_read_ber(struct dvb_frontend *fe, u32* ber)
> +static int ds3000_read_ber(struct dvb_frontend *fe, u32 *ber)
>  {
>      struct ds3000_state *state = fe->demodulator_priv;
>      struct dtv_frontend_properties *c = &fe->dtv_property_cache;