* [PATCH] vfio-ccw: Fix a build error due to missing include of linux/slab.h
@ 2020-07-03 2:26 Sean Christopherson
2020-07-03 9:45 ` Cornelia Huck
0 siblings, 1 reply; 2+ messages in thread
From: Sean Christopherson @ 2020-07-03 2:26 UTC (permalink / raw)
To: Cornelia Huck, Eric Farman, Vineeth Vijayan, Peter Oberparleiter
Cc: Halil Pasic, linux-s390, kvm, linux-kernel, Sean Christopherson
Include linux/slab.h to fix a build error due to kfree() being undefined.
Fixes: 3f02cb2fd9d2d ("vfio-ccw: Wire up the CRW irq and CRW region")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
---
Encountered this when cross-compiling with a pretty minimal config, didn't
bother digging into why the error only showed up in my environment.
drivers/s390/cio/vfio_ccw_chp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/s390/cio/vfio_ccw_chp.c b/drivers/s390/cio/vfio_ccw_chp.c
index a646fc81c872..13b26a1c7988 100644
--- a/drivers/s390/cio/vfio_ccw_chp.c
+++ b/drivers/s390/cio/vfio_ccw_chp.c
@@ -8,6 +8,7 @@
* Eric Farman <farman@linux.ibm.com>
*/
+#include <linux/slab.h>
#include <linux/vfio.h>
#include "vfio_ccw_private.h"
--
2.26.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vfio-ccw: Fix a build error due to missing include of linux/slab.h
2020-07-03 2:26 [PATCH] vfio-ccw: Fix a build error due to missing include of linux/slab.h Sean Christopherson
@ 2020-07-03 9:45 ` Cornelia Huck
0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2020-07-03 9:45 UTC (permalink / raw)
To: Sean Christopherson
Cc: Eric Farman, Vineeth Vijayan, Peter Oberparleiter, Halil Pasic,
linux-s390, kvm, linux-kernel
On Thu, 2 Jul 2020 19:26:28 -0700
Sean Christopherson <sean.j.christopherson@intel.com> wrote:
> Include linux/slab.h to fix a build error due to kfree() being undefined.
>
> Fixes: 3f02cb2fd9d2d ("vfio-ccw: Wire up the CRW irq and CRW region")
> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
> ---
>
> Encountered this when cross-compiling with a pretty minimal config, didn't
> bother digging into why the error only showed up in my environment.
>
> drivers/s390/cio/vfio_ccw_chp.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/s390/cio/vfio_ccw_chp.c b/drivers/s390/cio/vfio_ccw_chp.c
> index a646fc81c872..13b26a1c7988 100644
> --- a/drivers/s390/cio/vfio_ccw_chp.c
> +++ b/drivers/s390/cio/vfio_ccw_chp.c
> @@ -8,6 +8,7 @@
> * Eric Farman <farman@linux.ibm.com>
> */
>
> +#include <linux/slab.h>
> #include <linux/vfio.h>
> #include "vfio_ccw_private.h"
>
Thanks, applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-03 9:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 2:26 [PATCH] vfio-ccw: Fix a build error due to missing include of linux/slab.h Sean Christopherson
2020-07-03 9:45 ` Cornelia Huck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).