public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vfio/iommu_type1: Fix duplicate included kthread.h
@ 2021-02-18  2:17 Tian Tao
  2021-02-19 12:21 ` Cornelia Huck
  0 siblings, 1 reply; 2+ messages in thread
From: Tian Tao @ 2021-02-18  2:17 UTC (permalink / raw)
  To: alex.williamson, cohuck; +Cc: kvm

linux/kthread.h is included more than once, remove the one that isn't
necessary.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
 drivers/vfio/vfio_iommu_type1.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c
index ec9fd95..b3df383 100644
--- a/drivers/vfio/vfio_iommu_type1.c
+++ b/drivers/vfio/vfio_iommu_type1.c
@@ -31,7 +31,6 @@
 #include <linux/rbtree.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/mm.h>
-#include <linux/kthread.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>
 #include <linux/vfio.h>
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] vfio/iommu_type1: Fix duplicate included kthread.h
  2021-02-18  2:17 [PATCH] vfio/iommu_type1: Fix duplicate included kthread.h Tian Tao
@ 2021-02-19 12:21 ` Cornelia Huck
  0 siblings, 0 replies; 2+ messages in thread
From: Cornelia Huck @ 2021-02-19 12:21 UTC (permalink / raw)
  To: Tian Tao; +Cc: alex.williamson, kvm

On Thu, 18 Feb 2021 10:17:29 +0800
Tian Tao <tiantao6@hisilicon.com> wrote:

> linux/kthread.h is included more than once, remove the one that isn't
> necessary.
> 
> Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
> ---
>  drivers/vfio/vfio_iommu_type1.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c
> index ec9fd95..b3df383 100644
> --- a/drivers/vfio/vfio_iommu_type1.c
> +++ b/drivers/vfio/vfio_iommu_type1.c
> @@ -31,7 +31,6 @@
>  #include <linux/rbtree.h>
>  #include <linux/sched/signal.h>
>  #include <linux/sched/mm.h>
> -#include <linux/kthread.h>
>  #include <linux/slab.h>
>  #include <linux/uaccess.h>
>  #include <linux/vfio.h>

This is not in Linus' tree yet, only on Alex' next branch, would be
good to mention that.

Fixes: 898b9eaeb3fe ("vfio/type1: block on invalid vaddr")

Reviewed-by: Cornelia Huck <cohuck@redhat.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-19 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18  2:17 [PATCH] vfio/iommu_type1: Fix duplicate included kthread.h Tian Tao
2021-02-19 12:21 ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox