Skip to contentSkip to conversation

vfio-ccw fix

GIT PULL Cornelia Huck 2 participants 3 messages Jul 3, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

The following changes since commit 9e9f85e029a2ee4167aacf3ff04e4288a5e5c74e:

s390: update defconfigs (2020-07-01 20:02:38 +0200)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw tags/vfio-ccw-20200703

for you to fetch changes up to d8ca55addb9315ecd9fc4397f4c94d3f1980161c:

vfio-ccw: Fix a build error due to missing include of linux/slab.h (2020-07-03 11:41:31 +0200)

----------------------------------------------------------------
add a missing include

----------------------------------------------------------------

Sean Christopherson (1):
vfio-ccw: Fix a build error due to missing include of linux/slab.h

 drivers/s390/cio/vfio_ccw_chp.c | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.25.4
#1 lore raw

[PULL 1/1] vfio-ccw: Fix a build error due to missing include of linux/slab.h

From: Sean Christopherson <[email protected]>

Include linux/slab.h to fix a build error due to kfree() being undefined.

Fixes 3f02cb2fd9d2 ("vfio-ccw: Wire up the CRW irq and CRW region")

Message-Id: <[email protected]>

---
 drivers/s390/cio/vfio_ccw_chp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/s390/cio/vfio_ccw_chp.c +1 -0
index a646fc81c872..13b26a1c7988 100644
@@ -8,6 +8,7 @@
  *            Eric Farman <[email protected]>
  */
 
+#include <linux/slab.h>
 #include <linux/vfio.h>
 #include "vfio_ccw_private.h"
 
Signature · 1 line
2.25.4
#2 lore raw
In reply to Cornelia Huck
Quoted 6 lines · Cornelia Huck

The following changes since commit 9e9f85e029a2ee4167aacf3ff04e4288a5e5c74e:
Sean Christopherson (1):
vfio-ccw: Fix a build error due to missing include of linux/slab.h

 drivers/s390/cio/vfio_ccw_chp.c | 1 +
 1 file changed, 1 insertion(+)

Pulled, however it would have been nice if the commit log would have contained some words how to trigger the build error.

Thanks!