Thread (7 messages) 7 messages, 3 authors, 2015-09-29

Re: [PATCH] usbhid: Fix lockdep unannotated irqs-off warning

From: Sedat Dilek <hidden>
Date: 2015-09-29 19:32:16

On Tue, Sep 29, 2015 at 9:08 PM, Steven Rostedt [off-list ref] wrote:
quoted hunk ↗ jump to hunk
On Tue, 29 Sep 2015 20:54:38 +0200
Sedat Dilek [off-list ref] wrote:
quoted
This breaks my build when CONFIG_USB_HID=m...

  find .tmp_versions -name '*.mod' | xargs -r grep -h '\.ko$' | sort
-u | sed 's/\.ko$/.o/' | scripts/mod/modpost -m -a -o ./Module.symvers
   -S   -s -T -
ERROR: "print_irqtrace_events" [drivers/hid/usbhid/usbhid.ko] undefined!
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
make[1]: *** [bindeb-pkg] Error 2
make: *** [bindeb-pkg] Error 2
Add the below patch too:

-- Steve
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 8acfbf773e06..8b29b3dd518f 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -2410,6 +2410,7 @@ void print_irqtrace_events(struct task_struct *curr)
        printk("softirqs last disabled at (%u): ", curr->softirq_disable_event);
        print_ip_sym(curr->softirq_disable_ip);
 }
+EXPORT_SYMBOL(print_irqtrace_events);

 static int HARDIRQ_verbose(struct lock_class *class)
 {
Thanks, that fixed it.

- Sedat -
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help