linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [balbi-usb:testing/next 2/13] drivers/usb/phy/phy-tahvo.c:434:4: error: 'struct device_driver' has no member named 'dev_groups'; did you mean 'groups'?
@ 2019-08-08 15:09 kbuild test robot
  2019-08-09  5:27 ` Felipe Balbi
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2019-08-08 15:09 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: kbuild-all, linux-usb, linux-omap, Felipe Balbi

[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/balbi/usb.git testing/next
head:   d06a2c3f683a591efce9d02b2b60ef346df5ae02
commit: 2a714ea6d90d9d1b510ba424652a2e3dfd547267 [2/13] USB: phy: tahvo: convert platform driver to use dev_groups
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 2a714ea6d90d9d1b510ba424652a2e3dfd547267
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=sh 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/usb/phy/phy-tahvo.c:434:4: error: 'struct device_driver' has no member named 'dev_groups'; did you mean 'groups'?
      .dev_groups = tahvo_groups,
       ^~~~~~~~~~
       groups
>> drivers/usb/phy/phy-tahvo.c:434:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
      .dev_groups = tahvo_groups,
                    ^~~~~~~~~~~~
   drivers/usb/phy/phy-tahvo.c:434:17: note: (near initialization for 'tahvo_usb_driver.driver.bus')
   cc1: some warnings being treated as errors

vim +434 drivers/usb/phy/phy-tahvo.c

   428	
   429	static struct platform_driver tahvo_usb_driver = {
   430		.probe		= tahvo_usb_probe,
   431		.remove		= tahvo_usb_remove,
   432		.driver		= {
   433			.name	= "tahvo-usb",
 > 434			.dev_groups = tahvo_groups,
   435		},
   436	};
   437	module_platform_driver(tahvo_usb_driver);
   438	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51784 bytes --]

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

end of thread, other threads:[~2019-08-09  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-08 15:09 [balbi-usb:testing/next 2/13] drivers/usb/phy/phy-tahvo.c:434:4: error: 'struct device_driver' has no member named 'dev_groups'; did you mean 'groups'? kbuild test robot
2019-08-09  5:27 ` Felipe Balbi
2019-08-09  5:58   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).