<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/rtl8712, branch v3.0</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>staging: r8712u: Fix driver to support ad-hoc mode</title>
<updated>2011-05-03T17:57:39+00:00</updated>
<author>
<name>Jeff Chua</name>
<email>jeff.chua.linux@gmail.com</email>
</author>
<published>2011-04-27T16:25:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=62819fd9481021db7f87d5f61f2e2fd2be1dfcfa'/>
<id>62819fd9481021db7f87d5f61f2e2fd2be1dfcfa</id>
<content type='text'>
Driver r8712u is unable to handle ad-hoc mode. The issue is that when
the driver first starts, there will not be an SSID for association.
The fix is to always call the "select and join from scan" routine when
in ad-hoc mode.

Note: Ad-hoc mode worked intermittently before. If the driver had
previously been associated, then things were OK.

Signed-off-by: Jeff Chua &lt;jeff.chua.linux@gmail.com&gt;
Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Cc: Stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Driver r8712u is unable to handle ad-hoc mode. The issue is that when
the driver first starts, there will not be an SSID for association.
The fix is to always call the "select and join from scan" routine when
in ad-hoc mode.

Note: Ad-hoc mode worked intermittently before. If the driver had
previously been associated, then things were OK.

Signed-off-by: Jeff Chua &lt;jeff.chua.linux@gmail.com&gt;
Signed-off-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Cc: Stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: Remove unnecessary semicolons when while (foo) {...};</title>
<updated>2011-04-25T23:58:34+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-04-10T21:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b0b0fb0fd519c7597d6bf4de7be660788cf2232c'/>
<id>b0b0fb0fd519c7597d6bf4de7be660788cf2232c</id>
<content type='text'>
Done via perl script:

$ cat remove_semi_while.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, '&lt;', $file)
	or die "$P: Can't open $file for read\n";
    $oldtext = do { local($/) ; &lt;$f&gt; };
    close($f);

    next if ($oldtext eq "");

    $text = $oldtext;

    my $count = 0;
    do {
	$count = 0;
	$count += $text =~ s@\b(while\s*${match_balanced_parentheses}\s*)${match_balanced_braces}\s*;@"$1$3"@egx;
    } while ($count &gt; 0);

    if ($text ne $oldtext) {
	my $newfile = $file;

	open($f, '&gt;', $newfile)
	    or die "$P: Can't open $newfile for write\n";
	print $f $text;
	close($f);
    }
}

$

One false positive removed.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Done via perl script:

$ cat remove_semi_while.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, '&lt;', $file)
	or die "$P: Can't open $file for read\n";
    $oldtext = do { local($/) ; &lt;$f&gt; };
    close($f);

    next if ($oldtext eq "");

    $text = $oldtext;

    my $count = 0;
    do {
	$count = 0;
	$count += $text =~ s@\b(while\s*${match_balanced_parentheses}\s*)${match_balanced_braces}\s*;@"$1$3"@egx;
    } while ($count &gt; 0);

    if ($text ne $oldtext) {
	my $newfile = $file;

	open($f, '&gt;', $newfile)
	    or die "$P: Can't open $newfile for write\n";
	print $f $text;
	close($f);
    }
}

$

One false positive removed.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: fixed coding style issues</title>
<updated>2011-04-20T21:13:31+00:00</updated>
<author>
<name>Javier M. Mellid</name>
<email>jmunhoz@igalia.com</email>
</author>
<published>2011-04-02T01:02:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2657c30e238424cfa666883d459dc132a9e1e59c'/>
<id>2657c30e238424cfa666883d459dc132a9e1e59c</id>
<content type='text'>
Fixed some style and format issues with code.

Signed-off-by: Javier M. Mellid &lt;jmunhoz@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed some style and format issues with code.

