From: kernel test robot <lkp@intel.com>
To: David Woodhouse <dwmw@amazon.co.uk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [dwmw2:vmclock 22/22] drivers/ptp/ptp_vmclock.c:470:1: error: expected expression
Date: Sun, 28 Jul 2024 04:53:50 +0800 [thread overview]
Message-ID: <202407280413.gDsj8ZO6-lkp@intel.com> (raw)
tree: git://git.infradead.org/users/dwmw2/linux vmclock
head: 54c99ce14ab0f5db82ef9bdfbfcd4c2633c486a8
commit: 54c99ce14ab0f5db82ef9bdfbfcd4c2633c486a8 [22/22] ptp: Add vDSO-style vmclock support
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240728/202407280413.gDsj8ZO6-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240728/202407280413.gDsj8ZO6-lkp@intel.com/reproduce)
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/202407280413.gDsj8ZO6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/ptp/ptp_vmclock.c:470:1: error: expected expression
470 | ` status = acpi_walk_resources(adev->handle, METHOD_NAME__CRS,
| ^
1 error generated.
vim +470 drivers/ptp/ptp_vmclock.c
456
457 static int vmclock_probe_acpi(struct device *dev, struct vmclock_state *st)
458 {
459 struct acpi_device *adev = ACPI_COMPANION(dev);
460 acpi_status status;
461
462 /*
463 * This should never happen as this function is only called when
464 * has_acpi_companion(dev) is true, but the logic is sufficiently
465 * complex that Coverity can't see the tautology.
466 */
467 if (!adev)
468 return -ENODEV;
469
> 470 ` status = acpi_walk_resources(adev->handle, METHOD_NAME__CRS,
471 vmclock_acpi_resources, st);
472 if (ACPI_FAILURE(status) || resource_type(&st->res) != IORESOURCE_MEM) {
473 dev_err(dev, "failed to get resources\n");
474 return -ENODEV;
475 }
476
477 return 0;
478 }
479
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-07-27 20:54 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=202407280413.gDsj8ZO6-lkp@intel.com \
--to=lkp@intel.com \
--cc=dwmw@amazon.co.uk \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox