From: Markus Elfring <Markus.Elfring@web.de>
To: lkp@intel.com, Steve French <stfrench@microsoft.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [linux-next:master 13403/13588] fs/smb/client/smb2ops.c:3128:3: warning: variable 'rc' is uninitialized when used here
Date: Fri, 10 Oct 2025 12:22:12 +0200 [thread overview]
Message-ID: <b42cffc0-8996-42be-95a4-be4f8556aa3b@web.de> (raw)
In-Reply-To: <202510092253.kjfjscfD-lkp@intel.com>
> >> fs/smb/client/smb2ops.c:3128:3: warning: variable 'rc' is uninitialized when used here [-Wuninitialized]
> free_xid(xid);
> ^~~~~~~~~~~~~
> fs/smb/client/cifsproto.h:54:6: note: expanded from macro 'free_xid'
I am curious if this implementation detail will evolve further
also according to the involved handling of return values.
https://elixir.bootlin.com/linux/v6.17.1/source/fs/smb/client/cifsproto.h#L49-L58
See also:
https://lore.kernel.org/linux-cifs/CAH2r5mvg=kqPyA2nYF=Nhjr3vkt4dT1R4p-Bk_MBQtddjx_EhA@mail.gmail.com/
https://lkml.org/lkml/2025/10/9/974
Regards,
Markus
prev parent reply other threads:[~2025-10-10 10:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-09 15:01 [linux-next:master 13403/13588] fs/smb/client/smb2ops.c:3128:3: warning: variable 'rc' is uninitialized when used here kernel test robot
2025-10-10 10:22 ` 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=b42cffc0-8996-42be-95a4-be4f8556aa3b@web.de \
--to=markus.elfring@web.de \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=stfrench@microsoft.com \
/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