diff options
author | Denis Efremov <efremov@linux.com> | 2020-08-01 16:31:23 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-21 06:34:47 +0300 |
commit | ee9108fedf63c6b8cfc40767c472680d51dd1662 (patch) | |
tree | f693270c5c5d8b8559d62fff14266bf5725f6b8d /drivers/scsi/aacraid/linit.c | |
parent | ca358af1d1bb5b9eb75f3998b20ab68f6b3ce69c (diff) | |
download | linux-ee9108fedf63c6b8cfc40767c472680d51dd1662.tar.xz |
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/20200801133123.61834-1-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
0 files changed, 0 insertions, 0 deletions