[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210513143935.7zlpo35d5uvr3ok6@steredhat>
Date: Thu, 13 May 2021 16:39:35 +0200
From: Stefano Garzarella <sgarzare@...hat.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: mst@...hat.com, jasowang@...hat.com,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, wanjiabing@...o.com
Subject: Re: [PATCH] vdpa_sim_blk: Fix duplicate included linux/blkdev.h
On Thu, May 13, 2021 at 07:05:00PM +0800, Jiapeng Chong wrote:
>Clean up the following includecheck warning:
>
>./drivers/vdpa/vdpa_sim/vdpa_sim_blk.c: linux/blkdev.h is included more
>than once.
>
>No functional change.
>
>Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
>Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
>---
> drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 1 -
> 1 file changed, 1 deletion(-)
Wan sent a similar patch a couple of days ago:
https://lore.kernel.org/patchwork/patch/1422992/
Thanks,
Stefano
>
>diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim_blk.c b/drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
>index 5bfe1c2..a790903 100644
>--- a/drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
>+++ b/drivers/vdpa/vdpa_sim/vdpa_sim_blk.c
>@@ -15,7 +15,6 @@
> #include <linux/blkdev.h>
> #include <linux/vringh.h>
> #include <linux/vdpa.h>
>-#include <linux/blkdev.h>
> #include <uapi/linux/virtio_blk.h>
>
> #include "vdpa_sim.h"
>--
>1.8.3.1
>
Powered by blists - more mailing lists