From: Tony Lindgren <tony@atomide.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org
Subject: Re: arch/arm/mach-omap2/sr_device.c:207:51: warning: variable 'sr_inst' is uninitialized when used here
Date: Wed, 31 Mar 2021 09:38:31 +0300 [thread overview]
Message-ID: <YGQY53/F5morEPN/@atomide.com> (raw)
In-Reply-To: <202103271303.BNY18cjh-lkp@intel.com>
* kernel test robot <lkp@intel.com> [210327 05:06]:
> >> arch/arm/mach-omap2/sr_device.c:207:51: warning: variable 'sr_inst' is uninitialized when used here [-Wuninitialized]
> name = kasprintf(GFP_KERNEL, "smartreflex_%s", sr_inst[i]);
> ^~~~~~~
> arch/arm/mach-omap2/sr_device.c:191:29: note: initialize the variable 'sr_inst' to silence this warning
> const char * const *sr_inst;
> ^
> = NULL
> 1 warning generated.
Thanks for the report, FYI I posted a fix for this at:
https://lore.kernel.org/linux-omap/20210331063556.30654-1-tony@atomide.com/T/#u
Regards,
Tony
prev parent reply other threads:[~2021-03-31 6:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-27 5:05 kernel test robot
2021-03-31 6:38 ` Tony Lindgren [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=YGQY53/F5morEPN/@atomide.com \
--to=tony@atomide.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.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
all inboxes | Powered by JetHome®