Skip to content
  • Nur Hussein's avatar
    Taint kernel after WARN_ON(condition) · 95b570c9
    Nur Hussein authored
    
    
    The kernel is sent to tainted within the warn_on_slowpath() function, and
    whenever a warning occurs the new taint flag 'W' is set.  This is useful to
    know if a warning occurred before a BUG by preserving the warning as a flag
    in the taint state.
    
    This does not work on architectures where WARN_ON has its own definition.
    These archs are:
    	1. s390
    	2. superh
    	3. avr32
    	4. parisc
    
    The maintainers of these architectures have been added in the Cc: list
    in this email to alert them to the situation.
    
    The documentation in oops-tracing.txt has been updated to include the
    new flag.
    
    Signed-off-by: default avatarNur Hussein <nurhussein@gmail.com>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Kyle McMartin <kyle@mcmartin.ca>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    95b570c9