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:
5821a33
)
Staging: android: change memory allocation style in ion_carveout_heap.c
author
Ben Marsh
<
[email protected]
>
Wed, 24 Feb 2016 12:42:18 +0000
(13:42 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 12 Mar 2016 06:09:09 +0000
(22:09 -0800)
This is a patch for ion_carveout_heap.c that changes the memory
allocation style in order to remove a checkpatch.pl warning.
Signed-off-by: Ben Marsh <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/android/ion/ion_carveout_heap.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/ion_carveout_heap.c
b/drivers/staging/android/ion/ion_carveout_heap.c
index 7c947f23a705f7c00f46d44c6ebd5174a90e0843..1fb0d81556da80dbea52e0ac9f6ac36f8384322c 100644
(file)
--- a/
drivers/staging/android/ion/ion_carveout_heap.c
+++ b/
drivers/staging/android/ion/ion_carveout_heap.c
@@
-163,7
+163,7
@@
struct ion_heap *ion_carveout_heap_create(struct ion_platform_heap *heap_data)
if (ret)
return ERR_PTR(ret);
- carveout_heap = kzalloc(sizeof(
struct ion_
carveout_heap), GFP_KERNEL);
+ carveout_heap = kzalloc(sizeof(
*
carveout_heap), GFP_KERNEL);
if (!carveout_heap)
return ERR_PTR(-ENOMEM);