From: zhanchengbin <zhanchengbin1@huawei.com>
To: <sandeen@sandeen.net>, <djwong@kernel.org>
Cc: <liuzhiqiang26@huawei.com>, linfeilong <linfeilong@huawei.com>,
<linux-xfs@vger.kernel.org>
Subject: [PATCH 0/3] xfsprogs: avoid to use NULL pointer
Date: Mon, 6 Jun 2022 20:31:55 +0800 [thread overview]
Message-ID: <7f4abf2a-5ea5-e2ee-786e-88d871d29475@huawei.com> (raw)
Change malloc to xmalloc for avoid to use NULL pointer.
zhanchengbin (3):
mkfs/proto.c: avoid to use NULL pointer
db: avoid to use NULL pointer
repair/slab.c: avoid to use NULL pointer
db/block.c | 2 +-
db/check.c | 4 ++--
db/faddr.c | 6 +++---
db/namei.c | 2 +-
mkfs/proto.c | 4 ++--
repair/slab.c | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
--
2.27.0
next reply other threads:[~2022-06-06 12:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-06 12:31 zhanchengbin [this message]
2022-06-06 12:33 ` [PATCH 1/3] mkfs/proto.c: avoid to use NULL pointer zhanchengbin
2022-06-06 14:29 ` Eric Sandeen
2022-06-06 21:46 ` Dave Chinner
2022-06-06 12:33 ` [PATCH 2/3] db: " zhanchengbin
2022-06-06 12:34 ` [PATCH 3/3] repair/slab.c: " zhanchengbin
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=7f4abf2a-5ea5-e2ee-786e-88d871d29475@huawei.com \
--to=zhanchengbin1@huawei.com \
--cc=djwong@kernel.org \
--cc=linfeilong@huawei.com \
--cc=linux-xfs@vger.kernel.org \
--cc=liuzhiqiang26@huawei.com \
--cc=sandeen@sandeen.net \
/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