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

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

Link: https://lore.kernel.org/r/20220623102432.108059-3-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/host/ufshcd-pltfrm.c
drivers/ufs/host/ufshcd-pltfrm.h