Clean up errors in dib0090.h
PATCH 1/1 Clean up errors in dib0090.h
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by XueBing Chen <[email protected]>
--- drivers/media/dvb-frontends/dib0090.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/dib0090.h +1 -1
@@ -82,7 +82,7 @@ extern u16 dib0090_get_wbd_offset(struct dvb_frontend *fe);extern int dib0090_gain_control (struct dvb_frontend *fe);extern enum frontend_tune_state dib0090_get_tune_state (struct dvb_frontend *fe);extern int dib0090_set_tune_state (struct dvb_frontend *fe,enum frontend_tune_state tune_state); -extern void dib0090_get_current_gain (struct dvb_frontend *fe,u16 * rf,u16 * bb,u16 * rf_gain_limit,u16 * rflt); +extern void dib0090_get_current_gain (struct dvb_frontend *fe,u16 * rf,u16 * bb,u16 * rf_gain_limit,u16 * rflt);extern void dib0090_set_dc_servo (struct dvb_frontend *fe,u8 DC_servo_cutoff);extern int dib0090_set_switch (struct dvb_frontend *fe,u8 sw1,u8 sw2,u8 sw3);extern int dib0090_set_vga (struct dvb_frontend *fe,u8 onoff);
Signature · 1 line
2.17.1
Hi!
First of all, the proper subject prefix is "media:", and in this case I would say: "media: dvb-frontends:".
Quoted 3 lines · XueBing Chen
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Secondly, the error says that it should be "foo *bar"...
Quoted 11 lines
Signed-off-by XueBing Chen <[email protected]>--- drivers/media/dvb-frontends/dib0090.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/media/dvb-frontends/dib0090.h +0
-0
drivers/media/dvb-frontends/dib0090.h extern u16 dib0090_get_wbd_offset(struct dvb_frontend *fe); · line 85
Quoted 5 lines
drivers/media/dvb-frontends/dib0090.h +1
-1@@ -82,7 +82,7 @@ extern u16 dib0090_get_wbd_offset(struct dvb_frontend *fe);extern int dib0090_gain_control (struct dvb_frontend *fe);extern enum frontend_tune_state dib0090_get_tune_state (struct dvb_frontend *fe);extern int dib0090_set_tune_state (struct dvb_frontend *fe,enum frontend_tune_state tune_state); -extern void dib0090_get_current_gain (struct dvb_frontend *fe,u16 * rf,u16 * bb,u16 * rf_gain_limit,u16 * rflt); +extern void dib0090_get_current_gain (struct dvb_frontend *fe,u16 * rf,u16 * bb,u16 * rf_gain_limit,u16 * rflt);
...so why do you write "foo* bar"???
Regards,
Hans
Quoted 3 lines
drivers/media/dvb-frontends/dib0090.h +0
-0extern void dib0090_set_dc_servo (struct dvb_frontend *fe,u8 DC_servo_cutoff);extern int dib0090_set_switch (struct dvb_frontend *fe,u8 sw1,u8 sw2,u8 sw3);extern int dib0090_set_vga (struct dvb_frontend *fe,u8 onoff);