All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:6.1-2.1.x-imx 13657/16025] include/linux/phy/phy-xgkr.h:146:1: warning: 'inline' is not at beginning of declaration
@ 2023-12-17  0:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-17  0:35 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

tree:   https://github.com/Freescale/linux-fslc 6.1-2.1.x-imx
head:   241e2f51bd87beb652196d1db92f0387c1209bfb
commit: 1b08357f03ae12925b35002d4efbca79e0662af6 [13657/16025] phy: xgkr: add configuration interface for copper backplane Ethernet PHYs
config: i386-randconfig-013-20231217 (https://download.01.org/0day-ci/archive/20231217/202312170802.LEsLxWBA-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312170802.LEsLxWBA-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312170802.LEsLxWBA-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/phy/phy.h:22,
                    from include/linux/usb/otg.h:13,
                    from include/linux/mfd/palmas.h:14,
                    from drivers/mfd/palmas.c:20:
>> include/linux/phy/phy-xgkr.h:146:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
     146 | static void inline c72_coef_update_print(const struct c72_coef_update *update,
         | ^~~~~~


vim +/inline +146 include/linux/phy/phy-xgkr.h

   145	
 > 146	static void inline c72_coef_update_print(const struct c72_coef_update *update,
   147						 char buf[C72_COEF_UPDATE_BUFSIZ])
   148	{
   149		sprintf(buf, "INIT %d, PRESET %d, C(-1) %s, C(0) %s, C(+1) %s",
   150			update->init, update->preset,
   151			coef_update_to_string(update->com1),
   152			coef_update_to_string(update->coz),
   153			coef_update_to_string(update->cop1));
   154	}
   155	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2023-12-17  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-17  0:35 [freescale-fslc:6.1-2.1.x-imx 13657/16025] include/linux/phy/phy-xgkr.h:146:1: warning: 'inline' is not at beginning of declaration kernel 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.