* [linux-next:master 6600/7771] drivers/accel/qaic/sahara.c:776:2-7: WARNING: NULL check before some freeing functions is not needed.
@ 2024-10-30 9:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-30 9:48 UTC (permalink / raw)
To: Jeffrey Hugo; +Cc: oe-kbuild-all, Carl Vanderlip, Bjorn Andersson
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6fb2fa9805c501d9ade047fc511961f3273cdcb5
commit: 93accc16a8d45a44e1f51fdf2c6014feedb13d27 [6600/7771] accel/qaic: Add crashdump to Sahara
config: alpha-randconfig-r064-20241030 (https://download.01.org/0day-ci/archive/20241030/202410301732.abF5Md4e-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410301732.abF5Md4e-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/accel/qaic/sahara.c:776:2-7: WARNING: NULL check before some freeing functions is not needed.
vim +776 drivers/accel/qaic/sahara.c
768
769 static void sahara_mhi_remove(struct mhi_device *mhi_dev)
770 {
771 struct sahara_context *context = dev_get_drvdata(&mhi_dev->dev);
772
773 cancel_work_sync(&context->fw_work);
774 cancel_work_sync(&context->dump_work);
775 if (context->mem_dump)
> 776 vfree(context->mem_dump);
777 sahara_release_image(context);
778 mhi_unprepare_from_transfer(mhi_dev);
779 }
780
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-30 9:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30 9:48 [linux-next:master 6600/7771] drivers/accel/qaic/sahara.c:776:2-7: WARNING: NULL check before some freeing functions is not needed kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.