From: Thomas Gleixner Date: Fri, 27 Nov 2009 14:24:44 +0000 (+0100) Subject: x86: hpet: Make WARN_ON understandable X-Git-Tag: v2.6.33-rc1~364^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ed61da985c57eea3fe8038b13fa2837c9b3c3f;p=pandora-kernel.git x86: hpet: Make WARN_ON understandable Andrew complained rightly that the WARN_ON in hpet_next_event() is confusing and the code comment not really helpful. Change it to WARN_ONCE and print the reason in clear text. Change the comment to explain what kind of hardware wreckage we deal with. Pointed-out-by: Andrew Morton Signed-off-by: Thomas Gleixner Cc: Venki Pallipadi --- Reading git-diff-tree failed