From: Stefan Haberland <sth@linux.ibm.com>
To: Liao Yuanhong <liaoyuanhong@vivo.com>,
Jan Hoeppner <hoeppner@linux.ibm.com>,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Sven Schnelle <svens@linux.ibm.com>,
"open list:S390 DASD DRIVER" <linux-s390@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>,
Yang Xiuwei <yangxiuwei@kylinos.cn>
Subject: Re: [PATCH] s390/dasd: Use IS_ERR_OR_NULL() to simplify code
Date: Fri, 15 Aug 2025 16:13:42 +0200 [thread overview]
Message-ID: <a08d68e5-6fea-4913-859d-7c6f3e6a2f04@linux.ibm.com> (raw)
In-Reply-To: <20250814131201.230724-1-liaoyuanhong@vivo.com>
Am 14.08.25 um 15:12 schrieb Liao Yuanhong:
> Use IS_ERR_OR_NULL() instead of the original !xxx || IS_ERR(xxx) logic.
> This will simplify the code and enhance readability.
>
> Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
> ---
The exact same patch was already submitted by Yang Xiuwei <yangxiuwei@kylinos.cn> before.
prev parent reply other threads:[~2025-08-15 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-14 13:12 Liao Yuanhong
2025-08-15 14:13 ` Stefan Haberland [this message]
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=a08d68e5-6fea-4913-859d-7c6f3e6a2f04@linux.ibm.com \
--to=sth@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=hoeppner@linux.ibm.com \
--cc=liaoyuanhong@vivo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=svens@linux.ibm.com \
--cc=yangxiuwei@kylinos.cn \
/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®