On Tue, Jan 18, 2022 at 09:53:48AM +0000, David Binderman wrote: > Hello there, > > Recent gcc development versions say: > > drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c:275:33: warning: storing the address of local variable ‘h’ in ‘*handle’ [-Wdangling-pointer=] > > Source code is > > *handle = &h; > > but h is a stack local variable, so exporting its address doesn't make any sense. Great, can you send a patch to fix this up? thanks, greg k-h