diff mbox series

[1/3] interconnect: qcom: sc7180: fix dropped const of qcom_icc_bcm

Message ID 20221027154848.293523-1-krzysztof.kozlowski@linaro.org
State Accepted
Commit f24227a640344f894522045f74bb2decbdc4f55e
Headers show
Series [1/3] interconnect: qcom: sc7180: fix dropped const of qcom_icc_bcm | expand

Commit Message

Krzysztof Kozlowski Oct. 27, 2022, 3:48 p.m. UTC
Pointers to struct qcom_icc_bcm are const, but the change was dropped
during merge.

Fixes: 016fca59f95f ("Merge branch 'icc-const' into icc-next")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/interconnect/qcom/sc7180.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Georgi Djakov Oct. 28, 2022, 7:21 a.m. UTC | #1
On 27.10.22 18:48, Krzysztof Kozlowski wrote:
> Pointers to struct qcom_icc_bcm are const, but the change was dropped
> during merge.

Oops, thanks for the fix!

BR,
Georgi

> Fixes: 016fca59f95f ("Merge branch 'icc-const' into icc-next")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>   drivers/interconnect/qcom/sc7180.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c
> index 35cd448efdfb..82d5e8a8c19e 100644
> --- a/drivers/interconnect/qcom/sc7180.c
> +++ b/drivers/interconnect/qcom/sc7180.c
> @@ -369,7 +369,7 @@ static const struct qcom_icc_desc sc7180_gem_noc = {
>   	.num_bcms = ARRAY_SIZE(gem_noc_bcms),
>   };
>   
> -static struct qcom_icc_bcm *mc_virt_bcms[] = {
> +static struct qcom_icc_bcm * const mc_virt_bcms[] = {
>   	&bcm_acv,
>   	&bcm_mc0,
>   };
Krzysztof Kozlowski Nov. 18, 2022, 12:30 p.m. UTC | #2
On 27/10/2022 17:48, Krzysztof Kozlowski wrote:
> Drop double white-space.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  drivers/interconnect/qcom/sc7180.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Georgi,

Any comments on this and third patch? I did not receive any
applied-confirmations.

Best regards,
Krzysztof
Georgi Djakov Nov. 18, 2022, 12:39 p.m. UTC | #3
Hi Krzysztof,

On 18.11.22 14:30, Krzysztof Kozlowski wrote:
> On 27/10/2022 17:48, Krzysztof Kozlowski wrote:
>> Drop double white-space.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>   drivers/interconnect/qcom/sc7180.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Georgi,
> 
> Any comments on this and third patch? I did not receive any
> applied-confirmations.
> 

I applied them. Should be present in today's linux-next.

Thanks,
Georgi
diff mbox series

Patch

diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c
index 35cd448efdfb..82d5e8a8c19e 100644
--- a/drivers/interconnect/qcom/sc7180.c
+++ b/drivers/interconnect/qcom/sc7180.c
@@ -369,7 +369,7 @@  static const struct qcom_icc_desc sc7180_gem_noc = {
 	.num_bcms = ARRAY_SIZE(gem_noc_bcms),
 };
 
-static struct qcom_icc_bcm *mc_virt_bcms[] = {
+static struct qcom_icc_bcm * const mc_virt_bcms[] = {
 	&bcm_acv,
 	&bcm_mc0,
 };