projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35aad75
)
gpu: don't cast kzalloc() return value
author
Mihnea Dobrescu-Balaur
<mihneadb@gmail.com>
Sun, 10 Mar 2013 12:22:48 +0000
(14:22 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 11 Mar 2013 22:51:54 +0000
(23:51 +0100)
Signed-off-by: Mihnea Dobrescu-Balaur <mihneadb@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_sdvo.c
b/drivers/gpu/drm/i915/intel_sdvo.c
index
63dcb76
..
38b8511
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_sdvo.c
+++ b/
drivers/gpu/drm/i915/intel_sdvo.c
@@
-451,7
+451,7
@@
static bool intel_sdvo_write_cmd(struct intel_sdvo *intel_sdvo, u8 cmd,
int i, ret = true;
/* Would be simpler to allocate both in one go ? */
- buf =
(u8 *)
kzalloc(args_len * 2 + 2, GFP_KERNEL);
+ buf = kzalloc(args_len * 2 + 2, GFP_KERNEL);
if (!buf)
return false;