From: Felipe Balbi Date: Wed, 16 Mar 2011 13:59:35 +0000 (+0200) Subject: device: add dev_WARN_ONCE X-Git-Tag: v3.0-rc1~390^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcdd323b893ad3c9b7ef26b5e4a0bef974238501;p=pandora-kernel.git device: add dev_WARN_ONCE it's quite useful to print the device name on the stack dump caused by WARN(), but there are other cases where we might want to use WARN_ONCE. Introduce a helper similar to dev_WARN() for that case too. Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed