Luca Ellero
a08259437f
staging: ced1401: usb1401.h: fix "foo * bar"
...
Fix checkpatch error "foo * bar" should be "foo *bar" in file usb1401.h
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 17:33:11 -07:00
Luca Ellero
96c53cc73f
staging: ced1401: usb1401.c: change spaces to tabs
...
Fix checkpatch errors "code indent should use tabs where possible" in file
usb1401.c
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 17:33:11 -07:00
Malcolm Priestley
4f31668f61
staging: vt6656: rename s_vFillCTSHead to vnt_fill_cts_head
...
Removing static declaration.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:15 -07:00
Malcolm Priestley
ee16de8c95
staging: vt6656: s_vFillCTSHead remove camel case
...
Camel case changes
byPktType -> pkt_type
cbFrameLength -> frame_len
bNeedAck -> need_ack
pDevice -> priv
uCTSFrameLen -> cts_frame_len
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:15 -07:00
Malcolm Priestley
9ec7f2d8e2
staging: vt6656: rename s_vGenerateTxParameter to vnt_generate_tx_parameter
...
Removing static declaration
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:15 -07:00
Malcolm Priestley
165ac77a59
staging: vt6656: s_vGenerateTxParameter remove camel case
...
Camel case changes
byPktType -> pkt_type
wCurrentRate -> current_rate
cbFrameSize -> frame_size
bNeedACK -> need_ack
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
da9ef9f42b
staging: vt6656: s_vGenerateTxParameter remove else from if statements
...
The function returns out at if statements so drop else.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
681acf68db
staging: vt6656: merge data positions for packet types a and b into vnt_rxtx_ab
...
add rts positions from s_vFillRTSHead
add need_mic and remaining union vnt_tx_data_head head positions from
s_vGenerateTxParameter for packet type PK_TYPE_11A and PK_TYPE_11B..
As there are no other possibilities for packet types in s_vGenerateTxParameter
the if becomes else.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
b00cb6847e
staging: vt6656: move s_vFillCTSHead to vnt_rxtx_cts
...
add need_mic and union vnt_tx_data_head head positions from s_vGenerateTxParameter.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
4f06c0dcc7
staging: vt6656: merge PK_TYPE_11GB and PK_TYPE_11GA into vnt_rxtx_rts
...
add to vnt_rxtx_rts calls from s_vFillRTSHead.
add need_mic and union vnt_tx_data_head head positions from s_vGenerateTxParameter.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
3b03fea23d
staging: vt6656: s_vGenerateTxParameter parse out vnt_rrv_time_ab
...
create new function vnt_rxtx_ab which will eventually carry onward
functions
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
f1be5759bc
staging: vt6656: s_vGenerateTxParameter rxtx.c s_vGenerateTxParameter pBuf->rrv_time always the calling pkt_type
...
Use byPktType instead of macro.
The pkt_type has already been filtered in this function so its always set
to the correct one.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
bf9c0118f1
staging: vt6656: s_vGenerateTxParameter Parse out struct vnt_rrv_time_cts
...
Create new function vnt_rxtx_cts that will eventually carry onward
function.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
24cdd90ff5
staging: vt6656: s_vGenerateTxParameter Parse out struct vnt_rrv_time_rts
...
Creat new function vnt_rxtx_rts that will eventually carry onward
functions.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
cb8ee9dede
staging: vt6656: move current_rate setting out of s_vGenerateTxParameter
...
Removing unneeded pointers
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
26e7362cb8
staging: vt6656: rxtx remove fb_option from functions.
...
This is now dead code.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
ce7b0db87c
staging: vt6656: rxtx: move tx_context->fb_option into function structure.
...
Replace fb_option in function calls with tx_context->fb_option.
Namely functions s_vFillCTSHead and s_vFillRTSHead
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
Malcolm Priestley
72bf805927
staging: vt6656: rxtx remove struct ethhdr from functions
...
ethhdr is nolonger used by driver.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:17:14 -07:00
sanjeev sharma
16ec1a20b1
staging: rtl8192u: Fixed switch and case indentation error
...
This patch will fix switch and case indentation Error
reported by checkpatch script.
Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:16:16 -07:00
sanjeev sharma
97f9402a3e
staging: rtl8192u: Remove useless return statement
...
This patch will remove unneeded return statements in
code.
Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:16:16 -07:00
Ian Abbott
52dc097758
staging: comedi: ni_daq_700: remove MODULE_VERSION() and commentary
...
We don't module version numbers for in-kernel drivers. The kernel
version number is sufficient information.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:13:40 -07:00
Ian Abbott
99948ba7c8
staging: comedi: vmk80xx: remove MODULE_VERSION() from in-kernel module
...
Signed-off-by: Ian Abbott <abbotti@mev.co.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:13:40 -07:00
Vincent Heuken
083b3638d3
Staging: panel: fixed frivilous else statement warning
...
Fixed one instance of the following checkpatch.pl warning in
panel.c:
WARNING: else is not generally useful after a break or return
Signed-off-by: Vincent Heuken <me@vincentheuken.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:12:51 -07:00
Kees Cook
a3355a6267
staging: r8821ae: avoid leaking format string
...
This make sure a format string cannot leak into the work queue name nor
the printk buffer.
Signed-off-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:12:51 -07:00
Luca Ellero
f4a86b653b
staging: ced1401: fix ced_free_circ_block()
...
Rename camel case arguments and locals in function ced_free_circ_block()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
7b7f60205e
staging: ced1401: fix ced_get_circ_block()
...
Rename camel case arguments and locals in function ced_get_circ_block()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
d9b57d9f28
staging: ced1401: fix ced_set_circular()
...
Rename camel case arguments and locals in function ced_set_circular()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
7bbddb60e7
staging: ced1401: fix ced_dbg_stop_loop()
...
Rename camel case arguments and locals in function ced_dbg_stop_loop()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
f1d513bbb9
staging: ced1401: fix ced_dbg_get_data()
...
Rename camel case arguments and locals in function ced_dbg_get_data()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
3e064a1ffc
staging: ced1401: fix ced_dbg_ramp_data/addr()
...
Rename camel case arguments and locals in function ced_dbg_ramp_data() and
ced_dbg_ramp_addr()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
a81bd28664
staging: ced1401: fix ced_dbg_peek/poke()
...
Rename camel case arguments and locals in function ced_dbg_peek() and
ced_dbg_poke()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
02f1d35cc4
staging: ced1401: fix ced_dbg_cmd()
...
Rename camel case arguments and locals in function ced_dbg_cmd()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
bbe2bc768c
staging: ced1401: fix ced_transfer_flags()
...
Rename camel case arguments and locals in function ced_transfer_flags()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
55da356b3d
staging: ced1401: fix ced_type_of_1401()
...
Rename camel case arguments and locals in function ced_type_of_1401()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
d1047374bf
staging: ced1401: fix ced_check_self_test()
...
Rename camel case arguments and locals in function ced_check_self_test()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
7fe89c5244
staging: ced1401: fix ced_start_self_test()
...
Rename camel case arguments and locals in function ced_start_self_test()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
abfc7692f1
staging: ced1401: fix ced_state_of_1401()
...
Rename camel case arguments and locals in function ced_state_of_1401()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:06 -07:00
Luca Ellero
b1b9286e29
staging: ced1401: fix ced_get_transfer()
...
Rename camel case arguments and locals in function ced_get_transfer()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
4a376719ce
staging: ced1401: fix ced_test_event()
...
Rename camel case arguments and locals in function ced_test_event()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
3fe68ea0f6
staging: ced1401: fix ced_wait_event()
...
Rename camel case arguments and locals in function ced_wait_event()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
e1b3ca658d
staging: ced1401: fix ced_set_event()
...
Rename camel case arguments and locals in function ced_set_event()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
5e5ca7dc46
staging: ced1401: fix ced_unset_transfer()
...
Rename camel case arguments and locals in function ced_unset_transfer()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
2932f3aed1
staging: ced1401: fix ced_set_transfer()
...
Rename camel case arguments and locals in function ced_set_transfer()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
0c68a74d4b
staging: ced1401: fix ced_set_area()
...
Rename camel case arguments and locals in function ced_set_area()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:10:05 -07:00
Luca Ellero
0c402b9f2f
staging: ced1401: fix ced_clear_area()
...
Rename camel case arguments and locals in function ced_clear_area()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:09:26 -07:00
Luca Ellero
347ee20b40
staging: ced1401: fix ced_get_out_buf_space()
...
Rename camel case arguments and locals in function ced_get_out_buf_space()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:09:26 -07:00
Luca Ellero
7692320c08
staging: ced1401: fix ced_line_count()
...
Rename camel case arguments and locals in function ced_line_count()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:09:26 -07:00
Luca Ellero
e62221f95e
staging: ced1401: fix ced_stat_1401()
...
Rename camel case arguments and locals in function ced_stat_1401()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:09:26 -07:00
Luca Ellero
d8b622b3aa
staging: ced1401: fix ced_get_string()
...
Rename camel case arguments and locals in function ced_get_string()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:09:26 -07:00
Luca Ellero
673b2ead7a
staging: ced1401: fix ced_get_char()
...
Rename camel case arguments and locals in function ced_get_char()
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-10 15:09:26 -07:00