a9873673484b5aa4346111d021c83a2f11d62eb5 |
|
30-Aug-2014 |
Malcolm Priestley <tvboxspy@gmail.com> |
staging: vt6655: Replace typedef enum _CARD_OP_MODE eOPMode with enum nl80211_iftype op_mode. Using the nl80211 header. Using enum changes OP_MODE_ADHOC -> NL80211_IFTYPE_ADHOC OP_MODE_AP -> NL80211_IFTYPE_AP OP_MODE_INFRASTRUCTURE -> NL80211_IFTYPE_STATION OP_MODE_UNKNOWN -> NL80211_IFTYPE_UNSPECIFIED Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
48caf5a060491edb2e1793539dad72e70c54c869 |
|
17-Aug-2014 |
Joe Perches <joe@perches.com> |
staging: vt6655: Convert DBG_PRT to pr_<level> DBG_PRT uses are unnecessarily complex. Convert DBG_PRT msglevel to pr_<level>. This changes the KERN_<level> type of several uses. It also enables dynamic_debug for the pr_debug conversions. This patch can be a prelude to converting these pr_<level> uses to dev_<level> as appropriate. Other changes: Realign arguments of these conversions. Remove now unused static int msglevel declarations. Remove now unused DBG_PRT #define. Compile tested only. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
0ffc58742d835b83fa9f055233c11dcdf6724e77 |
|
10-Aug-2014 |
Malcolm Priestley <tvboxspy@gmail.com> |
staging: vt6655: channel/wcmd/wctl/wmgr use struct vnt_private * Replacing PSDevice. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
c98323a7da3cf3625c37743974d007a1fe6539a5 |
|
10-Aug-2014 |
Malcolm Priestley <tvboxspy@gmail.com> |
staging: vt6655: BSSvSecondTxData remove #if 1 else directive There is a code alignment error after this directive realign code Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
f2af99ee5bca2eccc2d61bfee0ad82c84af18f8f |
|
10-Aug-2014 |
Malcolm Priestley <tvboxspy@gmail.com> |
staging: vt6655: Remove TxInSleep macro TxInSleep is always enabled remove the macro and any else code. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
049a8afbaa475e79f0e10cd015474419d161212c |
|
25-Jul-2014 |
Guillaume Clement <gclement@baobob.org> |
staging: vt6655: fix braces at newline in if statements Braces should not be in a separate line for multi-line if statements. This fixes warnings reported by checkpatch. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
941ead9adf195395d75eabb0cec15311bf5c5959 |
|
25-Jul-2014 |
Guillaume Clement <gclement@baobob.org> |
staging: vt6655: Use pr_* functions instead of printk Lots of printk are used in vt6655, replace them with the pr_* equivalent. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
bfd7a2819051fc0ab401609aedbe65df46ed1259 |
|
25-Jul-2014 |
Guillaume Clement <gclement@baobob.org> |
staging: vt6655: Remove spaces before quoted newlines This fixes several spaces added just before a newline in debug strings, reported by checkpatch. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
6b7112719fd48c29f35333ef152a5a450f01dc83 |
|
25-Jul-2014 |
Guillaume Clement <gclement@baobob.org> |
staging: vt6655: Add missing blank lines after declarations This patch fixes the missing blank lines after declarations in vt6655 reported by checkpatch. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
fe802546ce748b5af933157e181f1d653ac5ec9c |
|
25-Jul-2014 |
Guillaume Clement <gclement@baobob.org> |
staging: vt6655: remove useless return statements Many return statements in void function were present at the end of functions, with no effect. They now are removed. This fixes a bunch of checkpatch warnings. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
9e4c5c2837a4bf059590ad75fa3fe0c2af93e65a |
|
22-Jul-2014 |
Guillaume Clement <gclement@baobob.org> |
staging: vt6655: statify some variables Some variables are used only in the context of their .c file, which gives warnings with sparse. Signed-off-by: Guillaume Clement <gclement@baobob.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
bc5cf6563576bb36baa7e93417b9a2e29999a5c6 |
|
19-Apr-2014 |
Guido Martínez <guido@vanguardiasur.com.ar> |
staging: vt6655: fix checkpatch bracing issues This patchs fixes tons of warnings such as: WARNING: braces {} are not necessary for single statement blocks #354: FILE: drivers/staging/vt6655/wmgr.c:354: + for (ii = 0; ii < WLAN_BSSID_LEN; ii++) { + pMgmt->abyDesireBSSID[ii] = 0xFF; + } Please note: this patch only fixes bracing issues (and there is still a lot to do); so if you run checkpatch it _will_ throw a lot of errors. Use --test-only=braces Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
4e8a7e5fc29697f881f5c358f84df52914908703 |
|
19-Apr-2014 |
Guido Martínez <guido@vanguardiasur.com.ar> |
staging: vt6655: remove dead code Remove dead code in many places on this driver. Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
1208f14a37fde2669b86bf1b1cd1122ad2ba3579 |
|
10-Nov-2013 |
Teodora Baluta <teobaluta@gmail.com> |
staging: vt6655: delete explicit comparison to bool This patch fixes the following type of coccinelle detected warnings for driver vt6655: WARNING: Comparison to bool Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
a0ae9e3c334df08573b0e8de08d8d4130a843066 |
|
15-Sep-2013 |
Masanari Iida <standby24x7@gmail.com> |
staging: vt6655: vt6656: Fix typo in comments Correct spelling typo in staging/vt6655 and staging/vt6656 Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
96d69e201bbdb05c363e899138f9f42bc8ad8f88 |
|
19-Mar-2013 |
Joe Perches <joe@perches.com> |
staging: vt6655: Remove unnecessary blank lines Remove a bunch of useless vertical whitespace. Convert 3 or more consecutive newlines to 2. Remove blank lines after open brace and before close brace. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
a7307538805f8a30c25b6f5b9566ab21d8ab7515 |
|
19-Mar-2013 |
Joe Perches <joe@perches.com> |
staging: vt6655: Remove commented out if()s Commented out code is just noise. Remove them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
a4ef27ad02e0bfd165e81d6a4f3771ace42ebe41 |
|
19-Mar-2013 |
Joe Perches <joe@perches.com> |
staging: vt6655: Remove unnecessary parentheses from returns Returns aren't functions, remove the parentheses to be more kernel style like. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
5e0cc8a231be82b0ec44cdf2a406b1a97dd3c971 |
|
19-Mar-2013 |
Joe Perches <joe@perches.com> |
staging: vt6655: Convert to kernel brace style Move braces around to be more kernel like. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
f2046f93db0918f99875853772142143590ba0c6 |
|
19-Mar-2013 |
Joe Perches <joe@perches.com> |
staging: vt6655: Remove commented out printks These are just noise in the code so remove them. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
3bd1a38ba8bf190d560d65bfbce5343d1262678a |
|
18-Mar-2013 |
Joe Perches <joe@perches.com> |
staging:vt6655:wcmd: Whitespace cleanups Neatening only. git diff -w shows no differences. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
8d915d8c9b8c49ab4725e3d9a6d7b5a8b50751e7 |
|
25-Dec-2012 |
Masanari Iida <standby24x7@gmail.com> |
staging: vt6655: Fix typo in vt6655 driver Correct spelling typo in comments within vt6655 driver. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
96a031a2dac72a54cbbd5edca7de4cd5b5ea1d44 |
|
22-Oct-2012 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
Staging: vt6655: fix missing unlock on error in vCommandTimer() Add the missing unlock on the error handle path in function vCommandTimer. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
789d1aef176e720fce4a8a5a9ab07f093ddb9086 |
|
20-Aug-2012 |
Justin P. Mattock <justinmattock@gmail.com> |
staging: "vt6655" Fix typos in comments. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2478ef577c1d6b39863a51d2622e74f912d9b3f8 |
|
09-Jul-2012 |
Marcos Paulo de Souza <marcos.souza.org@gmail.com> |
staging: vt6655: Remove all "if 0" blocks from driver This commit removes code that will never be executed by vt6655 driver. Was the forgotten-macros tool(https://github.com/marcosps/forgotten_macros) who reported these blocks for us. Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
9fc86028fa21f8831c0fdc701732cf491da1202c |
|
10-Apr-2011 |
Joe Perches <joe@perches.com> |
staging: Remove unnecessary semicolons when if (foo) {...}; Done via perl script: $ cat remove_semi_if.pl my $match_balanced_parentheses = qr/(\((?:[^\(\)]++|(?-1))*\))/; my $match_balanced_braces = qr/(\{(?:[^\{\}]++|(?-1))*\})/; foreach my $file (@ARGV) { my $f; my $text; my $oldtext; next if ((-d $file)); open($f, '<', $file) or die "$P: Can't open $file for read\n"; $oldtext = do { local($/) ; <$f> }; close($f); next if ($oldtext eq ""); $text = $oldtext; my $count = 0; do { $count = 0; $count += $text =~ s@\b(if\s*${match_balanced_parentheses}\s*)${match_balanced_braces}\s*;@"$1$3"@egx; } while ($count > 0); if ($text ne $oldtext) { my $newfile = $file; open($f, '>', $newfile) or die "$P: Can't open $newfile for write\n"; print $f $text; close($f); } } $ Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
25985edcedea6396277003854657b5f3cb31a628 |
|
31-Mar-2011 |
Lucas De Marchi <lucas.demarchi@profusion.mobi> |
Fix common misspellings Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
|
7b6a001313a9b11a1f0985de05fff514db41d72d |
|
01-Aug-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: replace BOOL with in kernel bool Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
5a5a2a6ad4aa2467bcc34fa50e85c2afc90bab05 |
|
01-Aug-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: replace FALSE with in kernel false Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
1b12068a804711ae2f4fd2876d5706542c1d7ad9 |
|
01-Aug-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: replace TRUE with in kernel true Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
3fc9b584c28095fe0d46cfb8bddafdf93947042e |
|
24-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove BYTE typedef Replace all occurrences with unsigned char type. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
2986db5fd31e312206d3ebfa4786aac04bdbe486 |
|
24-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove WORD typedef Replace all occurrences with unsigned short type. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
79566eb2df013f0ed20e548f4be0f8afbe78f9a3 |
|
21-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: move channel mapping code from card.c to channel.c Move functions managing the channel mapping to a new channel.c file, as done in the staging VT6656 driver. The function names contained in card.c were prefixed with CARD followed by the first letter of the return code, remove this and use more coherent function names. The following functions moved and were renamed: ChannelValid -> is_channel_valid CARDbSetChannel -> set_channel CARDvInitChannelTable -> init_channel_table CARDbyGetChannelMapping -> get_channel_mapping CARDvSetCountryInfo -> set_country_info CARDbySetSupportChannels -> set_support_channels CARDbChannelGetList -> channel_get_list CARDvSetCountryIE -> set_country_IE CARDbGetChannelMapInfo -> get_channel_map_info CARDvSetChannelMapInfo -> set_channel_map_info CARDvClearChannelMapInfo -> clear_channel_map_info CARDbyAutoChannelSelect -> auto_channel_select CARDbyGetChannelNumber -> get_channel_number Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
15df6c2b922de3088203ad90347a30d31ccca67e |
|
06-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove PWORD typedef Use unsigned short * instead. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
2989e96f17f2dcbd73aee37856899c2885df0686 |
|
06-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove PBYTE typedef Use unsigned char * instead. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
e3fd16d0819e3b316a4fe316e5f32032df61e9db |
|
02-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom ULONG typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
b6e95cd52a81079abc1def7867e27bf541953089 |
|
02-Jun-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove custom UINT typedef Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
6b1e6b8f957386e60e3fac15a64518c8f7ce5a69 |
|
20-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove unused argument in ChannelValid function Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
3a215e0ff4184314f7f1a099354a272ddedff289 |
|
13-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove IN definition Remove empty IN definition used to specify input parameters. Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
e64354c0be3b7134c85571a525b2e37fc4a95eef |
|
12-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove HANDLE definition and use Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
6b35b7b3798b652a57fbce480f350aac851431c4 |
|
07-May-2010 |
Charles Clément <caratorn@gmail.com> |
Staging: vt6655: remove VOID definition and use Signed-off-by: Charles Clément <caratorn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
a8ee05f54c9901f6497e05ae737c32a93c7a8f5e |
|
26-Oct-2009 |
Shawn Bohrer <shawn.bohrer@gmail.com> |
Staging: vt6655 remove duplicate includes Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
51b6d9c299f10780b3093d3748257ecc4ae7340d |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: Remove umem.h Part 1 Remove references to umem.h macros and refer directly to memcpy functions. Delete the include file. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
a7ad322a46663755718a214a9a34e5cfe64d07f7 |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: Clean up include files, Part 2 Remove cplusplus lines from include files Remove needless ifdefs on includes to conform with C conventions. Remove misc commented code/includes Update TODO Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
a884847a1a30be9a55d975f1e3fe8cf5f922bb79 |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: Typedef and macro cleanup Part 2 Clean up unused typedefs and macros to remove Win32'isms and misc non-linux constructs. Text edits to referencing source for less frequently used macros. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
612822f5dd1638de442cf50eb9da54632fba0e66 |
|
12-Aug-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt665x: Text janitor in prep for driver merge, part 2 Text only changes to remove textual differences between the vt6655 and vt6656 trees in prep for driver merge. Signed-off-by: Jim Lieb <lieb@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
7e809a9b10ab5ee985e23dea537e0236f026d1ca |
|
30-Jul-2009 |
Jim Lieb <lieb@canonical.com> |
Staging: vt6655 textual cleanup in prep for driver merge The vt6655 and vt6656 drivers are from a common origin but have drifted apart with minor textual differences. There are two changes: s/DEVICE_PRT/DBG_PRT/g and s/byPktTyp/byPktType/g This significantly reduces the differences between the two file sets in preparation to merging the common code. A few whitespace and text bits were also adjusted. Signed-off-by: Jim Lieb <lieb@canonical.com> Cc: Forest Bond <forest@alittletooquiet.net> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
5449c685a4b39534f18869a93896370224463715 |
|
25-Apr-2009 |
Forest Bond <forest@alittletooquiet.net> |
Staging: Add pristine upstream vt6655 driver sources Add pristine upstream vt6655 driver sources to drivers/staging/vt6655. These files were literally copied from the driver directory in the upstream source archive, available here: http://www.viaarena.com/Driver/vt6655_linux_src_v1.19.12_x86.zip Signed-off-by: Forest Bond <forest@alittletooquiet.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|