linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 7918/13392] drivers/soc/microchip/mpfs-sys-controller.c:73:1-6: WARNING: invalid free of devm_ allocated data
@ 2022-03-17 18:48 kernel test robot
  2022-03-17 21:17 ` conor dooley
  0 siblings, 1 reply; 9+ messages in thread
From: kernel test robot @ 2022-03-17 18:48 UTC (permalink / raw)
  To: Conor Dooley; +Cc: kbuild-all, Linux Memory Management List, Nicolas Ferre

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   97add482e9033a9386baa8824fbea34d0cbfe663
commit: d0054a470c33902f5ae88835ed8a8ecc3cf8faa4 [7918/13392] soc: add microchip polarfire soc system controller
config: ia64-randconfig-c004-20220317 (https://download.01.org/0day-ci/archive/20220318/202203180259.lgIylRZV-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cocci warnings: (new ones prefixed by >>)
>> drivers/soc/microchip/mpfs-sys-controller.c:73:1-6: WARNING: invalid free of devm_ allocated data

vim +73 drivers/soc/microchip/mpfs-sys-controller.c

    66	
    67	static void mpfs_sys_controller_delete(struct kref *kref)
    68	{
    69		struct mpfs_sys_controller *sys_controller = container_of(kref, struct mpfs_sys_controller,
    70						       consumers);
    71	
    72		mbox_free_channel(sys_controller->chan);
  > 73		kfree(sys_controller);
    74	}
    75	

---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-03-21  8:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 18:48 [linux-next:master 7918/13392] drivers/soc/microchip/mpfs-sys-controller.c:73:1-6: WARNING: invalid free of devm_ allocated data kernel test robot
2022-03-17 21:17 ` conor dooley
2022-03-18  9:42   ` Nicolas Ferre
2022-03-18  9:43   ` Nicolas Ferre
2022-03-18 10:35     ` Conor Dooley
2022-03-18 11:02     ` Arnd Bergmann
2022-03-18 11:59       ` Conor Dooley
2022-03-21  8:12         ` Conor.Dooley
2022-03-18 12:50       ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox