Messages in this thread | | | Date | Thu, 13 Dec 2007 19:16:05 -0500 | From | Dave Jones <> | Subject | Re: Print taint info in more places. |
| |
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
-- http://www.codemonkey.org.uk
| |