<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/staging/kpc2000, 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-05-13T12:00:20+00:00</updated>
<entry>
<title>staging: kpc2000: fix error return code in kp2000_pcie_probe()</title>
<updated>2020-05-13T12:00:20+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyongjun1@huawei.com</email>
</author>
<published>2020-05-06T13:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b17884ccf29e127b16bba6aea1438c851c9f5af1'/>
<id>urn:sha1:b17884ccf29e127b16bba6aea1438c851c9f5af1</id>
<content type='text'>
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function. Also
removed var 'rv' since we can use 'err' instead.

Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Reviewed-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Link: https://lore.kernel.org/r/20200506134735.102041-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Use spaces around operators.</title>
<updated>2020-03-25T18:38:40+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5b2765858aaa78ec1c103b90850d62de9825d2f6'/>
<id>urn:sha1:5b2765858aaa78ec1c103b90850d62de9825d2f6</id>
<content type='text'>
Cleanup Checkpatch.pl CHECKs about missing
spaces around multiple operators.

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/22025abc8f8f3452c2d886e8faf1fe0532e8bb1d.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Use kcalloc over kzalloc.</title>
<updated>2020-03-25T18:38:40+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=edf279abbac989ebd70c954bf1cd5a25157a78e5'/>
<id>urn:sha1:edf279abbac989ebd70c954bf1cd5a25157a78e5</id>
<content type='text'>
Replace kzalloc(sizeof(...) * n, ...) with
kcalloc(n, sizeof(...), ...) since kcalloc is the
preferred API in case of allocating with multiply.

Checkpatch.pl: WARNING:
Prefer kcalloc over kzalloc with multiply.

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/4b8339d1e81e497c3c2f0dad57a9587338ec82b1.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Use the SPDK comment style.</title>
<updated>2020-03-25T18:38:40+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dbec450e2d522815fb16dd96aff4c244001eddf8'/>
<id>urn:sha1:dbec450e2d522815fb16dd96aff4c244001eddf8</id>
<content type='text'>
SPDK-License-Identifier comment should have this form
// SPDX-License-Identifier: &lt;GPL-...&gt;

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/7531e3e3fa7c046e93d2caaa6fa2e76c5c53f04d.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Include the preferred header.</title>
<updated>2020-03-25T18:38:39+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ba86697622f980fe62b1e736e754df427418e7ec'/>
<id>urn:sha1:ba86697622f980fe62b1e736e754df427418e7ec</id>
<content type='text'>
&lt;linux/io.h&gt; is the preferred header to include
instead of &lt;asm/io.h&gt;.

Checkpatch.pl WARNING:
Use #include &lt;linux/io.h&gt; instead of &lt;asm/io.h&gt;

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/c7a824c3a2ddc5f44bd89504b8c03a328d69f81d.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Remove unnecessary braces.</title>
<updated>2020-03-25T18:38:39+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b1436fe3e286fc1b04b3f4900905230b00a6b8fd'/>
<id>urn:sha1:b1436fe3e286fc1b04b3f4900905230b00a6b8fd</id>
<content type='text'>
Remove braces of single statement blocks,
they are not really needed.

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/0a3ec63321dce008fc8dd790f42ef8490135b307.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Use sizeof(*var) in kzalloc().</title>
<updated>2020-03-25T18:38:39+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5122be4f4fc69e507c874823efcef24e14634614'/>
<id>urn:sha1:5122be4f4fc69e507c874823efcef24e14634614</id>
<content type='text'>
kzalloc(sizeof(*var), ...) was the format been used
across the driver, which is the preferred format,
but missed two instances, correct them to match the
coding standards.

Checkpatch.pl CHECK: Prefer kzalloc(sizeof(*var)...)
over kzalloc(sizeof(struct var)...)

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/bbb3adbd20ae89db6a0d3360bc09d22eed778e86.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: kpc2000: kpc_dma: Remove comparison to NULL.</title>
<updated>2020-03-25T18:38:39+00:00</updated>
<author>
<name>Sam Muhammed</name>
<email>jane.pnx9@gmail.com</email>
</author>
<published>2020-03-25T14:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0af192c755bdfe0476d3ffc99e8483644c026deb'/>
<id>urn:sha1:0af192c755bdfe0476d3ffc99e8483644c026deb</id>
<content type='text'>
Comparison to NULL been used across the driver,
remove them and use (!var) instead.

Checkpatch.pl: CHECK:
Comparison to NULL could be written "!desc"... etc

Signed-off-by: Sam Muhammed &lt;jane.pnx9@gmail.com&gt;
Link: https://lore.kernel.org/r/f344afba0a8bb0413941a63678688435f04a96b4.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: kpc2000: kpc2000_spi: Use new structure for SPI transfer delays</title>
<updated>2020-03-10T09:51:20+00:00</updated>
<author>
<name>Sergiu Cuciurean</name>
<email>sergiu.cuciurean@analog.com</email>
</author>
<published>2020-03-04T07:37:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=19a91ec87a1469189157ba3a9d327c730c372d8c'/>
<id>urn:sha1:19a91ec87a1469189157ba3a9d327c730c372d8c</id>
<content type='text'>
In a recent change to the SPI subsystem in commit &lt;bebcfd272df6&gt;
("spi: introduce `delay` field for `spi_transfer` +
spi_transfer_delay_exec()"), a new `delay` struct was added
to replace the `delay_usecs`. This change replaces the current
`delay_usecs` with `delay` for this driver.

The `spi_transfer_delay_exec()` function [in the SPI framework] makes sure
that both `delay_usecs` &amp; `delay` are used (in this order to preserve
backwards compatibility).

Signed-off-by: Sergiu Cuciurean &lt;sergiu.cuciurean@analog.com&gt;
Link: https://lore.kernel.org/r/20200304073746.19664-1-sergiu.cuciurean@analog.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: kpc2000: prevent underflow in cpld_reconfigure()</title>
<updated>2020-03-04T06:52:31+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2020-02-24T10:33:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=72db61d7d17a475d3cc9de1a7c871d518fcd82f0'/>
<id>urn:sha1:72db61d7d17a475d3cc9de1a7c871d518fcd82f0</id>
<content type='text'>
This function should not allow negative values of "wr_val".  If
negatives are allowed then capping the upper bound at 7 is
meaningless.  Let's make it unsigned.

Fixes: 7dc7967fc39a ("staging: kpc2000: add initial set of Daktronics drivers")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Link: https://lore.kernel.org/r/20200224103325.hrxdnaeqsthplu42@kili.mountain
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
