<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/rts5208/ms.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/rts5208/ms.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/rts5208/ms.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-03-02T15:34:24Z</updated>
<entry>
<title>staging: rts5208: fix Lines should not end with a '('.</title>
<updated>2022-03-02T15:34:24Z</updated>
<author>
<name>Samuel Sjöberg</name>
<email>info@samuelsjoberg.se</email>
</author>
<published>2022-03-02T15:03:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b25c7dc13fb8842e8634bd846a7a96f2176f0244'/>
<id>urn:sha1:b25c7dc13fb8842e8634bd846a7a96f2176f0244</id>
<content type='text'>
Fix the following check reported by checkpatch.pl:

CHECK: Lines should not end with a '('
                                        retval = ms_transfer_tpc(

Signed-off-by: Samuel Sjöberg &lt;info@samuelsjoberg.se&gt;
Link: https://lore.kernel.org/r/20220302150328.2722-1-info@samuelsjoberg.se
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: remove unnecessary parentheses in ms.c</title>
<updated>2021-09-18T14:26:48Z</updated>
<author>
<name>Benjamin Philip</name>
<email>benjamin.philip495@gmail.com</email>
</author>
<published>2021-09-18T06:57:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7b228bdf87c20f6240714a1d3a32d74001715adc'/>
<id>urn:sha1:7b228bdf87c20f6240714a1d3a32d74001715adc</id>
<content type='text'>
This commit removes unnecessary parentheses, that have been flagged
by checkpatch.pl in ms.c

Signed-off-by: Benjamin Philip &lt;benjamin.philip495@gmail.com&gt;
Link: https://lore.kernel.org/r/20210918065744.26304-1-benjamin.philip495@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: remove redundant continue statement</title>
<updated>2021-06-18T11:02:47Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2021-06-17T12:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=609e9339dc71241512f053adbab6e571c63dffe9'/>
<id>urn:sha1:609e9339dc71241512f053adbab6e571c63dffe9</id>
<content type='text'>
The continue statement at the end of a for-loop has no effect,
remove it.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Addresses-Coverity: ("Continue has no effect")
Link: https://lore.kernel.org/r/20210617120411.11612-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: Use array_size() helper in vmalloc() and memset()</title>
<updated>2020-06-18T07:57:57Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavoars@kernel.org</email>
</author>
<published>2020-06-16T17:55:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9e43eed45a48042573a5f3f27ccc15f8f9bb42e0'/>
<id>urn:sha1:9e43eed45a48042573a5f3f27ccc15f8f9bb42e0</id>
<content type='text'>
The vmalloc() function has no 2-factor argument form, so multiplication
factors need to be wrapped in array_size(). Also, while there, use
array_size() in memset().

This issue was found with the help of Coccinelle and, audited and fixed
manually.

Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83
Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
Link: https://lore.kernel.org/r/20200616175543.GA28687@embeddedor
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: Eliminate the use of Camel Case in files ms.{h, c}</title>
<updated>2019-11-01T09:53:16Z</updated>
<author>
<name>Gabriela Bittencourt</name>
<email>gabrielabittencourt00@gmail.com</email>
</author>
<published>2019-10-31T23:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6e653e9cac2d4b53ac2ca5442a9ec7b38f9c62c8'/>
<id>urn:sha1:6e653e9cac2d4b53ac2ca5442a9ec7b38f9c62c8</id>
<content type='text'>
Cleans up checks of "Avoid CamelCase" in files ms.{h,c}

Signed-off-by: Gabriela Bittencourt &lt;gabrielabittencourt00@gmail.com&gt;

Link: https://lore.kernel.org/r/20191031230243.3462-2-gabrielabittencourt00@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: remove redundant assignment to retval</title>
<updated>2019-08-21T12:48:06Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2019-08-18T18:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8467c3b456b57fcb4b3179c34c20cbc9c88956c5'/>
<id>urn:sha1:8467c3b456b57fcb4b3179c34c20cbc9c88956c5</id>
<content type='text'>
Variable retval is initialized to a value that is never read and it
is re-assigned later. The initialization is redundant and can be
removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Link: https://lore.kernel.org/r/20190818184649.13828-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: Add a check for ms_read_extra_data</title>
<updated>2019-01-07T07:56:07Z</updated>
<author>
<name>Aditya Pakki</name>
<email>pakki001@umn.edu</email>
</author>
<published>2018-12-27T19:35:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=73b69c01cc925d9c48e5b4f78e3d8b88c4e5b924'/>
<id>urn:sha1:73b69c01cc925d9c48e5b4f78e3d8b88c4e5b924</id>
<content type='text'>
In ms_copy_page, the function ms_read_extra_data may fail for many
reasons. The fix adds a check similar to other invocation to return
error upstream.

Signed-off-by: Aditya Pakki &lt;pakki001@umn.edu&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: rts5208: Add SPDX license tags</title>
<updated>2018-11-05T13:16:33Z</updated>
<author>
<name>Kim Bradley</name>
<email>kim.jamie.bradley@gmail.com</email>
</author>
<published>2018-10-22T20:10:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bb1e67793f3ee42449f60c2288096da01199443e'/>
<id>urn:sha1:bb1e67793f3ee42449f60c2288096da01199443e</id>
<content type='text'>
Add SPDX license tags to remove checkpatch SPDX warnings.

Signed-off-by: Kim Bradley &lt;kim.jamie.bradley@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rts5208: Remove unnecessary braces {}</title>
<updated>2018-09-25T19:10:36Z</updated>
<author>
<name>Aymen Qader</name>
<email>qader.aymen@gmail.com</email>
</author>
<published>2018-09-20T13:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9f902b495b537e7e940e002297251e0525292139'/>
<id>urn:sha1:9f902b495b537e7e940e002297251e0525292139</id>
<content type='text'>
This patch fixes the checkpatch.pl warning "braces {} are not necessary"
in the rts5208 driver. Mostly applies to single-line return/goto if
blocks.

Signed-off-by: Aymen Qader &lt;qader.aymen@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: rtsx: remove rtsx_trace() and related code</title>
<updated>2018-06-28T13:10:47Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2018-06-18T14:38:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c238d7b1e5fd6416458d7a7295a6d20ab56a3baa'/>
<id>urn:sha1:c238d7b1e5fd6416458d7a7295a6d20ab56a3baa</id>
<content type='text'>
The driver has rather excessive amount of tracing code, which would be
better done using ftrace. This is obviously not a main feature of the
driver, and it should work just as well without it.

Removing it saves over 1300 lines of code and likely makes the driver
a bit faster by avoiding lots of calls into the timekeeping code.

I came across this while cleaning up the last users of the deprecated
getnstimeofday64() function, of which there is one in the now-removed
get_current_time() function of the rtsx driver that was only used for
tracing.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
