projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025af18
)
drm/vmwgfx: fix a warning message
author
Dan Carpenter
<
[email protected]
>
Sat, 21 Nov 2015 10:29:39 +0000
(13:29 +0300)
committer
Thomas Hellstrom
<
[email protected]
>
Thu, 26 Nov 2015 16:40:00 +0000
(17:40 +0100)
The WARN_ON() macro only takes a condition argument, it doesn't take
a message. I have converted this to WARN() instead.
Signed-off-by: Dan Carpenter <
[email protected]
>
Reviewed-by: Sinclair Yeh <
[email protected]
>
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
index a8baf5f5e76558679d128de151d2caaea193bc6c..b6a0806b06bffaf6da9178905f9b2f6bb037d384 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
@@
-390,7
+390,7
@@
void *vmw_fifo_reserve_dx(struct vmw_private *dev_priv, uint32_t bytes,
else if (ctx_id == SVGA3D_INVALID_ID)
ret = vmw_local_fifo_reserve(dev_priv, bytes);
else {
- WARN
_ON(
"Command buffer has not been allocated.\n");
+ WARN
(1,
"Command buffer has not been allocated.\n");
ret = NULL;
}
if (IS_ERR_OR_NULL(ret)) {