lkml.org 
[lkml]   [2002]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 21 Nov 2002 11:15:34 +0100
FromAdrian Bunk <>
SubjectRe: [PATCH] fix compile error in usb-serial.c
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().

> Gr{oetje,eeting}s,
>
> Geert

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [from the cache]
©2003-2010