All of lore.kernel.org
 help / color / mirror / Atom feed
* [groeck-staging:hwmon-next 41/43] drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'?
@ 2025-01-12 16:15 kernel test robot
  2025-01-12 16:46 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2025-01-12 16:15 UTC (permalink / raw)
  To: Denis Kirjanov; +Cc: oe-kbuild-all, linux-hwmon, Guenter Roeck

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head:   ffd30617d9ea248f5766778227bc2b59ee2e691a
commit: 139c3e32b53bdb1ee06f2f67adeccbcb4ad9288c [41/43] hwmon: pmbus: dps920ab: Add ability to instantiate through i2c
config: loongarch-randconfig-r131-20250112 (https://download.01.org/0day-ci/archive/20250113/202501130056.dNRlSRuE-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20250113/202501130056.dNRlSRuE-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/202501130056.dNRlSRuE-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'?
     205 |         .id_table = dps920ab_device_id,
         |                     ^~~~~~~~~~~~~~~~~~
         |                     dps920ab_driver


vim +205 drivers/hwmon/pmbus/dps920ab.c

   198	
   199	static struct i2c_driver dps920ab_driver = {
   200		.driver = {
   201			   .name = "dps920ab",
   202			   .of_match_table = of_match_ptr(dps920ab_of_match),
   203		},
   204		.probe = dps920ab_probe,
 > 205		.id_table = dps920ab_device_id,
   206	};
   207	

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

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

* Re: [groeck-staging:hwmon-next 41/43] drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'?
  2025-01-12 16:15 [groeck-staging:hwmon-next 41/43] drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'? kernel test robot
@ 2025-01-12 16:46 ` Guenter Roeck
  2025-01-13  7:42   ` Denis Kirjanov
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2025-01-12 16:46 UTC (permalink / raw)
  To: kernel test robot, Denis Kirjanov; +Cc: oe-kbuild-all, linux-hwmon

On 1/12/25 08:15, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
> head:   ffd30617d9ea248f5766778227bc2b59ee2e691a
> commit: 139c3e32b53bdb1ee06f2f67adeccbcb4ad9288c [41/43] hwmon: pmbus: dps920ab: Add ability to instantiate through i2c
> config: loongarch-randconfig-r131-20250112 (https://download.01.org/0day-ci/archive/20250113/202501130056.dNRlSRuE-lkp@intel.com/config)
> compiler: loongarch64-linux-gcc (GCC) 14.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20250113/202501130056.dNRlSRuE-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/202501130056.dNRlSRuE-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>>> drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'?
>       205 |         .id_table = dps920ab_device_id,
>           |                     ^~~~~~~~~~~~~~~~~~
>           |                     dps920ab_driver
> 
> 
> vim +205 drivers/hwmon/pmbus/dps920ab.c
> 
>     198	
>     199	static struct i2c_driver dps920ab_driver = {
>     200		.driver = {
>     201			   .name = "dps920ab",
>     202			   .of_match_table = of_match_ptr(dps920ab_of_match),
>     203		},
>     204		.probe = dps920ab_probe,
>   > 205		.id_table = dps920ab_device_id,
>     206	};
>     207	
> 

I dropped this patch as not even compile tested.

Guenter


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

* Re: [groeck-staging:hwmon-next 41/43] drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'?
  2025-01-12 16:46 ` Guenter Roeck
@ 2025-01-13  7:42   ` Denis Kirjanov
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Kirjanov @ 2025-01-13  7:42 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: kernel test robot, oe-kbuild-all, linux-hwmon

I've sent from the wrong repo, sorry, I'll send the proper patch shortly

On Sun, Jan 12, 2025 at 7:46 PM Guenter Roeck <linux@roeck-us.net> wrote:
>
> On 1/12/25 08:15, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
> > head:   ffd30617d9ea248f5766778227bc2b59ee2e691a
> > commit: 139c3e32b53bdb1ee06f2f67adeccbcb4ad9288c [41/43] hwmon: pmbus: dps920ab: Add ability to instantiate through i2c
> > config: loongarch-randconfig-r131-20250112 (https://download.01.org/0day-ci/archive/20250113/202501130056.dNRlSRuE-lkp@intel.com/config)
> > compiler: loongarch64-linux-gcc (GCC) 14.2.0
> > reproduce: (https://download.01.org/0day-ci/archive/20250113/202501130056.dNRlSRuE-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/202501130056.dNRlSRuE-lkp@intel.com/
> >
> > All errors (new ones prefixed by >>):
> >
> >>> drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'?
> >       205 |         .id_table = dps920ab_device_id,
> >           |                     ^~~~~~~~~~~~~~~~~~
> >           |                     dps920ab_driver
> >
> >
> > vim +205 drivers/hwmon/pmbus/dps920ab.c
> >
> >     198
> >     199       static struct i2c_driver dps920ab_driver = {
> >     200               .driver = {
> >     201                          .name = "dps920ab",
> >     202                          .of_match_table = of_match_ptr(dps920ab_of_match),
> >     203               },
> >     204               .probe = dps920ab_probe,
> >   > 205               .id_table = dps920ab_device_id,
> >     206       };
> >     207
> >
>
> I dropped this patch as not even compile tested.
>
> Guenter
>


-- 
Regards / Mit besten Grüßen,
Denis

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

end of thread, other threads:[~2025-01-13  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-12 16:15 [groeck-staging:hwmon-next 41/43] drivers/hwmon/pmbus/dps920ab.c:205:21: error: 'dps920ab_device_id' undeclared here (not in a function); did you mean 'dps920ab_driver'? kernel test robot
2025-01-12 16:46 ` Guenter Roeck
2025-01-13  7:42   ` Denis Kirjanov

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.