Re: [PM-WIP-OPP][PATCH 1/4] omap3: pm: cpufreq: BUG_ON cleanup

Felipe Balbi
2010-03-19T17:51:48Z

On Fri, Mar 19, 2010 at 10:46:54AM -0700, Kevin Hilman wrote:
> IMO, Using BUG* macros usually indicates improper or incomplete error
> handling rather than a real catastrophic system failure.

on the other hand a kernel oops and system hang will always get noted. Rather
than a WARN() which simply sits in the log buffer. Remember that not all
users will be looking at console. If there's a kernel hang, we get a
core dump which is saved in the mtdoops (if you're using it) and can
send later to some central server for analysis.

--
balbi