diff options
| author | Mihnea Dobrescu-Balaur <[email protected]> | 2013-03-11 13:23:36 +0200 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2013-03-18 16:31:31 -0400 |
| commit | 29d0b218c87ace1078e08bb32c2e72fc96fa3db3 (patch) | |
| tree | 439d33d7c607ecca5410754117438f82458a2696 /kernel/trace/trace_functions.c | |
| parent | 0e5e098ac22dae38f957e951b70d3cf73beff0f7 (diff) | |
xen-blkfront: replace kmalloc and then memcpy with kmemdup
The benefits are:
* code is cleaner
* kmemdup adds additional debugging info useful for tracking the real
place where memory was allocated (CONFIG_DEBUG_SLAB).
Signed-off-by: Mihnea Dobrescu-Balaur <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions