public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH 4/5] media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors
       [not found] <20251209160621.6854-5-johannes.goede@oss.qualcomm.com>
@ 2025-12-10 10:32 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-10 10:32 UTC (permalink / raw)
  To: Hans de Goede, Sakari Ailus, Bryan O'Donoghue
  Cc: llvm, oe-kbuild-all, Hans de Goede, Heimir Thor Sverrisson,
	linux-media, stable

Hi Hans,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on next-20251210]
[cannot apply to v6.18]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Hans-de-Goede/media-ov02c10-Fix-bayer-pattern-change-after-default-vflip-change/20251210-001230
base:   linus/master
patch link:    https://lore.kernel.org/r/20251209160621.6854-5-johannes.goede%40oss.qualcomm.com
patch subject: [PATCH 4/5] media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20251210/202512101804.4fea2mY1-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 6ec8c4351cfc1d0627d1633b02ea787bd29c77d8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251210/202512101804.4fea2mY1-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/202512101804.4fea2mY1-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/pci/intel/ipu-bridge.c:277:16: error: call to undeclared function 'acpi_dev_hid_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     277 |         if (dmi_id && acpi_dev_hid_match(adev, dmi_id->driver_data))
         |                       ^
   1 error generated.


vim +/acpi_dev_hid_match +277 drivers/media/pci/intel/ipu-bridge.c

   270	
   271	static u32 ipu_bridge_parse_rotation(struct acpi_device *adev,
   272					     struct ipu_sensor_ssdb *ssdb)
   273	{
   274		const struct dmi_system_id *dmi_id;
   275	
   276		dmi_id = dmi_first_match(upside_down_sensor_dmi_ids);
 > 277		if (dmi_id && acpi_dev_hid_match(adev, dmi_id->driver_data))
   278			return 180;
   279	
   280		switch (ssdb->degree) {
   281		case IPU_SENSOR_ROTATION_NORMAL:
   282			return 0;
   283		case IPU_SENSOR_ROTATION_INVERTED:
   284			return 180;
   285		default:
   286			dev_warn(ADEV_DEV(adev),
   287				 "Unknown rotation %d. Assume 0 degree rotation\n",
   288				 ssdb->degree);
   289			return 0;
   290		}
   291	}
   292	

-- 
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-12-10 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251209160621.6854-5-johannes.goede@oss.qualcomm.com>
2025-12-10 10:32 ` [PATCH 4/5] media: ipu-bridge: Add DMI quirk for Dell XPS laptops with upside down sensors 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