Skip to contentSkip to conversation

Compile errors for SynthHid

PATCH In review Andrei Warkentin 2 participants 4 messages Apr 11, 2011 Staging

lore
Share & tools
lore
#2 lore raw

Re: [PATCH] HV SynthHID: Fix compile error.

In reply to Andrei Warkentin
Quoted 12 lines · Andrei Warkentin

Missing include for <asm/delay.h>

---
 drivers/staging/hv/hv_mouse.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/hv/hv_mouse.c +0 -0
index 50147f8..c5020c0 100644

drivers/staging/hv/hv_mouse.c line 26

Quoted 4 lines
drivers/staging/hv/hv_mouse.c +1 -0
@@ -23,6 +23,7 @@
 #include <linux/hiddev.h>
 #include <linux/pci.h>
 #include <linux/dmi.h>
+#include <asm/delay.h>

Never include "<asm/" include files if at all possible.

Anyway, this should already be fixed in Linus's tree, right?

thanks,

greg k-h

#0 lore raw

I just tried building linux-next tree and hit a simple compile error.

ToC:
[PATCH] HV SynthHID: Fix compile error.

Thanks,
A

#1 lore raw

PATCH 1/1 HV SynthHID: Fix compile error.

Missing include for <asm/delay.h>

---
 drivers/staging/hv/hv_mouse.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/hv/hv_mouse.c +1 -0
index 50147f8..c5020c0 100644
@@ -23,6 +23,7 @@
 #include <linux/hiddev.h>
 #include <linux/pci.h>
 #include <linux/dmi.h>
+#include <asm/delay.h>
 
 #include "hv_api.h"
 #include "logging.h"
Signature · 1 line
1.7.0.4
#3 lore raw

Re: [PATCH] HV SynthHID: Fix compile error.

In reply to Greg KH
Quoted 8 lines · Greg KH
Quoted 7 lines · Andrei Warkentin

Missing include for <asm/delay.h>

---
 drivers/staging/hv/hv_mouse.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 12 lines

drivers/staging/hv/hv_mouse.c line 26

Quoted 9 lines
drivers/staging/hv/hv_mouse.c +1 -0
index 50147f8..c5020c0 100644
@@ -23,6 +23,7 @@
  #include <linux/hiddev.h>
  #include <linux/pci.h>
  #include <linux/dmi.h>
+#include <asm/delay.h>

Never include "<asm/" include files if at all possible.

Oops, alright, will do.

Quoted 2 lines

Anyway, this should already be fixed in Linus's tree, right?

Sorry no clue, if so, thanks ahead. I was testing something else in SD/MMC-land and wanted to make sure it compiled cleanly on x86/x64.

A