All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 8302/14131] drivers/net/phy/bcm-phy-lib.c:586:5: warning: no previous prototype for function '__bcm_phy_enable_rdb_access'
@ 2020-05-30  3:06 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-30  3:06 UTC (permalink / raw
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e7b08814b16b80a0bf76eeca16317f8c2ed23b8c
commit: 11ecf8c55b91806e4dc6a1b9fe7cbf68cdc9b006 [8302/14131] net: phy: broadcom: add cable test support
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2d068e534f1671459e1b135852c1b3c10502e929)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 11ecf8c55b91806e4dc6a1b9fe7cbf68cdc9b006
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

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

>> drivers/net/phy/bcm-phy-lib.c:586:5: warning: no previous prototype for function '__bcm_phy_enable_rdb_access' [-Wmissing-prototypes]
int __bcm_phy_enable_rdb_access(struct phy_device *phydev)
^
drivers/net/phy/bcm-phy-lib.c:586:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __bcm_phy_enable_rdb_access(struct phy_device *phydev)
^
static
>> drivers/net/phy/bcm-phy-lib.c:592:5: warning: no previous prototype for function '__bcm_phy_enable_legacy_access' [-Wmissing-prototypes]
int __bcm_phy_enable_legacy_access(struct phy_device *phydev)
^
drivers/net/phy/bcm-phy-lib.c:592:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __bcm_phy_enable_legacy_access(struct phy_device *phydev)
^
static
2 warnings generated.

vim +/__bcm_phy_enable_rdb_access +586 drivers/net/phy/bcm-phy-lib.c

   585	
 > 586	int __bcm_phy_enable_rdb_access(struct phy_device *phydev)
   587	{
   588		return __bcm_phy_write_exp(phydev, BCM54XX_EXP_REG7E, 0);
   589	}
   590	EXPORT_SYMBOL_GPL(__bcm_phy_enable_rdb_access);
   591	
 > 592	int __bcm_phy_enable_legacy_access(struct phy_device *phydev)
   593	{
   594		return __bcm_phy_write_rdb(phydev, BCM54XX_RDB_REG0087,
   595					   BCM54XX_ACCESS_MODE_LEGACY_EN);
   596	}
   597	EXPORT_SYMBOL_GPL(__bcm_phy_enable_legacy_access);
   598	

---
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: 73556 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-30  3:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-30  3:06 [linux-next:master 8302/14131] drivers/net/phy/bcm-phy-lib.c:586:5: warning: no previous prototype for function '__bcm_phy_enable_rdb_access' kbuild test robot

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.