Re: [PATCH] snic: Return error code on memory allocation failure
From: Martin K. Petersen
Date: Thu Jan 05 2017 - 20:47:09 EST
>>>>> "Burak" == Burak Ok <burak-kernel@xxxxxxxx> writes:
Burak> If a call to mempool_create_slab_pool() in snic_probe() returns
Burak> NULL, return -ENOMEM to indicate
Burak> failure. mempool_creat_slab_pool() only fails if it cannot
Burak> allocate memory.
Applied to 4.10/scsi-fixes.
--
Martin K. Petersen Oracle Linux Engineering