Kernel-Janitors Archive mirror
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Harshad Shirwadkar <harshadshirwadkar@gmail.com>,
	Dan Carpenter <dan.carpenter@linaro.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>,
	Andreas Dilger <adilger.kernel@dilger.ca>,
	linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] ext4: fix potential unnitialized variable
Date: Tue,  7 May 2024 19:03:50 -0400	[thread overview]
Message-ID: <171512302197.3602678.10166283423942285304.b4-ty@mit.edu> (raw)
In-Reply-To: <363a4673-0fb8-4adf-b4fb-90a499077276@moroto.mountain>


On Wed, 17 Apr 2024 21:10:40 +0300, Dan Carpenter wrote:
> Smatch complains "err" can be uninitialized in the caller.
> 
>     fs/ext4/indirect.c:349 ext4_alloc_branch()
>     error: uninitialized symbol 'err'.
> 
> Set the error to zero on the success path.
> 
> [...]

Applied, thanks!

[1/1] ext4: fix potential unnitialized variable
      commit: 3f4830abd236d0428e50451e1ecb62e14c365e9b

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>

      reply	other threads:[~2024-05-07 23:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-17 18:10 [PATCH] ext4: fix potential unnitialized variable Dan Carpenter
2024-05-07 23:03 ` Theodore Ts'o [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=171512302197.3602678.10166283423942285304.b4-ty@mit.edu \
    --to=tytso@mit.edu \
    --cc=adilger.kernel@dilger.ca \
    --cc=dan.carpenter@linaro.org \
    --cc=harshadshirwadkar@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).