git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ef2d5
)
SRPT: Fix odd use of WARN_ON()
author
Grant Grundler
<grundler@chromium.org>
Tue, 26 Mar 2013 21:48:28 +0000
(21:48 +0000)
committer
Roland Dreier
<roland@purestorage.com>
Wed, 17 Apr 2013 05:58:08 +0000
(22:58 -0700)
While WARN_ON("const string") will work, it's intent is not obvious.
The warning is more useful by showing the "state" value.
Signed-off-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
No differences found