<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blackbird-op-linux/drivers/staging/rtl8712, branch master</title>
<subtitle>Blackbird™ Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/blackbird-op-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/'/>
<updated>2020-01-22T08:44:45+00:00</updated>
<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.raptorcs.com/git/blackbird-op-linux/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.raptorcs.com/git/blackbird-op-linux/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.raptorcs.com/git/blackbird-op-linux/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.raptorcs.com/git/blackbird-op-linux/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>
<entry>
<title>staging: rtl8712: Remove lines before a close brace</title>
<updated>2019-10-27T07:16:57+00:00</updated>
<author>
<name>Cristiane Naves</name>
<email>cristianenavescardoso09@gmail.com</email>
</author>
<published>2019-10-26T20:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=21cc07a1c16f84da84ee7743954096a75e1974f1'/>
<id>urn:sha1:21cc07a1c16f84da84ee7743954096a75e1974f1</id>
<content type='text'>
Fix Blank lines aren't necessary before a close brace '}'. Issue found
by checkpatch.

Signed-off-by: Cristiane Naves &lt;cristianenavescardoso09@gmail.com&gt;
Link: https://lore.kernel.org/r/8c74dcd9afaa528a80804081f582792045bb7a7a.1572121059.git.cristianenavescardoso09@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: clean up function headers</title>
<updated>2019-10-14T13:36:55+00:00</updated>
<author>
<name>Wambui Karuga</name>
<email>wambui.karugax@gmail.com</email>
</author>
<published>2019-10-12T22:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=02d7aa2f3bfa3969f9805a47dd620609f31bb626'/>
<id>urn:sha1:02d7aa2f3bfa3969f9805a47dd620609f31bb626</id>
<content type='text'>
Remove unnecessary line-breaks in function headers to
improve readability of function headers.

Signed-off-by: Wambui Karuga &lt;wambui.karugax@gmail.com&gt;
Link: https://lore.kernel.org/r/c14b9e60b1e9bab635bc9527cbd2a2a07436ba44.1570918228.git.wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: remove unnecessary return variables</title>
<updated>2019-10-14T13:36:54+00:00</updated>
<author>
<name>Wambui Karuga</name>
<email>wambui.karugax@gmail.com</email>
</author>
<published>2019-10-12T22:19:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=f89c7d575d7c8b92c53e5472d90d542bbdeb47f6'/>
<id>urn:sha1:f89c7d575d7c8b92c53e5472d90d542bbdeb47f6</id>
<content type='text'>
Remove variables that are only used to hold and return constants and
have the functions directly return the constants.

Issue found by coccinelle:
@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Wambui Karuga &lt;wambui.karugax@gmail.com&gt;
Link: https://lore.kernel.org/r/f61a0f036af24228c682c6b12c3a8e6cf6736185.1570918228.git.wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: Align function arguments with opening paranthesis</title>
<updated>2019-10-10T09:00:59+00:00</updated>
<author>
<name>Wambui Karuga</name>
<email>wambui.karugax@gmail.com</email>
</author>
<published>2019-10-08T19:53:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=06f9c65a8dd46f375de62868e89eb645a76eb0fc'/>
<id>urn:sha1:06f9c65a8dd46f375de62868e89eb645a76eb0fc</id>
<content type='text'>
Fixes checkpatch.pl "CHECK Alignment should match open parenthesis"
on drivers/staging/rtl8712/rtl8712_recv.c:122

Signed-off-by: Wambui Karuga &lt;wambui.karugax@gmail.com&gt;
Link: https://lore.kernel.org/r/20191008195350.20544-1-wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: align arguments with open parenthesis in file rtl8712_led.c</title>
<updated>2019-10-07T10:29:36+00:00</updated>
<author>
<name>Gabriela Bittencourt</name>
<email>gabrielabittencourt00@gmail.com</email>
</author>
<published>2019-10-07T00:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=402bd53e964f60ef9ef87eb3c210e161dd039f80'/>
<id>urn:sha1:402bd53e964f60ef9ef87eb3c210e161dd039f80</id>
<content type='text'>
Cleans up checks of "Alignment should match open parenthesis"

Signed-off-by: Gabriela Bittencourt &lt;gabrielabittencourt00@gmail.com&gt;
Link: https://lore.kernel.org/r/20191007003902.21911-1-gabrielabittencourt00@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtl8712: fix boundary condition for n</title>
<updated>2019-10-04T08:16:49+00:00</updated>
<author>
<name>Rohit Sarkar</name>
<email>rohitsarkar5398@gmail.com</email>
</author>
<published>2019-10-02T17:05:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=b664312285eb6bb9378159f2fea02e39886a7012'/>
<id>urn:sha1:b664312285eb6bb9378159f2fea02e39886a7012</id>
<content type='text'>
Now that snprintf is replaced by scnprintf n &gt;= MAX_WPA_IE_LEN doesn't
make sense as the maximum value n can take is MAX_WPA_IE_LEN.

Signed-off-by: Rohit Sarkar &lt;rohitsarkar5398@gmail.com&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/20191002170518.GA1688@SARKAR
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
