diff options
author | Thomas Meyer <thomas@m3y3r.de> | 2011-11-17 13:43:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-21 21:02:36 +0100 |
commit | cb508701efa01ba8628ff2d4280dbbb713d62955 (patch) | |
tree | 44cb25e132bab2aa5d41b4037e6377bedd0fde1c /kernel/crash_dump.c | |
parent | ks8*/ksz8*: Casting (void *) value returned by kmalloc is useless (diff) | |
download | linux-cb508701efa01ba8628ff2d4280dbbb713d62955.tar.xz linux-cb508701efa01ba8628ff2d4280dbbb713d62955.zip |
ksz884x: Use kzalloc rather than kmalloc followed by memset with 0
This considers some simple cases that are common and easy to validate
Note in particular that there are no ...s in the rule, so all of the
matched code has to be contiguous
The semantic patch that makes this change is available
in scripts/coccinelle/api/alloc/kzalloc-simple.cocci.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions