* drivers/media/platform/amd/isp4/isp4_subdev.c:35:3-9: opportunity for str_enable_disable(enable)
@ 2026-08-12 14:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-12 14:31 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Julia Lawall
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Bin Du <Bin.Du@amd.com>
CC: Sakari Ailus <sakari.ailus@linux.intel.com>
CC: Sultan Alsawaf <sultan@kerneltoast.com>
CC: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f5bbbfec59b4e2fb7520a91de3df8a6174325d6a
commit: 4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3 media: platform: amd: isp4 subdev and firmware loading handling added
date: 3 months ago
:::::: branch date: 25 hours ago
:::::: commit date: 3 months ago
config: x86_64-randconfig-102-20260812 (https://download.01.org/0day-ci/archive/20260812/202608122218.FUNWw6nP-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
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
| Fixes: 4e5e7a7ddb4a ("media: platform: amd: isp4 subdev and firmware loading handling added")
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202608122218.FUNWw6nP-lkp@intel.com/
cocci warnings: (new ones prefixed by >>)
>> drivers/media/platform/amd/isp4/isp4_subdev.c:35:3-9: opportunity for str_enable_disable(enable)
vim +35 drivers/media/platform/amd/isp4/isp4_subdev.c
4e5e7a7ddb4ab9 Bin Du 2026-05-06 29
4e5e7a7ddb4ab9 Bin Du 2026-05-06 30 static void isp4sd_module_enable(struct isp4_subdev *isp_subdev, bool enable)
4e5e7a7ddb4ab9 Bin Du 2026-05-06 31 {
4e5e7a7ddb4ab9 Bin Du 2026-05-06 32 if (isp_subdev->enable_gpio) {
4e5e7a7ddb4ab9 Bin Du 2026-05-06 33 gpiod_set_value(isp_subdev->enable_gpio, enable ? 1 : 0);
4e5e7a7ddb4ab9 Bin Du 2026-05-06 34 dev_dbg(isp_subdev->dev, "%s isp_subdev module\n",
4e5e7a7ddb4ab9 Bin Du 2026-05-06 @35 enable ? "enable" : "disable");
4e5e7a7ddb4ab9 Bin Du 2026-05-06 36 }
4e5e7a7ddb4ab9 Bin Du 2026-05-06 37 }
4e5e7a7ddb4ab9 Bin Du 2026-05-06 38
--
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:[~2026-08-12 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12 14:31 drivers/media/platform/amd/isp4/isp4_subdev.c:35:3-9: opportunity for str_enable_disable(enable) 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.