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:
8159fd1
)
staging: dgnc: changes arguments in sizeof
author
Lidza Louina
<lidza.louina@gmail.com>
Fri, 4 Oct 2013 16:18:30 +0000
(12:18 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 6 Oct 2013 00:52:58 +0000
(17:52 -0700)
The arguments that were passed into sizeof were
generic. This patch changes this by putting
the actual item that we need a size of instead.
For example:
- kzalloc(sizeof(struct dgnc_board), GFP_KERNEL);
+ kzalloc(sizeof(*brd), GFP_KERNEL);
Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found