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:
76cca89
)
staging: comedi: comedi_fops: fix a number of sizeof(struct foo) forms
author
H Hartley Sweeten
<hsweeten@visionengravers.com>
Wed, 19 Dec 2012 22:42:02 +0000
(15:42 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:25:48 +0000
(14:25 -0800)
As mentioned in CodingStyle, the prefered form is:
p = kmalloc(sizeof(*p), ...);
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found