Re: Print taint info in more places.

Dave Jones
2007-12-14T00:16:39Z

On Fri, Dec 14, 2007 at 01:03:50AM +0100, Adrian Bunk wrote:

> > #ifndef HAVE_ARCH_BUG
> > #define BUG() do { \
> > - printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __FUNCTION__); \
> > + printk(KERN_ERR "BUG: failure at %s:%d/%s()! (%s)\n",
> > + __FILE__, __LINE__, __FUNCTION__, print_tainted()); \
> > panic("BUG!"); \
> > } while (0)
> > #endif
> >...
>
> Note that this only changes a handful of architectures and most likely
> not the ones you are interested in.

Good catch. I'm sure we had coverage on at least x86 before, so
it seems over the many rediffs this patch has had, some chunks got lost.
I'll resurrect that.

thanks,

Dave