diff mbox series

[media] dvb-frontends: add missing spaces before ','

Message ID 9bf6cfcbeb9a0854fdb2a29d74885725@208suo.com (mailing list archive)
State New, archived
Headers show
Series [media] dvb-frontends: add missing spaces before ',' | expand

Commit Message

Ran Sun July 20, 2023, 2:37 a.m. UTC
Add missing spaces to clear checkpatch errors.

ERROR: space required after that ',' (ctx:VxV)

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  drivers/media/dvb-frontends/dib3000mc.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

  extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff);

  extern void dib3000mc_set_config(struct dvb_frontend *, struct 
dib3000mc_config *);

Comments

Hans Verkuil Aug. 7, 2023, 11:02 a.m. UTC | #1
Hi Ran Sun,

On 20/07/2023 04:37, sunran001@208suo.com wrote:
> Add missing spaces to clear checkpatch errors.
> 
> ERROR: space required after that ',' (ctx:VxV)
> 
> Signed-off-by: Ran Sun <sunran001@208suo.com>

The patch in patchwork is corrupt:

https://patchwork.linuxtv.org/project/linux-media/patch/9bf6cfcbeb9a0854fdb2a29d74885725@208suo.com/

Probably line wrapping issues. Please check your mailer settings!

Regards,

	Hans

> ---
>  drivers/media/dvb-frontends/dib3000mc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/dvb-frontends/dib3000mc.h b/drivers/media/dvb-frontends/dib3000mc.h
> index 5ed3d9147f8b..b837e107881e 100644
> --- a/drivers/media/dvb-frontends/dib3000mc.h
> +++ b/drivers/media/dvb-frontends/dib3000mc.h
> @@ -73,7 +73,7 @@ struct i2c_adapter *dib3000mc_get_tuner_i2c_master(struct dvb_frontend *demod,
>  }
>  #endif // CONFIG_DVB_DIB3000MC
> 
> -extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid,int onoff);
> +extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, int pid, int onoff);
>  extern int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff);
> 
>  extern void dib3000mc_set_config(struct dvb_frontend *, struct dib3000mc_config *);
diff mbox series

Patch

diff --git a/drivers/media/dvb-frontends/dib3000mc.h 
b/drivers/media/dvb-frontends/dib3000mc.h
index 5ed3d9147f8b..b837e107881e 100644
--- a/drivers/media/dvb-frontends/dib3000mc.h
+++ b/drivers/media/dvb-frontends/dib3000mc.h
@@ -73,7 +73,7 @@  struct i2c_adapter 
*dib3000mc_get_tuner_i2c_master(struct dvb_frontend *demod,
  }
  #endif // CONFIG_DVB_DIB3000MC

-extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, 
int pid,int onoff);
+extern int dib3000mc_pid_control(struct dvb_frontend *fe, int index, 
int pid, int onoff);