From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:44079 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725972AbgGCJpg (ORCPT ); Fri, 3 Jul 2020 05:45:36 -0400 Date: Fri, 3 Jul 2020 11:45:27 +0200 From: Cornelia Huck Subject: Re: [PATCH] vfio-ccw: Fix a build error due to missing include of linux/slab.h Message-ID: <20200703114527.790ffb82.cohuck@redhat.com> In-Reply-To: <20200703022628.6036-1-sean.j.christopherson@intel.com> References: <20200703022628.6036-1-sean.j.christopherson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-s390-owner@vger.kernel.org List-ID: To: Sean Christopherson Cc: Eric Farman , Vineeth Vijayan , Peter Oberparleiter , Halil Pasic , linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org On Thu, 2 Jul 2020 19:26:28 -0700 Sean Christopherson 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 > --- > > 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 > */ > > +#include > #include > #include "vfio_ccw_private.h" > Thanks, applied.