<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ssb, branch v5.14</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.14</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.14'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2021-06-15T10:11:56Z</updated>
<entry>
<title>ssb: use DEVICE_ATTR_ADMIN_RW() helper macro</title>
<updated>2021-06-15T10:11:56Z</updated>
<author>
<name>Zhen Lei</name>
<email>thunder.leizhen@huawei.com</email>
</author>
<published>2021-06-03T08:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=573f1af86891d4ecda9f7f1073dccec28c469387'/>
<id>urn:sha1:573f1af86891d4ecda9f7f1073dccec28c469387</id>
<content type='text'>
Use DEVICE_ATTR_ADMIN_RW() helper macro instead of DEVICE_ATTR(), making
it simpler and easier to read.

Because the read and write function names of the sysfs attribute have been
normalized, there is a natural association.

Signed-off-by: Zhen Lei &lt;thunder.leizhen@huawei.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210603082218.11718-2-thunder.leizhen@huawei.com
</content>
</entry>
<entry>
<title>ssb: remove unreachable code</title>
<updated>2021-06-15T10:11:34Z</updated>
<author>
<name>Tian Tao</name>
<email>tiantao6@hisilicon.com</email>
</author>
<published>2021-05-18T02:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=233bc283728241aa522fd2889649261b742cee5a'/>
<id>urn:sha1:233bc283728241aa522fd2889649261b742cee5a</id>
<content type='text'>
The return value of ssb_bus_unregister can only be 0 or -1, so this
condition if (err == -EBUSY) will not hold, so delete it.

Signed-off-by: Tian Tao &lt;tiantao6@hisilicon.com&gt;
Acked-by: Michael Büsch &lt;m@bues.ch&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/1621306352-3632-1-git-send-email-tiantao6@hisilicon.com
</content>
</entry>
<entry>
<title>ssb: sdio: Don't overwrite const buffer if block_write fails</title>
<updated>2021-06-15T10:10:59Z</updated>
<author>
<name>Michael Büsch</name>
<email>m@bues.ch</email>
</author>
<published>2021-05-15T19:02:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=47ec636f7a25aa2549e198c48ecb6b1c25d05456'/>
<id>urn:sha1:47ec636f7a25aa2549e198c48ecb6b1c25d05456</id>
<content type='text'>
It doesn't make sense to clobber the const driver-side buffer, if a
write-to-device attempt failed. All other SSB variants (PCI, PCMCIA and SoC)
also don't corrupt the buffer on any failure in block_write.
Therefore, remove this memset from the SDIO variant.

Signed-off-by: Michael Büsch &lt;m@bues.ch&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210515210252.318be2ba@wiggum
</content>
</entry>
<entry>
<title>ssb: Fix error return code in ssb_bus_scan()</title>
<updated>2021-06-15T10:10:42Z</updated>
<author>
<name>Zhen Lei</name>
<email>thunder.leizhen@huawei.com</email>
</author>
<published>2021-05-15T07:29:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=77a0989baa427dbd242c5784d05a53ca3d197d43'/>
<id>urn:sha1:77a0989baa427dbd242c5784d05a53ca3d197d43</id>
<content type='text'>
Fix to return -EINVAL from the error handling case instead of 0, as done
elsewhere in this function.

Fixes: 61e115a56d1a ("[SSB]: add Sonics Silicon Backplane bus support")
Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Zhen Lei &lt;thunder.leizhen@huawei.com&gt;
Acked-by: Michael Büsch &lt;m@bues.ch&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210515072949.7151-1-thunder.leizhen@huawei.com
</content>
</entry>
<entry>
<title>ssb: Remove redundant assignment to err</title>
<updated>2021-06-15T10:10:16Z</updated>
<author>
<name>Yang Li</name>
<email>yang.lee@linux.alibaba.com</email>
</author>
<published>2021-04-29T10:47:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7557dfde1bd1251793fade20a52014f1105c1012'/>
<id>urn:sha1:7557dfde1bd1251793fade20a52014f1105c1012</id>
<content type='text'>
Variable 'err' is set to zero but this value is never read as it is
overwritten with a new value later on, hence it is a redundant
assignment and can be removed.

