Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] vfio: Allow untainted use of driver_override
       [not found] <20261118235645.2907908-2-alex@shazbot.org>
@ 2026-11-19 16:51 ` kernel test robot
  2026-11-19 16:51 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-11-19 16:51 UTC (permalink / raw)
  To: Alex Williamson, Uwe Kleine-König
  Cc: llvm, oe-kbuild-all, Alex Williamson, Greg Kroah-Hartman,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, Rafael J . Wysocki,
	Danilo Krummrich, Johan Hovold, Steven Rostedt, Masami Hiramatsu,
	Mathieu Desnoyers, David Lechner, Armin Wolf, Thierry Reding,
	Mike Rapoport, Arnd Bergmann, Karl Mehltretter, Paul E . McKenney,
	Borislav Petkov, Dapeng Mi, Marco Elver, Ethan Nelson-Moore,
	Jeff Layton, Bradley Morgan, Andrew Morton,
	Linux Memory Management List, Petr Mladek, Pnina Feder,
	Mete Durlu

Hi Alex,

kernel test robot noticed the following build errors:

[auto build test ERROR on awilliam-vfio/next]
[also build test ERROR on linus/master v7.4-rc3 next-20261116]
[cannot apply to awilliam-vfio/for-linus]
[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/Alex-Williamson/vfio-Allow-untainted-use-of-driver_override/20261118-165644
base:   https://github.com/awilliam/linux-vfio.git next
patch link:    https://lore.kernel.org/r/20261118235645.2907908-2-alex%40shazbot.org
patch subject: [PATCH] vfio: Allow untainted use of driver_override
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20261120/202611200005.ynk0zwGb-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 3b14d7c370558b46e5f0c6494a05c492e59bf32c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261120/202611200005.ynk0zwGb-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/202611200005.ynk0zwGb-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/vfio/pci/vfio_pci.c:264:9: error: field designator 'support_driver_override' does not refer to any field in type 'struct device_driver'
     264 |                             .support_driver_override = true },
         |                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +264 drivers/vfio/pci/vfio_pci.c

   255	
   256	static struct pci_driver vfio_pci_driver = {
   257		.name			= "vfio-pci",
   258		.id_table		= vfio_pci_table,
   259		.probe			= vfio_pci_probe,
   260		.remove			= vfio_pci_remove,
   261		.sriov_configure	= vfio_pci_sriov_configure,
   262		.err_handler		= &vfio_pci_err_handlers,
   263		.driver		= { .pm = pm_ptr(&vfio_pci_pm_ops),
 > 264				    .support_driver_override = true },
   265		.driver_managed_dma	= true,
   266	};
   267	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] vfio: Allow untainted use of driver_override
       [not found] <20261118235645.2907908-2-alex@shazbot.org>
  2026-11-19 16:51 ` [PATCH] vfio: Allow untainted use of driver_override kernel test robot
@ 2026-11-19 16:51 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-11-19 16:51 UTC (permalink / raw)
  To: Alex Williamson, Uwe Kleine-König
  Cc: oe-kbuild-all, Alex Williamson, Greg Kroah-Hartman,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, Rafael J . Wysocki,
	Danilo Krummrich, Johan Hovold, Steven Rostedt, Masami Hiramatsu,
	Mathieu Desnoyers, David Lechner, Armin Wolf, Thierry Reding,
	Mike Rapoport, Arnd Bergmann, Karl Mehltretter, Paul E . McKenney,
	Borislav Petkov, Dapeng Mi, Marco Elver, Ethan Nelson-Moore,
	Jeff Layton, Bradley Morgan, Andrew Morton,
	Linux Memory Management List, Petr Mladek, Pnina Feder,
	Mete Durlu

Hi Alex,

kernel test robot noticed the following build errors:

[auto build test ERROR on awilliam-vfio/next]
[also build test ERROR on linus/master v7.4-rc3 next-20261116]
[cannot apply to awilliam-vfio/for-linus]
[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/Alex-Williamson/vfio-Allow-untainted-use-of-driver_override/20261118-165644
base:   https://github.com/awilliam/linux-vfio.git next
patch link:    https://lore.kernel.org/r/20261118235645.2907908-2-alex%40shazbot.org
patch subject: [PATCH] vfio: Allow untainted use of driver_override
config: arm-randconfig-1000-20261119 (https://download.01.org/0day-ci/archive/20261120/202611200009.RQOE0yny-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261120/202611200009.RQOE0yny-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/202611200009.RQOE0yny-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/vfio/platform/vfio_platform.c:119:18: error: 'struct device_driver' has no member named 'support_driver_override'
     119 |                 .support_driver_override = true,
         |                  ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/vfio/platform/vfio_platform.c:119:44: error: initialization of 'const struct bus_type *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     119 |                 .support_driver_override = true,
         |                                            ^~~~
   drivers/vfio/platform/vfio_platform.c:119:44: note: (near initialization for 'vfio_platform_driver.driver.bus')


vim +119 drivers/vfio/platform/vfio_platform.c

   113	
   114	static struct platform_driver vfio_platform_driver = {
   115		.probe		= vfio_platform_probe,
   116		.remove		= vfio_platform_remove,
   117		.driver	= {
   118			.name	= "vfio-platform",
 > 119			.support_driver_override = true,
   120		},
   121		.driver_managed_dma = true,
   122	};
   123	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-19 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261118235645.2907908-2-alex@shazbot.org>
2026-11-19 16:51 ` [PATCH] vfio: Allow untainted use of driver_override kernel test robot
2026-11-19 16:51 ` 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