From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Julia Lawall <julia.lawall@inria.fr>
Subject: drivers/media/platform/amd/isp4/isp4_subdev.c:35:3-9: opportunity for str_enable_disable(enable)
Date: Wed, 12 Aug 2026 22:31:49 +0800 [thread overview]
Message-ID: <202608122218.FUNWw6nP-lkp@intel.com> (raw)
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
reply other threads:[~2026-08-12 14:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608122218.FUNWw6nP-lkp@intel.com \
--to=lkp@intel.com \
--cc=julia.lawall@inria.fr \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.