lkml.org 
[lkml]   [2021]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2021-03-31 08:41    [W:0.037 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site