Messages in this thread | | | Date | Wed, 31 Mar 2021 09:38:31 +0300 | From | Tony Lindgren <> | Subject | Re: arch/arm/mach-omap2/sr_device.c:207:51: warning: variable 'sr_inst' is uninitialized when used here |
| |
* 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
| |