media: dvb-frontends: add missing spaces before '*' and remove spaces after '*'

Message ID 1e9b311ce35bc4a115e4a171a565e415@208suo.com (mailing list archive)
State Changes Requested
Delegated to: Hans Verkuil
Headers
Series media: dvb-frontends: add missing spaces before '*' and remove spaces after '*' |

Commit Message

sunran001@208suo.com July 20, 2023, 2:47 a.m. UTC
  Add missing spaces to clear checkpatch errors.

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

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

  	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
  

Comments

Hans Verkuil Aug. 7, 2023, 11:04 a.m. UTC | #1
On 20/07/2023 04:47, sunran001@208suo.com wrote:
> Add missing spaces to clear checkpatch errors.
> 
> ERROR: "foo* bar" should be "foo *bar"
> 
> Signed-off-by: Ran Sun <sunran001@208suo.com>

Also corrupt:

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

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;
  

Patch

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;