From: "Peter Wang (王信友)" <peter.wang@mediatek.com>
To: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"wkon.kim@samsung.com" <wkon.kim@samsung.com>,
"bvanassche@acm.org" <bvanassche@acm.org>,
"James.Bottomley@HansenPartnership.com"
<James.Bottomley@HansenPartnership.com>,
"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] ufs: core: Initialize a value of an attribute as returned by uic cmd
Date: Fri, 17 Oct 2025 09:12:24 +0000 [thread overview]
Message-ID: <38ddeceac8c97739a976afd5dc66561b56023992.camel@mediatek.com> (raw)
In-Reply-To: <20251014044046.84046-1-wkon.kim@samsung.com>
On Tue, 2025-10-14 at 13:40 +0900, Wonkon Kim wrote:
>
> From: wkon-kim <wkon.kim@samsung.com>
>
> If ufshcd_send_cmd() fails, *mib_val has a garbage value.
> A value of an attribute can have an unintended result.
> ufshcd_dme_get_attr() always initializes *mib_val.
>
> Signed-off-by: Wonkon Kim <wkon.kim@samsung.com>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
next prev parent reply other threads:[~2025-10-17 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20251014044050epcas1p3589b404dec77da9fb9f0f79035c149ca@epcas1p3.samsung.com>
2025-10-14 4:40 ` Wonkon Kim
2025-10-17 9:12 ` Peter Wang (王信友) [this message]
2025-10-17 15:54 ` Bart Van Assche
2025-10-20 6:19 ` Wonkon Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38ddeceac8c97739a976afd5dc66561b56023992.camel@mediatek.com \
--to=peter.wang@mediatek.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=bvanassche@acm.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=wkon.kim@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®