Re: [PATCH 2/4] panic: Allow taint flag for warnings to be changed from TAINT_WARN

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Hutchings
Date: Sunday, March 21, 2010 - 12:25 pm

On Sun, 2010-03-21 at 20:10 +0100, Andi Kleen wrote:

I'm being a bit sloppy with the wording here.  The TAINT_* macros are
actually bit numbers, not flags.  I could define a TAINT_MAX and add:

	BUILD_BUG_ON(taint < 0 || taint > TAINT_MAX);

Not sure that that's really worth doing though.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/4] panic: Allow taint flag for warnings to be ..., Ben Hutchings, (Sun Mar 21, 12:25 pm)