From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org, patches@lists.linux.dev,
linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
akpm@linux-foundation.org, shuah@kernel.org,
patches@kernelci.org, lkft-triage@lists.linaro.org,
pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com,
sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de,
conor@kernel.org, allen.lkml@gmail.com
Subject: Re: [PATCH 5.4 00/90] 5.4.263-rc3 review
Date: Mon, 11 Dec 2023 15:56:31 +0100 [thread overview]
Message-ID: <2023121118-snagged-ninja-7efb@gregkh> (raw)
In-Reply-To: <5b0eb360-3765-40e1-854a-9da6d97eb405@roeck-us.net>
On Fri, Dec 08, 2023 at 10:09:17AM -0800, Guenter Roeck wrote:
> On 12/5/23 11:22, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.263 release.
> > There are 90 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Thu, 07 Dec 2023 18:32:16 +0000.
> > Anything received after that time might be too late.
> >
> [ ... ]
> > Qu Wenruo <wqu@suse.com>
> > btrfs: add dmesg output for first mount and last unmount of a filesystem
> >
>
> This patch results in the following code in fs/btrfs/disk-io.c:open_ctree():
>
> struct btrfs_super_block *disk_super;
> ... (no access to disk_super)
> btrfs_info(fs_info, "first mount of filesystem %pU", disk_super->fsid);
>
> which I would assume _should_ result in btrfs crashes. No idea why that isn't
> actually happening or why gcc doesn't complain. Building allmodconfig with
> clang does complain, but doesn't bail out.
>
> s/btrfs/disk-io.c:2832:55: warning: variable 'disk_super' is uninitialized when used here [-Wuninitialized]
> btrfs_info(fs_info, "first mount of filesystem %pU", disk_super->fsid);
> ^~~~~~~~~~
>
> The actual log output is:
>
> [ 7.302427] BTRFS info (device nvme0n1): first mount of filesystem (efault)
>
> It might be a good idea to either revert this patch or fix it up
> (though I don't know how to fix it up).
yeah, that doesn't look good, now reverted, thanks!
greg k-h
prev parent reply other threads:[~2023-12-11 14:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 19:22 [PATCH 5.4 00/90] 5.4.263-rc3 review Greg Kroah-Hartman
2023-12-05 21:48 ` Florian Fainelli
2023-12-06 11:18 ` Harshit Mogalapalli
2023-12-06 11:49 ` Jon Hunter
2023-12-06 13:15 ` Naresh Kamboju
2023-12-06 16:05 ` Shuah Khan
2023-12-06 18:44 ` Guenter Roeck
2023-12-08 18:09 ` Guenter Roeck
2023-12-11 14:56 ` Greg Kroah-Hartman [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=2023121118-snagged-ninja-7efb@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=allen.lkml@gmail.com \
--cc=conor@kernel.org \
--cc=f.fainelli@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lkft-triage@lists.linaro.org \
--cc=patches@kernelci.org \
--cc=patches@lists.linux.dev \
--cc=pavel@denx.de \
--cc=rwarsow@gmx.de \
--cc=shuah@kernel.org \
--cc=srw@sladewatkins.net \
--cc=stable@vger.kernel.org \
--cc=sudipm.mukherjee@gmail.com \
--cc=torvalds@linux-foundation.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