Tyrel Datwyler 3319a8ba82 scsi: ibmvscsi: Use GFP_KERNEL with dma_alloc_coherent() in initialize_event_pool()
During driver probe we allocate a dma region for our event pool.
Currently, zero is passed for the gfp_flags parameter. Driver probe
callbacks are run in process context and we hold no locks so we can sleep
here if necessary.

Fix by passing GFP_KERNEL explicitly to dma_alloc_coherent().

Link: https://lore.kernel.org/r/1547089149-20577-1-git-send-email-tyreld@linux.vnet.ibm.com
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-10-18 22:38:34 -04:00
..
2021-07-11 10:59:53 -07:00
2021-10-16 21:45:54 -04:00
2020-03-11 23:07:59 -04:00
2021-10-16 21:31:42 -04:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2021-01-22 21:14:08 -05:00
2020-03-11 23:07:59 -04:00
2021-10-16 21:45:55 -04:00
2020-09-02 22:49:06 -04:00
2021-10-16 21:45:56 -04:00
2021-04-13 00:20:48 -04:00
2020-12-07 20:24:09 -05:00
2021-10-16 21:29:15 -04:00
2021-10-16 21:45:57 -04:00
2021-10-16 21:45:57 -04:00
2020-12-07 20:24:09 -05:00
2021-05-21 16:59:33 -04:00
2021-03-24 23:03:43 -04:00
2021-10-16 21:31:43 -04:00
2020-10-14 15:15:35 -07:00
2021-09-02 15:09:46 -07:00
2021-09-02 15:09:46 -07:00
2020-02-24 15:01:57 -05:00
2021-08-23 12:54:30 -06:00
2021-04-13 00:20:48 -04:00