Clean up the following clang-analyzer warning:

drivers/ssb/main.c:1306:3: warning: Value stored to 'err' is never read
[clang-analyzer-deadcode.DeadStores]
drivers/ssb/main.c:1312:3: warning: Value stored to 'err' is never read
[clang-analyzer-deadcode.DeadStores]

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Signed-off-by: Yang Li &lt;yang.lee@linux.alibaba.com&gt;
Acked-by: Michael Büsch &lt;m@bues.ch&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/1619693230-108804-1-git-send-email-yang.lee@linux.alibaba.com
</content>
</entry>
<entry>
<title>ssb: Fix indentation of comment</title>
<updated>2021-06-15T10:09:55Z</updated>
<author>
<name>Shubhankar Kuranagatti</name>
<email>shubhankarvk@gmail.com</email>
</author>
<published>2021-04-28T16:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f30282129a4d47bf44805c712be1ac4f89eb8783'/>
<id>urn:sha1:f30282129a4d47bf44805c712be1ac4f89eb8783</id>
<content type='text'>
Shifted the closing */ to the next line
This is done to maintain code uniformity.

Acked-by: Michael Büsch &lt;m@bues.ch&gt;
Signed-off-by: Shubhankar Kuranagatti &lt;shubhankarvk@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210428162907.bn5q3oh3sji6wlh4@kewl-virtual-machine
</content>
</entry>
<entry>
<title>ssb: pcicore: Fix indentation of comment</title>
<updated>2021-06-15T10:09:30Z</updated>
<author>
<name>Shubhankar Kuranagatti</name>
<email>shubhankarvk@gmail.com</email>
</author>
<published>2021-04-28T16:18:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a3d830fa8f9a6148473367085a9eafd665fb20f'/>
<id>urn:sha1:2a3d830fa8f9a6148473367085a9eafd665fb20f</id>
<content type='text'>
Shifted the closing */ to the next line
This is done to maintain code uniformity.

Acked-by: Michael Büsch &lt;m@bues.ch&gt;
Signed-off-by: Shubhankar Kuranagatti &lt;shubhankarvk@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210428161836.sdrxzcrfiekloucz@kewl-virtual-machine
</content>
</entry>
<entry>
<title>ssb: gpio: Fix alignment of comment</title>
<updated>2021-06-15T10:09:06Z</updated>
<author>
<name>Shubhankar Kuranagatti</name>
<email>shubhankarvk@gmail.com</email>
</author>
<published>2021-04-28T16:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5615eb58b2384bc1d6461c75b8bf77ad96f7842d'/>
<id>urn:sha1:5615eb58b2384bc1d6461c75b8bf77ad96f7842d</id>
<content type='text'>
The closing */ has been shifted to a new line
This is done to maintain code uniformity.

Acked-by: Michael Büsch &lt;m@bues.ch&gt;
Signed-off-by: Shubhankar Kuranagatti &lt;shubhankarvk@gmail.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210428160747.qy23g6zpmheiacpl@kewl-virtual-machine
</content>
</entry>
<entry>
<title>ssb: Remove meaningless jump label to simplify the code</title>
<updated>2020-09-21T13:01:35Z</updated>
<author>
<name>Jing Xiangfeng</name>
<email>jingxiangfeng@huawei.com</email>
</author>
<published>2020-09-15T02:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=41650c45fbd2d687c5d140be1779600d84201b72'/>
<id>urn:sha1:41650c45fbd2d687c5d140be1779600d84201b72</id>
<content type='text'>
The out jump label has nothing to do. So remove it to simplify the code.

Signed-off-by: Jing Xiangfeng &lt;jingxiangfeng@huawei.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20200915020330.96067-1-jingxiangfeng@huawei.com
</content>
</entry>
<entry>
<title>treewide: Use fallthrough pseudo-keyword</title>
<updated>2020-08-23T22:36:59Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavoars@kernel.org</email>
</author>
<published>2020-08-23T22:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=df561f6688fef775baa341a0f5d960becd248b11'/>
<id>urn:sha1:df561f6688fef775baa341a0f5d960becd248b11</id>
<content type='text'>
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.

[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
</content>
</entry>
</feed>
