aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorArjan van de Ven <[email protected]>2008-09-20 19:09:00 -0700
committerGreg Kroah-Hartman <[email protected]>2008-10-16 09:24:50 -0700
commit728f08934b087b96aacb00467f5551e0a5593fca (patch)
tree94342640e5bca8b8c350fecbd05ff4e9bef0f8d0 /net/lapb/lapb_in.c
parente61396627f91abb855ddd8925be9172fb5871944 (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions