Re: [PATCH] fix compile error in usb-serial.c

From: Adrian Bunk (bunk@fs.tum.de)
Date: Thu Nov 21 2002 - 05:15:34 EST


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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:35 EST