lkml.org 
[lkml]   [2008]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] lib: Taint kernel in common report_bug() WARN path.
On Fri, May 16, 2008 at 02:21:27PM +0900, Paul Mundt wrote:
> Commit 95b570c9cef3b12356454c7112571b7e406b4b51 introduced a
> TAINT_WARN that was implemented for all architectures using the
> generic warn_on_slowpath(), which excluded any architecture that
> set HAVE_ARCH_WARN_ON.
>
> As all of the architectures that implement their own WARN_ON()
> all go through the report_bug() path (specifically handling
> BUG_TRAP_TYPE_WARN), taint the kernel there as well for consistency.
>
> Tested on avr32 and sh. Also relevant for s390, parisc, and powerpc.
>
> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
>

obviously fine by me.

Acked-by: Kyle McMartin <kyle@mcmartin.ca>


\
 
 \ /
  Last update: 2008-05-16 17:15    [W:0.023 / U:1.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site