Thread (26 messages) 26 messages, 3 authors, 2020-05-13

Re: [PATCH v12 08/12] scsi: ufs: Add inline encryption support to UFS

From: Eric Biggers <ebiggers@kernel.org>
Date: 2020-05-13 18:19:13
Also in: linux-block, linux-f2fs-devel, linux-fscrypt, linux-fsdevel, linux-scsi

On Thu, Apr 30, 2020 at 11:59:55AM +0000, Satya Tangirala wrote:
quoted hunk ↗ jump to hunk
@@ -8541,6 +8568,13 @@ int ufshcd_init(struct ufs_hba *hba, void __iomem *mmio_base, unsigned int irq)
 	/* Reset the attached device */
 	ufshcd_vops_device_reset(hba);
 
+	/* Init crypto */
+	err = ufshcd_hba_init_crypto(hba);
+	if (err) {
+		dev_err(hba->dev, "crypto setup failed\n");
+		goto out_remove_scsi_host;
+	}
+
Due to changes in v5.6, this is jumping to the wrong error label.
It should be 'free_tmf_queue'.

- Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help