All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Sun, 17 Dec 2023 08:35:24 +0800	[thread overview]
Message-ID: <202312170802.LEsLxWBA-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-17  0:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202312170802.LEsLxWBA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.