<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/staging/rtl8712, branch v5.9</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Staging: rtl8712: Fixed a coding sytle issue</title>
<updated>2020-07-29T12:00:25+00:00</updated>
<author>
<name>Ankit Baluni</name>
<email>b18007@students.iitmandi.ac.in</email>
</author>
<published>2020-07-29T07:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=341a8f866e7252e7c0410fdd53fe513a9c12f3d2'/>
<id>341a8f866e7252e7c0410fdd53fe513a9c12f3d2</id>
<content type='text'>
Removed braces for a 'if' condition as it contain only single line &amp;
there is no need for braces for such case according to coding style
rules.

Signed-off-by: Ankit Baluni &lt;b18007@students.iitmandi.ac.in&gt;
Link: https://lore.kernel.org/r/20200729074541.1972-1-b18007@students.iitmandi.ac.in
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed braces for a 'if' condition as it contain only single line &amp;
there is no need for braces for such case according to coding style
rules.

Signed-off-by: Ankit Baluni &lt;b18007@students.iitmandi.ac.in&gt;
Link: https://lore.kernel.org/r/20200729074541.1972-1-b18007@students.iitmandi.ac.in
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Use fallthrough pseudo-keyword</title>
<updated>2020-07-28T08:18:52+00:00</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavoars@kernel.org</email>
</author>
<published>2020-07-27T18:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8dda212c69c9a42d062b36fdf6dd09cf6d3cd392'/>
<id>8dda212c69c9a42d062b36fdf6dd09cf6d3cd392</id>
<content type='text'>
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].

[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
Link: https://lore.kernel.org/r/20200727185838.GA29595@embeddedor
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].

