[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YGQY53/F5morEPN/@atomide.com>
Date: Wed, 31 Mar 2021 09:38:31 +0300
From: Tony Lindgren <tony@...mide.com>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: arch/arm/mach-omap2/sr_device.c:207:51: warning: variable
'sr_inst' is uninitialized when used here
* kernel test robot <lkp@...el.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
Powered by blists - more mailing lists