Commit graph

348275 commits

Author SHA1 Message Date
Cyril Roelandt 1901ab6292 staging: wlags49_h2: remove unneeded memset() in wireless_get_bssid()
A few lines after this call, we memcpy over the same memory area, so the call to
memset is not necessary.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:08:12 -08:00
Johan Meiring e5516fd34e staging: wlags49_h2: wl_util: corrects asterisk placement
This commit fixes incorrect placement of the asterisk character.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:44 -08:00
Johan Meiring 3bba6195bb staging: wlags49_h2: wl_util: converts C99 // comment
This commit converts a C99 // comment to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:44 -08:00
Johan Meiring 76abcc5191 staging: wlags49_h2: wl_util: fixes spacing around parentheses
This commit corrects the spacing in an and around parentheses in the
file.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:44 -08:00
Johan Meiring a52a2e1d09 staging: wlags49_h2: wl_priv: converts C99 // comments
This commit converts C99 // comments to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:44 -08:00
Johan Meiring fdd9e86039 staging: wlags49_h2: wl_priv: converts indentation to tabs
This commit converts instances of space-based indentation to tabs.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:44 -08:00
Johan Meiring 7f622485ee staging: wlags49_h2: wl_priv: fixes brace placement
This commit fixes incorrect brace placements in the file, as
indicated by the checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:43 -08:00
Johan Meiring ac6cf1b8e4 staging: wlags49_h2: wl_priv: fixes case statement styling issues
This commit fixes issues related to the styling of case statements.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:43 -08:00
Johan Meiring c54a639086 staging: wlags49_h2: wl_priv: fixes incorrect #include
This commit forces the file to use <linux/uaccess.h> instead of
<asm/uaccess.h>. Everything still compiles a-OK.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:43 -08:00
Johan Meiring 0af2d465dd staging: wlags49_h2: wl_priv: fixes parentheses styling issues
This commit fixes further parentheses styling issues as identified
by the checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:40 -08:00
Johan Meiring ceb121ae22 staging: wlags49_h2: wl_priv: fixes spacing around parentheses
This commit fixes many instances where the spacing in and around
parentheses was applied incorrectly.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:34 -08:00
Johan Meiring ba4126a7cd staging: wlags49_h2: wl_profile.h: fixes C99 // comment
This commit converts a C99 // comment to /* */. The checkpatch.pl
tool reports that this file has no further styling issues.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:34 -08:00
Johan Meiring 580dccd974 staging: wlags49_h2: wl_profile.h: fixes spacing around parentheses
This commit cleans up the spacing around parentheses.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:34 -08:00
Johan Meiring 61fc9c89b2 staging: wlags49_h2: sta_h2: corrects C99 // comments
This commit converts C99 // comments to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:34 -08:00
Johan Meiring de199db35e staging: wlags49_h2: sta_h2: fixes casting style issue
This commit cleans up a styling issue when casting to "hcf_8 *".

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:34 -08:00
Johan Meiring d641f16488 staging: wlags49_h2: sta_h2: fixes spaces around parentheses
This commit fixes an instance where the spacing around parentheses
was incorrect.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring b7a5b4760f staging: wlags49_h2: sta_h2: fixes malformed #include filename
This minor change simply removes quotations from within a comment
so that the checkpatch.pl tool won't complain about a malformed
include filename anymore.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring 497d4140ab staging: wlags49_h2: sta_h2: fixes spaces-before-tabs problems
This commit various cases where there were spaces before tabs, as
reported by the checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring 79249c4b22 staging: wlags49_h2: wl_netdev.h: sorts out spacing issues
This commit fixes issues regarding spacing around parentheses. The
checkpatch.pl tool reports that this file has no further styling
issues.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring 2dddc56293 staging: wlags49_h2: wl_netdev.h: converts C99 // comments
This commit converts C99 // comments to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring 30b437db2a staging: wlags49_h2: wl_priv.h: fixes instances of 80+ char lines
This commit corrects cases where lines where longer than 80
characters.  checkpatch.pl now reports that this file has no further
issues.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring 067f0dc33a staging: wlags49_h2: wl_priv.h: converts C99 // comments
This commit converts C99 // comments to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:33 -08:00
Johan Meiring 00871bc0f8 staging: wlags49_h2: wl_priv.h: fixes spacing around parentheses
This commit fixes the incorrect spacing around parentheses.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring 13821d96d4 staging: wlags49_h2: wl_enc: fixes incorrect use of return
This commit removes parentheses that were used as part of return
statements, seeing as how return is not a function.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring f83a7c34d4 staging: wlags49_h2: wl_enc: corrects spacing around colons
This commit fixes incorrect use of spaces around colons.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring 2d33309ef9 staging: wlags49_h2: wl_enc: corrects spacing around parentheses
This commit corrects various instances where the use of spaces
around parentheses was incorrect.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring 9413127a92 staging: wlags49_h2: wl_enc: converts indentation spaces to tabs
This commit converts space-based indentation to tabs.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring 4f55b5d494 staging: wlags49_h2: ap_h25: corrects incorrect use of // comments
This commit converts C99 // comments to /* */

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring 524cb2e503 staging: wlags49_h2: ap_h25: corrects casting styling issue
This commit corrects a casting styling issue as reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:32 -08:00
Johan Meiring d692b695e7 staging: wlags49_h2: ap_h25: corrects malformed #include warning
This extremely minor commit removes quotation marks from within a
comment so that the checkpatch.pl tool won't complain about the
line in question anymore.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:31 -08:00
Johan Meiring ed3125c82a staging: wlags49_h2: ap_h25: corrects parentheses styling issue
This commit corrects incorrect spaces around parentheses.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:31 -08:00
Johan Meiring ef8271dc6c staging: wlags49_h2: ap_h25: corrects tabs/spaces syling issues
This commit corrects tabs and spaces issues as reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:31 -08:00
Johan Meiring 6dc69c2b83 staging: wlags49_h2: ap_h2: corrects a pointer styling issue
This commit correct a pointer styling issue as reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 11:03:31 -08:00
Kevin McKinney ee39b7879e Staging: bcm: Fix warning: "Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ..."
This patch fixes the following warning: "WARNING:
Prefer netdev_dbg(netdev, ... then dev_dbg(dev,
... then pr_debug(...  to printk(KERN_DEBUG ..." in
Debug.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:51 -08:00
Kevin McKinney a049728928 Staging: bcm: Change the name of typedef USER_BCM_DBG_STATE to bcm_user_debug_state.
This patch removes typedef for USER_BCM_DBG_STATE, and
changes the name of the struct to bcm_user_debug_state.
In addition, any calls to struct "USER_BCM_DBG_STATE"
are changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:51 -08:00
Kevin McKinney 4b388a9e1d Staging: bcm: Remove typedef for _S_BCM_DEBUG_STATE and call directly.
This patch removes typedef for _S_BCM_DEBUG_STATE, and
changes the name of the struct to bcm_debug_state. In
addition, any calls to struct "S_BCM_DEBUG_STATE" are
changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:51 -08:00
Kevin McKinney b2a089b773 Staging: bcm: Replace UINT with unsigned int in Debug.h
This patch replaces "UINT" with "unsigned int"
in Debug.h

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:51 -08:00
Kevin McKinney 79a469136c Staging: bcm: Fix error: "Macros with complex values should be enclosed in parenthesis" in Debug.h
This patch fixes the following error: "Macros with
complex values should be enclosed in parenthesis"
as reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:51 -08:00
Kevin McKinney 34bb72b674 Staging: bcm: Fix warning: "__packed is preferred over __attribute__((packed))" in Debug.h
This patch fixes the following warning: "__packed
is preferred over __attribute__((packed))" as
reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:51 -08:00
Kevin McKinney 27bc7b2be2 Staging: bcm: Properly format braces in Debug.h
This patch formats braces in Debug.h as reported
by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:50 -08:00
Kevin McKinney 744467eaf0 Staging: bcm: Properly format comments in Debug.h
This patch properly formats comments, and removes
them as needed in Debug.h.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:50 -08:00
Kevin McKinney 4f2e1477bb Staging: bcm: Fix all white space issues in Debug.h
This patch fixes all white space issues in
Debug.h as reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:57:50 -08:00
Kevin McKinney c5485e9ca7 Staging: bcm: Remove typedef for TransportHeaderT and call directly.
This patch removes typedef for TransportHeaderT, and
changes the name of the struct to bcm_transport_header.
In addition, any calls to struct "xporthdr" are
changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:54 -08:00
Kevin McKinney 8ab1992114 Staging: bcm: Remove typedef for _E_NWPKT_IPFRAME_TYPE and call directly.
This patch removes typedef for _E_NWPKT_IPFRAME_TYPE,
and changes the name of the enum to bcm_ip_frame_type.
In addition, any calls to enum "E_NWPKT_IPFRAME_TYPE"
are changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:54 -08:00
Kevin McKinney 1f05da951d Staging: bcm: Remove typedef for _E_NWPKT_ETHFRAME_TYPE and call directly.
This patch removes typedef for _E_NWPKT_ETHFRAME_TYPE,
and changes the name of the enum to bcm_eth_frame_type.
In addition, any calls to enum "E_NWPKT_ETHFRAME_TYPE,
are changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:54 -08:00
Kevin McKinney 5fa9ac4573 Staging: bcm: Remove typedef for _S_ETHCS_PKT_INFO and call directly.
This patch removes typedef for _S_ETHCS_PKT_INFO, and
changes the name of the struct to bcm_eth_packet_info.
In addition, any calls to struct "S_ETHCS_PKT_INFO, or
*PS_ETHCS_PKT_INFO" are changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:54 -08:00
Kevin McKinney d1b37925ba Staging: bcm: Remove typedef for _ETH_CS_802_Q_FRAME and call directly.
This patch removes typedef for _ETH_CS_802_Q_FRAME, and
changes the name of the struct to bcm_eth_q_frame. In
addition, any calls to struct "ETH_CS_802_Q_FRAME" are
changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:54 -08:00
Kevin McKinney 620fac923c Staging: bcm: Remove typedef for _ETH_CS_802_LLC_FRAME and call directly.
This patch removes typedef for _ETH_CS_802_LLC_FRAME, and
changes the name of the struct to bcm_eth_llc_frame. In
addition, any calls to struct "ETH_CS_802_LLC_FRAME" are
changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:51 -08:00
Kevin McKinney 9bcacc2975 Staging: bcm: Remove typedef for _ETH_CS_802_LLC_SNAP_FRAME and call directly.
This patch removes typedef for _ETH_CS_802_LLC_SNAP_FRAME, and
changes the name of the struct to bcm_eth_llc_snap_frame. In
addition, any calls to struct "ETH_CS_802_LLC_SNAP_FRAME" are
changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:46 -08:00
Kevin McKinney 30f5b4c2e1 Staging: bcm: Remove typedef for _ETH_CS_ETH2_FRAME and call directly.
This patch removes typedef for _ETH_CS_ETH2_FRAME, and
changes the name of the struct to bcm_ethernet2_frame. In
addition, any calls to struct "ETH_CS_ETH2_FRAME" are
changed to call directly.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-07 10:56:45 -08:00