From: Stefan Haberland <sth@linux.ibm.com>
To: Yang Xiuwei <yangxiuwei2025@163.com>, hoeppner@linux.ibm.com
Cc: hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com,
borntraeger@linux.ibm.com, svens@linux.ibm.com,
linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
Yang Xiuwei <yangxiuwei@kylinos.cn>
Subject: Re: [PATCH] s390/dasd: use IS_ERR_OR_NULL() for debugfs error checking
Date: Fri, 15 Aug 2025 16:11:55 +0200 [thread overview]
Message-ID: <76db63b3-489e-4ba2-bfc5-280c04f1e91e@linux.ibm.com> (raw)
In-Reply-To: <20250814071247.2572569-1-yangxiuwei2025@163.com>
Am 14.08.25 um 09:12 schrieb Yang Xiuwei:
> From: Yang Xiuwei <yangxiuwei@kylinos.cn>
>
> Current code checks both `!pde` and `IS_ERR(pde)` separately when
> handling debugfs directory creation. Replace with IS_ERR_OR_NULL()
> for more concise error checking.
>
> This change applies to:
> 1. dasd_debugfs_setup() helper function
> 2. dasd_statistics_createroot() initialization code
>
> Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
applied, thanks
prev parent reply other threads:[~2025-08-15 14:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-14 7:12 Yang Xiuwei
2025-08-15 14:11 ` 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=76db63b3-489e-4ba2-bfc5-280c04f1e91e@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=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=svens@linux.ibm.com \
--cc=yangxiuwei2025@163.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®