[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
Link: https://lore.kernel.org/r/20200727185838.GA29595@embeddedor
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl*/security: Use static const in array declarations</title>
<updated>2020-07-17T10:08:44+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2020-07-15T17:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6cf2602159d2ac7e0494c1bbd164dd06bb2480ef'/>
<id>6cf2602159d2ac7e0494c1bbd164dd06bb2480ef</id>
<content type='text'>
Use static const in declarations where appropriate.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Link: https://lore.kernel.org/r/818bbd25924f0c733a4a39d426fd30392d4eae80.camel@perches.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use static const in declarations where appropriate.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Link: https://lore.kernel.org/r/818bbd25924f0c733a4a39d426fd30392d4eae80.camel@perches.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: handle firmware load failure</title>
<updated>2020-07-17T10:08:44+00:00</updated>
<author>
<name>Rustam Kovhaev</name>
<email>rkovhaev@gmail.com</email>
</author>
<published>2020-07-16T15:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b4383c971bc5263efe2b0915ba67ebf2bf3f1ee5'/>
<id>b4383c971bc5263efe2b0915ba67ebf2bf3f1ee5</id>
<content type='text'>
when firmware fails to load we should not call unregister_netdev()
this patch fixes a race condition between rtl871x_load_fw_cb() and
r871xu_dev_remove() and fixes the bug reported by syzbot

Reported-by: syzbot+80899a8a8efe8968cde7@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=80899a8a8efe8968cde7
Signed-off-by: Rustam Kovhaev &lt;rkovhaev@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20200716151324.1036204-1-rkovhaev@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when firmware fails to load we should not call unregister_netdev()
this patch fixes a race condition between rtl871x_load_fw_cb() and
r871xu_dev_remove() and fixes the bug reported by syzbot

Reported-by: syzbot+80899a8a8efe8968cde7@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=80899a8a8efe8968cde7
Signed-off-by: Rustam Kovhaev &lt;rkovhaev@gmail.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20200716151324.1036204-1-rkovhaev@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712/: Using comparison to true is error prone</title>
<updated>2020-07-10T11:55:11+00:00</updated>
<author>
<name>John Oldman</name>
<email>john.oldman@polehill.co.uk</email>
</author>
<published>2020-07-10T11:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=cb22ab20c969615296475b7068c891ca3a849fa9'/>
<id>cb22ab20c969615296475b7068c891ca3a849fa9</id>
<content type='text'>
clear below issues reported by checkpatch.pl:

CHECK: Using comparison to true is error prone
CHECK: Comparison to NULL should be written "!oldest"

Signed-off-by: John Oldman &lt;john.oldman@polehill.co.uk&gt;
Link: https://lore.kernel.org/r/20200710113113.1648-1-john.oldman@polehill.co.uk
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clear below issues reported by checkpatch.pl:

CHECK: Using comparison to true is error prone
CHECK: Comparison to NULL should be written "!oldest"

Signed-off-by: John Oldman &lt;john.oldman@polehill.co.uk&gt;
Link: https://lore.kernel.org/r/20200710113113.1648-1-john.oldman@polehill.co.uk
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Use proper format in call to dev_err()</title>
<updated>2020-07-10T11:54:45+00:00</updated>
<author>
<name>Mauro Dreissig</name>
<email>mukadr@gmail.com</email>
</author>
<published>2020-07-05T14:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a3232e64b4be06460d02ded09c5bd347b0a3a2b8'/>
<id>a3232e64b4be06460d02ded09c5bd347b0a3a2b8</id>
<content type='text'>
In the call to dev_err(), remove the cast of size_t to int
and change the format string accordingly.

As reported by the kernel test robot, the correct
format string for a size_t argument should be %zu.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-6-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the call to dev_err(), remove the cast of size_t to int
and change the format string accordingly.

As reported by the kernel test robot, the correct
format string for a size_t argument should be %zu.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-6-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Remove variable 'raw' from rtl871x_open_fw()</title>
<updated>2020-07-10T11:53:59+00:00</updated>
<author>
<name>Mauro Dreissig</name>
<email>mukadr@gmail.com</email>
</author>
<published>2020-07-05T14:35:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f1a4423ffa86643bad4ae1a8f9da3500d9f3cbd2'/>
<id>f1a4423ffa86643bad4ae1a8f9da3500d9f3cbd2</id>
<content type='text'>
Remove useless variable 'raw' from function rtl871x_open_fw()
making the code a bit easier to understand.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-5-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove useless variable 'raw' from function rtl871x_open_fw()
making the code a bit easier to understand.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-5-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Use ETH_ALEN instead of hardcoded value</title>
<updated>2020-07-10T11:53:59+00:00</updated>
<author>
<name>Mauro Dreissig</name>
<email>mukadr@gmail.com</email>
</author>
<published>2020-07-05T14:35:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f1c9ea1acf58f22f6e7c664f229e72d2a0c9bdea'/>
<id>f1c9ea1acf58f22f6e7c664f229e72d2a0c9bdea</id>
<content type='text'>
Use macro ETH_ALEN which defines the number of octets in
an ethernet address.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-4-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use macro ETH_ALEN which defines the number of octets in
an ethernet address.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-4-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Simplify expressions with boolean logic</title>
<updated>2020-07-10T11:53:59+00:00</updated>
<author>
<name>Mauro Dreissig</name>
<email>mukadr@gmail.com</email>
</author>
<published>2020-07-05T14:35:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4e4a6b7c18ef21abe8771f131c1ef80655769adb'/>
<id>4e4a6b7c18ef21abe8771f131c1ef80655769adb</id>
<content type='text'>
Simplify some expressions by using boolean operations.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-3-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify some expressions by using boolean operations.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-3-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: rtl8712: Replace constant 49152 with expression 48 * 1024</title>
<updated>2020-07-10T11:53:58+00:00</updated>
<author>
<name>Mauro Dreissig</name>
<email>mukadr@gmail.com</email>
</author>
<published>2020-07-05T14:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4911537c6b4115f4fd49e1190013555681735d74'/>
<id>4911537c6b4115f4fd49e1190013555681735d74</id>
<content type='text'>
This way we don't need the comment stating that 49152 equals 48k.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-2-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way we don't need the comment stating that 49152 equals 48k.

Signed-off-by: Mauro Dreissig &lt;mukadr@gmail.com&gt;
Link: https://lore.kernel.org/r/20200705143552.9368-2-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
