diff options
author | Denis Efremov <[email protected]> | 2020-08-01 16:31:23 +0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-08-20 23:34:47 -0400 |
commit | ee9108fedf63c6b8cfc40767c472680d51dd1662 (patch) | |
tree | f693270c5c5d8b8559d62fff14266bf5725f6b8d /lib/xarray.c | |
parent | ca358af1d1bb5b9eb75f3998b20ab68f6b3ce69c (diff) |
scsi: libcxgbi: Use kvzalloc instead of opencoded kzalloc/vzalloc
Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions and use
kvzalloc/kvfree instead. __GFP_NOWARN added to kvzalloc() call because we
already print a warning in case of allocation fail.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Denis Efremov <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions