Linux-HyperV Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Drivers: hv: vmbus: remove unused including <linux/version.h>
@ 2021-04-13  9:49 Yang Li
  2021-04-13 11:09 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-04-13  9:49 UTC (permalink / raw)
  To: kys; +Cc: haiyangz, sthemmin, wei.liu, linux-hyperv, linux-kernel, Yang Li

Fix the following versioncheck warning:
./drivers/hv/hv.c: 16 linux/version.h not needed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/hv/hv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c
index f202ac7..2c3ae4d 100644
--- a/drivers/hv/hv.c
+++ b/drivers/hv/hv.c
@@ -13,7 +13,6 @@
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/hyperv.h>
-#include <linux/version.h>
 #include <linux/random.h>
 #include <linux/clockchips.h>
 #include <clocksource/hyperv_timer.h>
-- 
1.8.3.1


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

* Re: [PATCH] Drivers: hv: vmbus: remove unused including <linux/version.h>
  2021-04-13  9:49 [PATCH] Drivers: hv: vmbus: remove unused including <linux/version.h> Yang Li
@ 2021-04-13 11:09 ` Wei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2021-04-13 11:09 UTC (permalink / raw)
  To: Yang Li; +Cc: kys, haiyangz, sthemmin, wei.liu, linux-hyperv, linux-kernel

On Tue, Apr 13, 2021 at 05:49:18PM +0800, Yang Li wrote:
> Fix the following versioncheck warning:
> ./drivers/hv/hv.c: 16 linux/version.h not needed.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Thanks for the patch. This has also been reported by Huawei's kernel bot
and fixed in hyperv-next.

Wei.

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13  9:49 [PATCH] Drivers: hv: vmbus: remove unused including <linux/version.h> Yang Li
2021-04-13 11:09 ` Wei Liu

Linux-HyperV Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hyperv/0 linux-hyperv/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hyperv linux-hyperv/ https://lore.kernel.org/linux-hyperv \
		linux-hyperv@vger.kernel.org
	public-inbox-index linux-hyperv

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hyperv


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git