Signed-off-by: Javier M. Mellid &lt;jmunhoz@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: fixed coding style issues</title>
<updated>2011-04-20T21:13:31+00:00</updated>
<author>
<name>Javier M. Mellid</name>
<email>jmunhoz@igalia.com</email>
</author>
<published>2011-04-02T01:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0593758e4b71836d3a95714b626d273ee51173e0'/>
<id>0593758e4b71836d3a95714b626d273ee51173e0</id>
<content type='text'>
Fixed some style and format issues with headers.

Signed-off-by: Javier M. Mellid &lt;jmunhoz@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed some style and format issues with headers.

Signed-off-by: Javier M. Mellid &lt;jmunhoz@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Staging: rtl8712: redundant null check before kfree()</title>
<updated>2011-04-20T20:45:59+00:00</updated>
<author>
<name>Alexander Beregalov</name>
<email>a.beregalov@gmail.com</email>
</author>
<published>2011-03-26T17:18:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=400838659314cc67032f35962eee5a8639981b61'/>
<id>400838659314cc67032f35962eee5a8639981b61</id>
<content type='text'>
Signed-off-by: Alexander Beregalov &lt;a.beregalov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexander Beregalov &lt;a.beregalov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23+00:00</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Remove NULL check before kfree</title>
<updated>2011-03-14T18:57:35+00:00</updated>
<author>
<name>Ilia Mirkin</name>
<email>imirkin@alum.mit.edu</email>
</author>
<published>2011-03-13T05:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b7977fa250c1732d1fc1b5832f257655fd7471a4'/>
<id>b7977fa250c1732d1fc1b5832f257655fd7471a4</id>
<content type='text'>
This patch was generated by the following semantic patch:
// &lt;smpl&gt;
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// &lt;/smpl&gt;

Signed-off-by: Ilia Mirkin &lt;imirkin@alum.mit.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch was generated by the following semantic patch:
// &lt;smpl&gt;
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// &lt;/smpl&gt;

Signed-off-by: Ilia Mirkin &lt;imirkin@alum.mit.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: check _malloc return value</title>
<updated>2011-03-07T21:46:38+00:00</updated>
<author>
<name>Xiaochen Wang</name>
<email>wangxiaochen0@gmail.com</email>
</author>
<published>2011-03-06T14:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4495c15f29a11c41d0a69a6e848307b0db7cc196'/>
<id>4495c15f29a11c41d0a69a6e848307b0db7cc196</id>
<content type='text'>
Description: The original check is wrong.

Signed-off-by: Xiaochen Wang &lt;wangxiaochen0@gmail.com&gt;
Acked-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Description: The original check is wrong.

Signed-off-by: Xiaochen Wang &lt;wangxiaochen0@gmail.com&gt;
Acked-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: check copy_from_user return value</title>
<updated>2011-03-07T21:46:38+00:00</updated>
<author>
<name>Xiaochen Wang</name>
<email>wangxiaochen0@gmail.com</email>
</author>
<published>2011-03-06T14:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cd92274093876c57fa4de0f219a552911ef9adc6'/>
<id>cd92274093876c57fa4de0f219a552911ef9adc6</id>
<content type='text'>
Description:return -EFAULT if copy_to_user() fails

Signed-off-by: Xiaochen Wang &lt;wangxiaochen0@gmail.com&gt;
Acked-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Description:return -EFAULT if copy_to_user() fails

Signed-off-by: Xiaochen Wang &lt;wangxiaochen0@gmail.com&gt;
Acked-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: rtl871x_pwrctrl.c remove one to many l's in the word.</title>
<updated>2011-03-01T02:24:48+00:00</updated>
<author>
<name>Justin P. Mattock</name>
<email>justinmattock@gmail.com</email>
</author>
<published>2011-02-25T06:14:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3cbeb42e1e224338bfd4ad5f173b925a31cfb1e2'/>
<id>3cbeb42e1e224338bfd4ad5f173b925a31cfb1e2</id>
<content type='text'>
The patch below removes an extra "l" in the word.

Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The patch below removes an extra "l" in the word.

Signed-off-by: Justin P. Mattock &lt;justinmattock@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
