]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufshcd: Constify pointed data
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 23 Jun 2022 10:24:32 +0000 (12:24 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Jun 2022 02:26:45 +0000 (22:26 -0400)
commit231bdd1212cce31b9da35213ed0b589f83667da4
treea779d4cf5cb0a182aa48a5428cfc5e7357271f21
parentc2dc381f63a4b4973cda7a57a878741e77b6037f
scsi: ufs: ufshcd: Constify pointed data

For code safety, constify arrays and pointers to data which is not
modified.

Link: https://lore.kernel.org/r/20220623102432.108059-4-krzysztof.kozlowski@linaro.org
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd-priv.h
drivers/ufs/core/ufshcd.c
include/ufs/ufshcd.h