lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 4 Oct 2022 11:55:07 +0800
From:   kernel test robot <lkp@...el.com>
To:     Oleksij Rempel <o.rempel@...gutronix.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jakub Kicinski <kuba@...nel.org>,
        kernel test robot <lkp@...el.com>,
        Bagas Sanjaya <bagasdotme@...il.com>,
        Andrew Lunn <andrew@...n.ch>
Subject: [netdev-net-next:master 39/44] include/linux/pse-pd/pse.h:113:5:
 warning: no previous prototype for 'pse_ethtool_get_status'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git master
head:   e52f7c1ddf3e47243c330923ea764e7ccfbe99f7
commit: 18ff0bcda6d1dd3d53b4ce3f03e61bf1a648f960 [39/44] ethtool: add interface to interact with Ethernet Power Equipment
config: um-i386_defconfig
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=18ff0bcda6d1dd3d53b4ce3f03e61bf1a648f960
        git remote add netdev-net-next https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
        git fetch --no-tags netdev-net-next master
        git checkout 18ff0bcda6d1dd3d53b4ce3f03e61bf1a648f960
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash net/ethtool/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   In file included from net/ethtool/pse-pd.c:10:
>> include/linux/pse-pd/pse.h:113:5: warning: no previous prototype for 'pse_ethtool_get_status' [-Wmissing-prototypes]
     113 | int pse_ethtool_get_status(struct pse_control *psec,
         |     ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/pse-pd/pse.h:120:5: warning: no previous prototype for 'pse_ethtool_set_config' [-Wmissing-prototypes]
     120 | int pse_ethtool_set_config(struct pse_control *psec,
         |     ^~~~~~~~~~~~~~~~~~~~~~


vim +/pse_ethtool_get_status +113 include/linux/pse-pd/pse.h

   112	
 > 113	int pse_ethtool_get_status(struct pse_control *psec,
   114				   struct netlink_ext_ack *extack,
   115				   struct pse_control_status *status)
   116	{
   117		return -ENOTSUPP;
   118	}
   119	
 > 120	int pse_ethtool_set_config(struct pse_control *psec,
   121				   struct netlink_ext_ack *extack,
   122				   const struct pse_control_config *config)
   123	{
   124		return -ENOTSUPP;
   125	}
   126	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (41272 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