ocfs2-devel.oss.oracle.com archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Liao Yuanhong <liaoyuanhong@vivo.com>, ocfs2-devel@lists.linux.dev
Cc: LKML <linux-kernel@vger.kernel.org>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Christian Brauner <brauner@kernel.org>,
	Daniel Yang <danielyangkang@gmail.com>,
	Dmitry Antipov <dmantipov@yandex.ru>,
	Joel Becker <jlbec@evilplan.org>,
	Joseph Qi <joseph.qi@linux.alibaba.com>,
	Mark Fasheh <mark@fasheh.com>
Subject: Re: [PATCH] ocfs2: Remove redundant 0 value initialization
Date: Tue, 19 Aug 2025 11:11:39 +0200	[thread overview]
Message-ID: <c98dacc1-46db-4924-bfb3-c56a084eed37@web.de> (raw)
In-Reply-To: <20250819032958.426932-1-liaoyuanhong@vivo.com>

> The o2hb_region struct is already zeroed by kzalloc(). It's redundant to
> initialize reg->hr_region_num to 0.

See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc2#n94

Regards,
Markus

      reply	other threads:[~2025-08-19  9:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-19  3:29 [PATCH] ocfs2: Remove redundant 0 value initialization Liao Yuanhong
2025-08-19  9:11 ` Markus Elfring [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=c98dacc1-46db-4924-bfb3-c56a084eed37@web.de \
    --to=markus.elfring@web.de \
    --cc=akpm@linux-foundation.org \
    --cc=brauner@kernel.org \
    --cc=danielyangkang@gmail.com \
    --cc=dmantipov@yandex.ru \
    --cc=jlbec@evilplan.org \
    --cc=joseph.qi@linux.alibaba.com \
    --cc=liaoyuanhong@vivo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@fasheh.com \
    --cc=ocfs2-devel@lists.linux.dev \
    --cc=viro@zeniv.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).