Re: [PATCH 1/8] scsi: ufs: Initialize struct uic_command once

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

 



On 6/17/24 6:25 PM, Daejun Park wrote:
@@ -4155,7 +4154,11 @@ EXPORT_SYMBOL_GPL(ufshcd_dme_set_attr);
int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel,
                          u32 *mib_val, u8 peer)
{
-        struct uic_command uic_cmd = {0};
+        struct uic_command uic_cmd = {
+                .command = peer ? UIC_CMD_DME_PEER_GET : UIC_CMD_DME_GET,
+                .argument1 = attr_sel,
+
Empty line.

Thanks for the feedback. I will remove this empty line before I repost this patch
series.

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