<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/pinctrl/sunplus/sppctl.c, branch v6.1.168</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.1.168'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2023-07-19T14:21:37+00:00</updated>
<entry>
<title>pinctrl:sunplus: Add check for kmalloc</title>
<updated>2023-07-19T14:21:37+00:00</updated>
<author>
<name>Wells Lu</name>
<email>wellslutw@gmail.com</email>
</author>
<published>2023-05-28T12:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fc45a8be5e5289439ac9b0b3795d709baff04bf1'/>
<id>urn:sha1:fc45a8be5e5289439ac9b0b3795d709baff04bf1</id>
<content type='text'>
[ Upstream commit 73f8ce7f961afcb3be49352efeb7c26cc1c00cc4 ]

Fix Smatch static checker warning:
potential null dereference 'configs'. (kmalloc returns null)

Changes in v2:
1. Add free allocated memory before returned -ENOMEM.
2. Add call of_node_put() before returned -ENOMEM.

Fixes: aa74c44be19c ("pinctrl: Add driver for Sunplus SP7021")
Signed-off-by: Wells Lu &lt;wellslutw@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Link: https://lore.kernel.org/r/1685277277-12209-1-git-send-email-wellslutw@gmail.com
[Rebased on the patch from Lu Hongfei]
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: sunplus: Add check for kmalloc</title>
<updated>2023-07-19T14:21:35+00:00</updated>
<author>
<name>Wells Lu</name>
<email>wellslutw@gmail.com</email>
</author>
<published>2023-05-28T12:34:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=019d4fd93a5ad51648c3cd1fcff41d214224b39a'/>
<id>urn:sha1:019d4fd93a5ad51648c3cd1fcff41d214224b39a</id>
<content type='text'>
[ Upstream commit a5961bed5429cf1134d7f539b4ed60317012f84d ]

Fix Smatch static checker warning:
potential null dereference 'configs'. (kmalloc returns null)

Fixes: aa74c44be19c ("pinctrl: Add driver for Sunplus SP7021")
Signed-off-by: Wells Lu &lt;wellslutw@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Link: https://lore.kernel.org/r/1685277277-12209-1-git-send-email-wellslutw@gmail.com
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: sunplus: Add check for kcalloc</title>
<updated>2022-07-11T13:04:19+00:00</updated>
<author>
<name>William Dean</name>
<email>williamsukatube@gmail.com</email>
</author>
<published>2022-07-10T15:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=acf50233fc979b566e3b87d329191dcd01e2a72c'/>
<id>urn:sha1:acf50233fc979b566e3b87d329191dcd01e2a72c</id>
<content type='text'>
As the potential failure of the kcalloc(),
it should be better to check it in order to
avoid the dereference of the NULL pointer.

Fixes: aa74c44be19c8 ("pinctrl: Add driver for Sunplus SP7021")
Reported-by: Hacash Robot &lt;hacashRobot@santino.com&gt;
Signed-off-by: William Dean &lt;williamsukatube@gmail.com&gt;
Link: https://lore.kernel.org/r/20220710154822.2610801-1-williamsukatube@163.com
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: Add driver for Sunplus SP7021</title>
<updated>2022-01-30T01:55:41+00:00</updated>
<author>
<name>Wells Lu</name>
<email>wellslutw@gmail.com</email>
</author>
<published>2022-01-16T14:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=aa74c44be19c8b1de38d955c2c45c309991c805a'/>
<id>urn:sha1:aa74c44be19c8b1de38d955c2c45c309991c805a</id>
<content type='text'>
Add driver for Sunplus SP7021 SoC.

Signed-off-by: Wells Lu &lt;wellslutw@gmail.com&gt;
Link: https://lore.kernel.org/r/1642344734-27229-3-git-send-email-wellslutw@gmail.com
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
