* [dwmw2:vmclock 22/22] drivers/ptp/ptp_vmclock.c:470:1: error: expected expression
@ 2024-07-27 20:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-07-27 20:53 UTC (permalink / raw)
To: David Woodhouse; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-07-27 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-27 20:53 [dwmw2:vmclock 22/22] drivers/ptp/ptp_vmclock.c:470:1: error: expected expression kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox