All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm'
@ 2020-06-12  6:35 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-06-12  6:35 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b791d1bdf9212d944d749a5c7ff6febdba241771
commit: f37f05503575c59020dacd36e999f4e8b3dbc115 mt76: mt76x2e: disable pcie_aspm by default
date:   8 months ago
config: microblaze-randconfig-r023-20200612 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f37f05503575c59020dacd36e999f4e8b3dbc115
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm' [-Wmissing-prototypes]
8 | void mt76_pci_disable_aspm(struct pci_dev *pdev)
|      ^~~~~~~~~~~~~~~~~~~~~

vim +/mt76_pci_disable_aspm +8 drivers/net/wireless/mediatek/mt76/pci.c

     7	
   > 8	void mt76_pci_disable_aspm(struct pci_dev *pdev)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

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

* drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm'
@ 2020-06-12  6:35 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-06-12  6:35 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: kbuild-all, linux-kernel, Kalle Valo, Felix Fietkau

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b791d1bdf9212d944d749a5c7ff6febdba241771
commit: f37f05503575c59020dacd36e999f4e8b3dbc115 mt76: mt76x2e: disable pcie_aspm by default
date:   8 months ago
config: microblaze-randconfig-r023-20200612 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f37f05503575c59020dacd36e999f4e8b3dbc115
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm' [-Wmissing-prototypes]
8 | void mt76_pci_disable_aspm(struct pci_dev *pdev)
|      ^~~~~~~~~~~~~~~~~~~~~

vim +/mt76_pci_disable_aspm +8 drivers/net/wireless/mediatek/mt76/pci.c

     7	
   > 8	void mt76_pci_disable_aspm(struct pci_dev *pdev)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

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

* Re: drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm'
  2020-06-12  6:35 ` kernel test robot
@ 2020-06-12  7:54   ` Kalle Valo
  -1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2020-06-12  7:54 UTC (permalink / raw)
  To: kernel test robot
  Cc: Lorenzo Bianconi, kbuild-all, linux-kernel, Felix Fietkau,
	linux-wireless

+ linux-wireless

kernel test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   b791d1bdf9212d944d749a5c7ff6febdba241771
> commit: f37f05503575c59020dacd36e999f4e8b3dbc115 mt76: mt76x2e: disable pcie_aspm by default
> date:   8 months ago
> config: microblaze-randconfig-r023-20200612 (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout f37f05503575c59020dacd36e999f4e8b3dbc115
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
>>> drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm' [-Wmissing-prototypes]
> 8 | void mt76_pci_disable_aspm(struct pci_dev *pdev)
> |      ^~~~~~~~~~~~~~~~~~~~~
>
> vim +/mt76_pci_disable_aspm +8 drivers/net/wireless/mediatek/mt76/pci.c
>
>      7	
>    > 8	void mt76_pci_disable_aspm(struct pci_dev *pdev)

Looks like "include mt76.h" is missing in pci.c. Can someone send a
patch, please?

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

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

* Re: drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm'
@ 2020-06-12  7:54   ` Kalle Valo
  0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2020-06-12  7:54 UTC (permalink / raw)
  To: kbuild-all

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

+ linux-wireless

kernel test robot <lkp@intel.com> writes:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   b791d1bdf9212d944d749a5c7ff6febdba241771
> commit: f37f05503575c59020dacd36e999f4e8b3dbc115 mt76: mt76x2e: disable pcie_aspm by default
> date:   8 months ago
> config: microblaze-randconfig-r023-20200612 (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout f37f05503575c59020dacd36e999f4e8b3dbc115
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze 
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
>>> drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm' [-Wmissing-prototypes]
> 8 | void mt76_pci_disable_aspm(struct pci_dev *pdev)
> |      ^~~~~~~~~~~~~~~~~~~~~
>
> vim +/mt76_pci_disable_aspm +8 drivers/net/wireless/mediatek/mt76/pci.c
>
>      7	
>    > 8	void mt76_pci_disable_aspm(struct pci_dev *pdev)

Looks like "include mt76.h" is missing in pci.c. Can someone send a
patch, please?

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

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

end of thread, other threads:[~2020-06-12  7:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-12  6:35 drivers/net/wireless/mediatek/mt76/pci.c:8:6: warning: no previous prototype for 'mt76_pci_disable_aspm' kernel test robot
2020-06-12  6:35 ` kernel test robot
2020-06-12  7:54 ` Kalle Valo
2020-06-12  7:54   ` Kalle Valo

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.