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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/20/24 2:06 AM, Ram Kumar Dwivedi wrote:
This function will be only called once during boot and "val" is a local variable, we don't see any advantage in making it static.
If you still recommend, i will add the static keyword in next patchset.

The advantage of declaring the array static is that the array will be
initialized at compile time instead of at runtime. Additionally, this
will reduce stack utilization (assuming that the compiler does not
optimize out the array entirely).

Thanks,

Bart.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux