Skip to contentSkip to conversation

usb: gadget: aspeed: Remove unnecessary version.h includes

PATCH In review Jiapeng Chong 2 participants 3 messages Apr 6, 2021 – Apr 21, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: gadget: aspeed: Remove unnecessary version.h includes

"make versioncheck" shows:

./drivers/usb/gadget/udc/aspeed-vhub/hub.c: 33 linux/version.h not needed.

---
 drivers/usb/gadget/udc/aspeed-vhub/hub.c | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/gadget/udc/aspeed-vhub/hub.c +0 -1
index 5c7dea5..e5bbc0c 100644
@@ -30,7 +30,6 @@
 #include <linux/regmap.h>
 #include <linux/dma-mapping.h>
 #include <linux/bcd.h>
-#include <linux/version.h>
 #include <linux/usb.h>
 #include <linux/usb/hcd.h>
 
Signature · 1 line
1.8.3.1
maintainer
#1 lore raw
Quoted 4 lines · Jiapeng Chong

"make versioncheck" shows:

./drivers/usb/gadget/udc/aspeed-vhub/hub.c: 33 linux/version.h not needed.

Then you need to fix the tool, and always test-build patches before you send them out, as this is obviously wrong :(

author
#2 lore raw
Quoted 9 lines · Greg KH
Quoted 4 lines · Jiapeng Chong

"make versioncheck" shows:

./drivers/usb/gadget/udc/aspeed-vhub/hub.c: 33 linux/version.h not needed.

Then you need to fix the tool, and always test-build patches before you send them out, as this is obviously wrong :(

Sorry for the noise. We'll do more test-build towards patches next time.