[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9142732493135960a169183f801cdabe25bc9638.camel@mediatek.com>
Date: Tue, 22 Jul 2025 03:19:46 +0000
From: Peter Wang (王信友) <peter.wang@...iatek.com>
To: "liu.xuemei1@....com.cn" <liu.xuemei1@....com.cn>,
"james.bottomley@...senpartnership.com"
<james.bottomley@...senpartnership.com>, "martin.petersen@...cle.com"
<martin.petersen@...cle.com>
CC: "huobean@...il.com" <huobean@...il.com>, "avri.altman@....com"
<avri.altman@....com>, "tanghuan@...o.com" <tanghuan@...o.com>,
"quic_nguyenb@...cinc.com" <quic_nguyenb@...cinc.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"liu.song13@....com.cn" <liu.song13@....com.cn>, "bvanassche@....org"
<bvanassche@....org>, "alim.akhtar@...sung.com" <alim.akhtar@...sung.com>,
"viro@...iv.linux.org.uk" <viro@...iv.linux.org.uk>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] scsi: ufs: core: Use str_true_false() helper in
UFS_FLAG()
On Mon, 2025-07-21 at 20:01 +0800, liu.xuemei1@....com.cn wrote:
>
> @@ -1516,7 +1517,7 @@ static ssize_t _name##_show(struct device
> *dev, \
> ret = -
> EINVAL; \
> goto
> out; \
>
> } \
> - ret = sysfs_emit(buf, "%s\n", flag ? "true" :
> "false"); \
> + ret = sysfs_emit(buf, "%s\n",
> str_true_false(flag)); \
> out:
> \
> up(&hba-
> >host_sem); \
> return
> ret; \
> --
> 2.27.0
Reviewed-by: Peter Wang <peter.wang@...iatek.com>
Powered by blists - more mailing lists