On Tue, Mar 20, 2012 at 11:10:02AM +0000, Stojsavljevic, Zoran wrote: > Hello, > > After carefully analyzing the UDC code, I tried to forward port the UDC I am playing with from 2.6.34.10 to 3.2.11 kernel. > > Everything compiles and links, but when I try `modprobe g_zero`, the following trace happens (log imported at the end of @): > > [ 36.110506] kernel BUG at fs/sysfs/file.c:573! > [ 36.110595] invalid opcode: 0000 [#1] SMP > > Any idea why this does happen? Did you look at the code at fs/sysfs/file.c, line 573 to see what it is checking? -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html