<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/staging/rtl8712, branch v5.7.4</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v5.7.4</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v5.7.4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2020-06-10T18:21:44+00:00</updated>
<entry>
<title>staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK</title>
<updated>2020-06-10T18:21:44+00:00</updated>
<author>
<name>Pascal Terjan</name>
<email>pterjan@google.com</email>
</author>
<published>2020-05-23T21:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9a07c5a296e8f98a34affdf1c7700b3f3b8925e5'/>
<id>urn:sha1:9a07c5a296e8f98a34affdf1c7700b3f3b8925e5</id>
<content type='text'>
commit 15ea976a1f12b5fd76b1bd6ff3eb5132fd28047f upstream.

The value in shared headers was fixed 9 years ago in commit 8d661f1e462d
("ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro") and
while looking at using shared headers for other duplicated constants
I noticed this driver uses the old value.

The macros are also defined twice in this file so I am deleting the
second definition.

Signed-off-by: Pascal Terjan &lt;pterjan@google.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20200523211247.23262-1-pterjan@google.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>staging: rtl8712: Remove unnecessary braces</title>
<updated>2020-03-20T14:07:44+00:00</updated>
<author>
<name>Gokce Kuler</name>
<email>gokcekuler@gmail.com</email>
</author>
<published>2020-03-20T00:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=04ff8b51ae7e22a4d753a6ad70fa6fad0437a3be'/>
<id>urn:sha1:04ff8b51ae7e22a4d753a6ad70fa6fad0437a3be</id>
<content type='text'>
Remove unnecessary braces for single statement block

Signed-off-by: Gokce Kuler &lt;gokcekuler@gmail.com&gt;
Link: https://lore.kernel.org/r/20200320000326.GA9349@siyah2
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: Fix for long lines in Kconfig help</title>
<updated>2020-03-19T14:11:34+00:00</updated>
<author>
<name>R Veera Kumar</name>
<email>vkor@vkten.in</email>
</author>
<published>2020-03-19T09:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a4cf37a67920c5456223a2f1246c35d9c551d93d'/>
<id>urn:sha1:a4cf37a67920c5456223a2f1246c35d9c551d93d</id>
<content type='text'>
Fixes two long line in Kconfig help.
Found using checkpatch.pl

Signed-off-by: R Veera Kumar &lt;vkor@vkten.in&gt;
Link: https://lore.kernel.org/r/20200319095513.GA3078@tulip.local
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: Correct a typo in a comment</title>
<updated>2020-03-19T14:09:10+00:00</updated>
<author>
<name>R Veera Kumar</name>
<email>vkor@vkten.in</email>
</author>
<published>2020-03-19T09:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=682a70647a75c58d0fc0973014eb9e0abfe84b6c'/>
<id>urn:sha1:682a70647a75c58d0fc0973014eb9e0abfe84b6c</id>
<content type='text'>
Correct a single typo in a comment.
Misspelling found using checkpatch.pl.

Signed-off-by: R Veera Kumar &lt;vkor@vkten.in&gt;
Link: https://lore.kernel.org/r/20200319094358.GA2751@tulip.local
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: Fixes for simple typos in C comments</title>
<updated>2020-03-12T11:54:34+00:00</updated>
<author>
<name>R Veera Kumar</name>
<email>vkor@vkten.in</email>
</author>
<published>2020-03-12T09:10:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c15e7f072288bc6d19bbab065a8b60ca096529bf'/>
<id>urn:sha1:c15e7f072288bc6d19bbab065a8b60ca096529bf</id>
<content type='text'>
Fixes for simple typos in C comments.
Found using checkpatch.pl.

Signed-off-by: R Veera Kumar &lt;vkor@vkten.in&gt;
Link: https://lore.kernel.org/r/20200312091042.GA4246@tulip.local
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: Replace zero-length array with flexible-array member</title>
<updated>2020-02-23T18:18:54+00:00</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavo@embeddedor.com</email>
</author>
<published>2020-02-20T13:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5979afa2c4d1c8acce28a176ebe27ea13265626a'/>
<id>urn:sha1:5979afa2c4d1c8acce28a176ebe27ea13265626a</id>
<content type='text'>
The current codebase makes use of the zero-length array language
extension to the C90 standard, but the preferred mechanism to declare
variable-length types such as these ones is a flexible array member[1][2],
introduced in C99:

