All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 7317/7860] drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c:259:18: error: implicit declaration of function 'acpi_execute_simple_method'; did you mean 'acpi_execute_reg_methods'?
@ 2025-01-10 14:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-10 14:52 UTC (permalink / raw)
  To: Even Xu
  Cc: oe-kbuild-all, Jiri Kosina, Xinpeng Sun, Srinivas Pandruvada,
	Mark Pearson

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   2b88851f583d3c4e40bcd40cfe1965241ec229dd
commit: 9d8d51735a3af40b722346931a6a1e50227df4b5 [7317/7860] HID: intel-thc-hid: intel-quickspi: Add HIDSPI protocol implementation
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20250110/202501102208.3QGSCARD-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250110/202501102208.3QGSCARD-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/202501102208.3QGSCARD-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c: In function 'acpi_tic_reset':
   drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c:258:18: error: implicit declaration of function 'acpi_device_handle'; did you mean 'acpi_fwnode_handle'? [-Werror=implicit-function-declaration]
     258 |         handle = acpi_device_handle(qsdev->acpi_dev);
         |                  ^~~~~~~~~~~~~~~~~~
         |                  acpi_fwnode_handle
   drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c:258:16: warning: assignment to 'acpi_handle' {aka 'void *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
     258 |         handle = acpi_device_handle(qsdev->acpi_dev);
         |                ^
>> drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c:259:18: error: implicit declaration of function 'acpi_execute_simple_method'; did you mean 'acpi_execute_reg_methods'? [-Werror=implicit-function-declaration]
     259 |         status = acpi_execute_simple_method(handle, "_RST", 0);
         |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |                  acpi_execute_reg_methods
   cc1: some warnings being treated as errors


vim +259 drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c

   249	
   250	static int acpi_tic_reset(struct quickspi_device *qsdev)
   251	{
   252		acpi_status status = 0;
   253		acpi_handle handle;
   254	
   255		if (!qsdev->acpi_dev)
   256			return -ENODEV;
   257	
   258		handle = acpi_device_handle(qsdev->acpi_dev);
 > 259		status = acpi_execute_simple_method(handle, "_RST", 0);
   260		if (ACPI_FAILURE(status)) {
   261			dev_err_once(qsdev->dev,
   262				     "Failed to reset device through ACPI method, ret = %d\n", status);
   263			return -EIO;
   264		}
   265	
   266		return 0;
   267	}
   268	

-- 
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:[~2025-01-10 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 14:52 [linux-next:master 7317/7860] drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c:259:18: error: implicit declaration of function 'acpi_execute_simple_method'; did you mean 'acpi_execute_reg_methods'? 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.