Messages in this thread | | | Date | Thu, 21 Nov 2002 11:17:36 +0100 (MET) | From | Geert Uytterhoeven <> | Subject | Re: [PATCH] fix compile error in usb-serial.c |
| |
On Thu, 21 Nov 2002, Adrian Bunk wrote: > On Thu, Nov 21, 2002 at 10:54:20AM +0100, Geert Uytterhoeven wrote: > > >... > > > - length += sprintf (page+length, " module:%s", serial->type->owner->name); > > > + length += sprintf (page+length, " module:%s", module_name(serial->type->owner)); > >... > > How can this be correct? > > > > serial->type->owner is of type struct module *, not char *! > > You missed the module_name().
Oops, you're right. Sorry... Given enough eyeballs, all misreads are shallow :-)
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |