Messages in this thread | | | Date | Tue, 11 May 2004 16:39:38 -0700 | From | Greg KH <> | Subject | Re: [PATCH] fix dev_printk to work even in the absence of am attached driver |
| |
On Tue, May 11, 2004 at 09:00:47AM -0500, James Bottomley wrote: > On Thu, 2004-04-22 at 17:07, Greg KH wrote: > > But doesn't this cause the string "(unbound)" to be created for every > > dev_printk() call in the code? I don't think gcc can optimize that very > > well. How about making a global string just for that, otherwise the > > size police will come after me for adding such a patch :) > > OK, I can't find an elegant way of making it global, so I think the best > thing to do is just leave it blank for no driver (gcc can optimise that > case).
Ok, I can live with this, thanks. Applied.
greg k-h - 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/
| |