Commit Graph

457223 Commits

Author SHA1 Message Date
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
Luca Ellero 75d149f781 staging: ced1401: fix ced_quick_check()
Rename camel case arguments and locals in function ced_quick_check()

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 0c72376383 staging: ced1401: fix ced_is_1401()
Rename camel case arguments and locals in function ced_is_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 dbbb6ab117 staging: ced1401: fix ced_in_self_test()
Rename camel case arguments and locals in function ced_in_self_test()

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 c586fc5754 staging: ced1401: fix ced_get_state()
Rename camel case arguments and locals in function ced_get_state()

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 531c79cc5e staging: ced1401: fix ced_send_char()
Rename camel case arguments and locals in function ced_send_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
Luca Ellero 4165106f36 staging: ced1401: fix ced_send_string()
Rename camel case arguments and locals in function ced_send_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 2c50d117fb staging: ced1401: fix ced_put_chars()
Rename camel case arguments and locals in function ced_put_chars()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-10 15:09:25 -07:00
Luca Ellero 500a247cb3 staging: ced1401: fix comment
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-10 15:09:25 -07:00
Luca Ellero bcdf1d36ef staging: ced1401: fix ced_disconnect()
Rename camel case locals in function ced_disconnect()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-10 15:09:25 -07:00
Luca Ellero 4d1f2b7159 staging: ced1401: fix ced_ioctl()
Rename camel case arguments and locals in function ced_ioctl()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-10 15:09:25 -07:00
Luca Ellero f66a9beecf staging: ced1401: fix ced_allowi()
Rename camel case arguments and locals in function ced_allowi()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-10 15:09:25 -07:00