> > Hi, > > Also, out of curiosity, any link with this patch: > > https://lore.kernel.org/all/20221213041203.21080-1-chanh@xxxxxxxxxxxxxxxxxxxxxx/ > > Not exactly the same, but not very different. > > (adding Chanh Nguyen in cc) Yes, it is almost the same. I think it is not good place to free driver.name at gadget_drop function(), it should be close to kfree(gi). > > CJ >