Re: [PATCH V4] scsi: ufs: qcom: Enable UFS Shared ICE Feature

From: Bart Van Assche
Date: Thu Dec 19 2024 - 12:29:52 EST


On 12/18/24 10:16 PM, Ram Kumar Dwivedi wrote:
On 18-Dec-24 10:49 PM, Bart Van Assche wrote:
On 12/18/24 7:11 AM, Ram Kumar Dwivedi wrote:
+    uint8_t val[4] = { NUM_RX_R1W0, NUM_TX_R0W1, NUM_RX_R1W1, NUM_TX_R1W1 };

This array can be declared 'static const', isn't it?

As this value is not modified in this function, we will declare it as const in next patchset

Why only 'const'? Why not 'static const' as everyone else does for this
type of arrays?

Thanks,

Bart.