struct foo {
        int stuff;
        struct boo array[];
};

By making use of the mechanism above, we will get a compiler warning
in case the flexible array does not occur last in the structure, which
will help us prevent some kind of undefined behavior bugs from being
inadvertently introduced[3] to the codebase from now on.

Also, notice that, dynamic memory allocations won't be affected by
this change:

"Flexible array members have incomplete type, and so the sizeof operator
may not be applied. As a quirk of the original implementation of
zero-length arrays, sizeof evaluates to zero."[1]

This issue was found with the help of Coccinelle.

[1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
[2] https://github.com/KSPP/linux/issues/21
[3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour")

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Link: https://lore.kernel.org/r/20200220132908.GA30501@embeddedor
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: simplify evm_db2percentage()</title>
<updated>2020-01-22T08:44:45+00:00</updated>
<author>
<name>Michael Straube</name>
<email>straube.linux@gmail.com</email>
</author>
<published>2020-01-18T19:53:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3063da91ca569ccafd6d07cd877d6d3588b2c85a'/>
<id>urn:sha1:3063da91ca569ccafd6d07cd877d6d3588b2c85a</id>
<content type='text'>
Use clamp() to simplify function evm_db2percentage() and reduce object
file size.

Signed-off-by: Michael Straube &lt;straube.linux@gmail.com&gt;
Link: https://lore.kernel.org/r/20200118195305.16685-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: fix interface sanity check</title>
<updated>2019-12-10T12:22:21+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2019-12-10T11:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c724f776f048538ecfdf53a52b7a522309f5c504'/>
<id>urn:sha1:c724f776f048538ecfdf53a52b7a522309f5c504</id>
<content type='text'>
Make sure to use the current alternate setting when verifying the
interface descriptors to avoid binding to an invalid interface.

Failing to do so could cause the driver to misbehave or trigger a WARN()
in usb_submit_urb() that kernels with panic_on_warn set would choke on.

Fixes: 2865d42c78a9 ("staging: r8712u: Add the new driver to the mainline kernel")
Cc: stable &lt;stable@vger.kernel.org&gt;     # 2.6.37
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Link: https://lore.kernel.org/r/20191210114751.5119-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl*: Remove tasklet callback casts</title>
<updated>2019-11-16T13:41:02+00:00</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2019-11-15T17:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6cfed598480493d814414ce7e53027bd6fc45c49'/>
<id>urn:sha1:6cfed598480493d814414ce7e53027bd6fc45c49</id>
<content type='text'>
In order to make the entire kernel usable under Clang's Control Flow
Integrity protections, function prototype casts need to be avoided
because this will trip CFI checks at runtime (i.e. a mismatch between
the caller's expected function prototype and the destination function's
prototype). Many of these cases can be found with -Wcast-function-type,
which found that the rtl wifi drivers had a bunch of needless function
casts. Remove function casts for tasklet callbacks in the various drivers.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/201911150926.2894A4F973@keescook
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: Fix Alignment of open parenthesis</title>
<updated>2019-10-28T15:43:57+00:00</updated>
<author>
<name>Cristiane Naves</name>
<email>cristianenavescardoso09@gmail.com</email>
</author>
<published>2019-10-28T15:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=21c42244f21231445a25ab70ea11affde0ab5814'/>
<id>urn:sha1:21c42244f21231445a25ab70ea11affde0ab5814</id>
<content type='text'>
Fix alignment should match open parenthesis. Issue found by checkpatch.

Signed-off-by: Cristiane Naves &lt;cristianenavescardoso09@gmail.com&gt;
Link: https://lore.kernel.org/r/2a6e8fbef7b9e72d95b7c4a7cbcce08a9e231d07.1572276208.git.cristianenavescardoso09@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
