On Thu, Apr 14, 2022 at 04:42:19PM +0800, Xiaomeng Tong wrote: > These three declares are here: > struct gbaudio_data_connection *data; > > Since all three of these functions check for if the codec->module_list is > empty at the start of the function so these are not real bugs to bypass > 'if (!data) {'. To avoid static checker warnings like Smatch, initialize > the data with NULL. We do not work around broken tools, we ask that the tools be fixed. thanks, greg k-h