[driver-core:debugfs_lookup_fix 1/1] drivers/mtd/spi-nor/debugfs.c:254:2-16: WARNING: NULL check before some freeing functions is not needed.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_lookup_fix
head:   416ca04cc251b11c991d466dae592f7308f52079
commit: 416ca04cc251b11c991d466dae592f7308f52079 [1/1] mtd: spi-nor: fix memory leak when using debugfs_lookup()
config: sh-randconfig-c033-20230305 (https://download.01.org/0day-ci/archive/20230305/202303052201.l1sxpnD9-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303052201.l1sxpnD9-lkp@xxxxxxxxx/

cocci warnings: (new ones prefixed by >>)
>> drivers/mtd/spi-nor/debugfs.c:254:2-16: WARNING: NULL check before some freeing functions is not needed.

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux