aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-01-09 12:19:38 +1100
committerGreg Kroah-Hartman <[email protected]>2018-01-09 15:39:28 +0100
commit3c88bdbbf919c1181d6ae14afa6c3a9b0de57b34 (patch)
treebe363ec739afc9b09338fc260f33ef94418efa50 /drivers/mtd/lpddr/lpddr_cmds.c
parent9ab7bc50a8b0564aac43c9fa1f8c3bcf12536c05 (diff)
staging: lustre: replace simple cases of LIBCFS_ALLOC with kzalloc.
All usages of the form LIBCFS_ALLOC(variable, sizeof(variable)) or LIBCFS_ALLOC(variable, sizeof(variable's-type)) are changed to variable = kzalloc(sizeof(...), GFP_NOFS); Similarly, all LIBCFS_FREE(variable, sizeof(variable)) become kfree(variable); None of these need the vmalloc option, or any of the other minor benefits of LIBCFS_ALLOC(). Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions