Search Linux Wireless

Re: [PATCH V4 00/16] net: iosm: PCIe Driver for Intel M.2 Modem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please fix these build failures, thank you:

drivers/net/wwan/iosm/iosm_ipc_wwan.c:231:21: error: variable ʽiosm_wwan_opsʼ has initializer but incomplete type
  231 | static const struct wwan_ops iosm_wwan_ops = {
      |                     ^~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:232:3: error: ʽconst struct wwan_opsʼ has no member named ʽpriv_sizeʼ
  232 |  .priv_size = sizeof(struct iosm_netdev_priv),
      |   ^~~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:232:15: warning: excess elements in struct initializer
  232 |  .priv_size = sizeof(struct iosm_netdev_priv),
      |               ^~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:232:15: note: (near initialization for ʽiosm_wwan_opsʼ)
drivers/net/wwan/iosm/iosm_ipc_wwan.c:233:3: error: ʽconst struct wwan_opsʼ has no member named ʽsetupʼ
  233 |  .setup = ipc_wwan_setup,
      |   ^~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:233:11: warning: excess elements in struct initializer
  233 |  .setup = ipc_wwan_setup,
      |           ^~~~~~~~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:233:11: note: (near initialization for ʽiosm_wwan_opsʼ)
drivers/net/wwan/iosm/iosm_ipc_wwan.c:234:3: error: ʽconst struct wwan_opsʼ has no member named ʽnewlinkʼ
  234 |  .newlink = ipc_wwan_newlink,
      |   ^~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:234:13: warning: excess elements in struct initializer
  234 |  .newlink = ipc_wwan_newlink,
      |             ^~~~~~~~~~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:234:13: note: (near initialization for ʽiosm_wwan_opsʼ)
drivers/net/wwan/iosm/iosm_ipc_wwan.c:235:3: error: ʽconst struct wwan_opsʼ has no member named ʽdellinkʼ
  235 |  .dellink = ipc_wwan_dellink,
      |   ^~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:235:13: warning: excess elements in struct initializer
  235 |  .dellink = ipc_wwan_dellink,
      |             ^~~~~~~~~~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c:235:13: note: (near initialization for ʽiosm_wwan_opsʼ)
drivers/net/wwan/iosm/iosm_ipc_wwan.c: In function ʽipc_wwan_initʼ:
drivers/net/wwan/iosm/iosm_ipc_wwan.c:319:6: error: implicit declaration of function ʽwwan_register_opsʼ [-Werror=implicit-function-declaration]
  319 |  if (wwan_register_ops(ipc_wwan->dev, &iosm_wwan_ops, ipc_wwan)) {
      |      ^~~~~~~~~~~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c: In function ʽipc_wwan_deinitʼ:
drivers/net/wwan/iosm/iosm_ipc_wwan.c:333:2: error: implicit declaration of function ʽwwan_unregister_opsʼ [-Werror=implicit-function-declaration]
  333 |  wwan_unregister_ops(ipc_wwan->dev);
      |  ^~~~~~~~~~~~~~~~~~~
drivers/net/wwan/iosm/iosm_ipc_wwan.c: At top level:
drivers/net/wwan/iosm/iosm_ipc_wwan.c:231:30: error: storage size of ʽiosm_wwan_opsʼ isnʼt known
  231 | static const struct wwan_ops iosm_wwan_ops = {
      |                              ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:272: drivers/net/wwan/iosm/iosm_ipc_wwan.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:515: drivers/net/wwan/iosm] Error 2
make[2]: *** [scripts/Makefile.build:515: drivers/net/wwan] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:515: drivers/net] Error 2
make[1]: *** Waiting for unfinished jobs....




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux