diff options
author | NeilBrown <[email protected]> | 2018-01-09 12:19:38 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-01-09 15:41:57 +0100 |
commit | dc31f99be6822a16b119a1f145555757c6761b36 (patch) | |
tree | 93b225533971fb961f1368edaa10d4084893d113 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | db1e7806d39ec0d6486aa7114e9d0a3a4e7f3399 (diff) |
staging: lustre: use kmalloc for allocating ksock_tx
The size of the data structure is primarily controlled
by the iovec size, which is limited to 256.
Entries in this vector are 12 bytes, so the whole
will always fit in a page.
So it is safe to use kmalloc (kvmalloc not needed).
So replace LIBCFS_ALLOC with kmalloc.
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