Files
kernel_arpi/drivers
Christophe JAILLET 30fd2f4242 FROMGIT: scsi: ufs: core: Fix an error handling path in ufshcd_read_desc_param()
If an error occurs, some memory may need to be freed, as in the other error
handling paths.

Before the commit in the Fixes tag, this test was done before the memory
allocation, so there was no issue.

Fixes: 16ed9d312b42 ("scsi: ufs: core: Remove ufshcd_map_desc_id_to_length()")
Link: https://lore.kernel.org/r/2c6e42205e5ec22e5e8c7c85c6deb8fde31c74da.1673781835.git.christophe.jaillet@wanadoo.fr
Change-Id: Ia09dd2a289deccf75f77f68378be9b53675cf160
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 833f7d4819a88f027033e0033ea44f7ae3e45a9b git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next)
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2023-02-10 15:39:39 -08:00
..
2023-02-01 09:38:19 +00:00
2023-01-18 13:45:44 +00:00
2023-01-18 13:13:15 +00:00
2023-01-18 12:52:16 +00:00
2023-02-01 09:38:19 +00:00
2023-02-06 10:45:01 +00:00
2023-02-01 09:38:19 +00:00
2023-02-06 10:45:01 +00:00
2023-02-01 09:38:19 +00:00
2023-01-18 12:52:16 +00:00
2023-01-18 13:13:15 +00:00
2023-01-25 16:13:42 +00:00
2023-01-25 16:13:42 +00:00
2023-01-18 13:13:15 +00:00
2023-02-01 09:38:19 +00:00
2023-02-01 09:38:19 +00:00
2023-01-18 13:13:15 +00:00
2023-01-18 13:13:15 +00:00
2023-01-18 12:52:16 +00:00
2023-01-18 12:52:16 +00:00
2022-12-31 13:14:48 +01:00
2023-01-18 13:45:44 +00:00
2023-02-01 09:38:19 +00:00
2023-02-01 09:38:19 +00:00
2023-01-25 16:13:42 +00:00
2022-11-28 16:08:50 +00:00
2023-02-01 09:38:19 +00:00
2023-01-25 16:13:42 +00:00
2023-02-01 09:38:19 +00:00
2023-01-18 13:13:15 +00:00
2023-01-25 16:13:42 +00:00
2023-01-25 16:13:42 +00:00