> "Tiezhu" == Tiezhu Yang writes:
Tiezhu> When buff_ascii kmalloc failed, there is no need to call kfree,
Tiezhu> it should return -ENOMEM directly, this patch fixes it.
Applied to 4.8/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
When buff_ascii kmalloc failed, there is no need to call kfree,
it should return -ENOMEM directly, this patch fixes it.
Signed-off-by: Tiezhu Yang
---
drivers/scsi/ufs/ufshcd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufsh
2 matches
Mail list logo