<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/vme/vme.c, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-02-09T11:15:07Z</updated>
<entry>
<title>vme: make remove callback return void</title>
<updated>2021-02-09T11:15:07Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2021-01-27T21:23:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2adc75fba3289455b9c4349dd6b95cfb7167b7ea'/>
<id>urn:sha1:2adc75fba3289455b9c4349dd6b95cfb7167b7ea</id>
<content type='text'>
The driver core ignores the return value of struct bus_type::remove()
because there is only little that can be done. To simplify the quest to
make this function return void, let struct vme_driver::remove return void,
too. There is only a single vme driver and it already returns 0
unconditionally in .remove().

Also fix the bus remove function to always return 0.

Signed-off-by: Uwe Kleine-König &lt;uwe@kleine-koenig.org&gt;
Link: https://lore.kernel.org/r/20210127212329.98517-1-uwe@kleine-koenig.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: fix two kernel-doc markups</title>
<updated>2020-11-09T17:39:46Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2020-10-23T16:33:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bd160690a6c064fd4459d006e50ba7cc7a7669c'/>
<id>urn:sha1:8bd160690a6c064fd4459d006e50ba7cc7a7669c</id>
<content type='text'>
Some identifiers have different names between their prototypes
and the kernel-doc markup.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
Link: https://lore.kernel.org/r/51bfb6724975302f66d64e4ad71de451a7cbbf99.1603469755.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: remove unneeded break</title>
<updated>2020-11-09T15:05:09Z</updated>
<author>
<name>Tom Rix</name>
</author>
<published>2020-10-19T16:51:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a80467a21ca4268f1d97daa1f43b66b86fe3887'/>
<id>urn:sha1:6a80467a21ca4268f1d97daa1f43b66b86fe3887</id>
<content type='text'>
A break is not needed if it is preceded by a return or goto

Signed-off-by: Tom Rix &lt;trix@redhat.com&gt;
Link: https://lore.kernel.org/r/20201019165112.29091-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
<updated>2019-05-30T18:26:32Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-05-27T06:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2874c5fd284268364ece81a7bd936f3c8168e567'/>
<id>urn:sha1:2874c5fd284268364ece81a7bd936f3c8168e567</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: remove unneeded kfree</title>
<updated>2018-09-14T13:25:57Z</updated>
<author>
<name>Ding Xiang</name>
</author>
<published>2018-09-06T08:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a71bcc1b09497d5cb7f24a7a6ce74d8ebd99d457'/>
<id>urn:sha1:a71bcc1b09497d5cb7f24a7a6ce74d8ebd99d457</id>
<content type='text'>
put_device will call vme_dev_release to free vdev, kfree is
unnecessary here.

Signed-off-by: Ding Xiang &lt;dingxiang@cmss.chinamobile.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vme: Fix a possible sleep-in-atomic bug in vme_tsi148</title>
<updated>2017-12-18T14:59:18Z</updated>
<author>
<name>Jia-Ju Bai</name>
</author>
<published>2017-12-12T12:51:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97784615ed32c1ef33047e95d4240141258e2cf0'/>
<id>urn:sha1:97784615ed32c1ef33047e95d4240141258e2cf0</id>
<content type='text'>
The driver may sleep under a spinlock.
The function call path is:
tsi148_master_write \ tsi148_master_read (acquire the spinlock)
  vme_register_error_handler
    kmalloc(GFP_KERNEL) --&gt; may sleep

To fix it, GFP_KERNEL is replaced with GFP_ATOMIC.

This bug is found by my static analysis tool(DSAC) and checked by my code review.

Signed-off-by: Jia-Ju Bai &lt;baijiaju1990@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>VME: Return -EBUSY when DMA list in use</title>
<updated>2017-11-08T13:26:50Z</updated>
<author>
<name>Martyn Welch</name>
</author>
<published>2017-10-24T06:27:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f13d1a8a801dae552ef495c84a223280586a9f67'/>
<id>urn:sha1:f13d1a8a801dae552ef495c84a223280586a9f67</id>
<content type='text'>
The VME subsystem currently returns -EBUSY when trying to free a DMA
resource that is busy, but returns -EINVAL when trying to free a DMA list
that is in use. Switch to returning -EBUSY when trying to free a DMA list
that is in use for consistency and correctness.

Signed-off-by: Martyn Welch &lt;martyn@welchs.me.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'vme-next-4.14-rc4' of https://gitlab.collabora.com/martyn/linux into char-misc-next</title>
<updated>2017-10-20T13:24:34Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-10-20T13:24:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad146e37d2a2f1cbf16bf4c7bbb9362f009a1480'/>
<id>urn:sha1:ad146e37d2a2f1cbf16bf4c7bbb9362f009a1480</id>
<content type='text'>
Martyn writes:

VME Subsystem changes for master v4.14-rc4:

 - Corrections across the VME subsystem to better align with the preferred
   kernel coding style.
</content>
</entry>
<entry>
<title>vme: Return directly in two functions</title>
<updated>2017-10-13T20:32:01Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2017-08-24T20:32:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8af70cd9d6dec3fb968613a8d5318039ac5497b1'/>
<id>urn:sha1:8af70cd9d6dec3fb968613a8d5318039ac5497b1</id>
<content type='text'>
Return directly without using an intermediate local variable
in these functions.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Martyn Welch &lt;martyn@welchs.me.uk&gt;
</content>
</entry>
<entry>
<title>vme: Adjust 48 checks for null pointers</title>
<updated>2017-10-13T20:32:01Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2017-08-24T20:24:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=61282c04984e405d3c79300e6008c3f5d60c280a'/>
<id>urn:sha1:61282c04984e405d3c79300e6008c3f5d60c280a</id>
<content type='text'>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written …

Thus fix the affected source code places.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Martyn Welch &lt;martyn@welchs.me.uk&gt;
</content>
</entry>
</feed>
