From: Arjan van de Ven Date: Sun, 21 Sep 2008 02:09:00 +0000 (-0700) Subject: debug: use dev_WARN() rather than WARN_ON() in device_pm_add() X-Git-Tag: v2.6.28-rc1~284^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728f08934b087b96aacb00467f5551e0a5593fca;p=pandora-kernel.git debug: use dev_WARN() rather than WARN_ON() in device_pm_add() device_pm_add() has a WARN_ON that is showing relatively high on kerneloops.org, but unfortunately the WARN_ON is less than useful in that it doesn't print any information about what device is causing the issue. This patch fixes this by turning the WARN_ON() into the newly introduces dev_WARN() which will print information about the device in question. Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed