Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alejandro Lucero <alejandro.lucero-palau@amd.com>
Cc: Paolo Abeni <pabeni@redhat.com>,
	Intel Wired LAN <intel-wired-lan@lists.osuosl.org>,
	Jiri Pirko <jiri@nvidia.com>,
	oe-kbuild-all@lists.linux.dev
Subject: [Intel-wired-lan] [tnguy-next-queue:master 27/39] drivers/net/ethernet/sfc/efx_devlink.c:522:2: error: unterminated argument list invoking macro "memset"
Date: Fri, 17 Feb 2023 01:34:23 +0800	[thread overview]
Message-ID: <202302170135.8MjefLR1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git master
head:   40967f77dfa9fa728b7f36a5d2eb432f39de185c
commit: 14743ddd2495c96caa18e382625c034e49a812e2 [27/39] sfc: add devlink info support for ef100
config: s390-randconfig-r035-20230216 (https://download.01.org/0day-ci/archive/20230217/202302170135.8MjefLR1-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 12.1.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git/commit/?id=14743ddd2495c96caa18e382625c034e49a812e2
        git remote add tnguy-next-queue https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git
        git fetch --no-tags tnguy-next-queue master
        git checkout 14743ddd2495c96caa18e382625c034e49a812e2
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/net/ethernet/sfc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302170135.8MjefLR1-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/ethernet/sfc/efx_devlink.c: In function 'efx_devlink_info_running_v2':
>> drivers/net/ethernet/sfc/efx_devlink.c:522:2: error: unterminated argument list invoking macro "memset"
     522 | }
         |  ^
   drivers/net/ethernet/sfc/efx_devlink.c:185:17: warning: statement with no effect [-Wunused-value]
     185 |                 memset(&build_date, 0, sizeof(build_date)
         |                 ^~~~~~
>> drivers/net/ethernet/sfc/efx_devlink.c:185:23: error: expected ';' at end of input
     185 |                 memset(&build_date, 0, sizeof(build_date)
         |                       ^
         |                       ;
   ......
>> drivers/net/ethernet/sfc/efx_devlink.c:185:17: error: expected declaration or statement at end of input
     185 |                 memset(&build_date, 0, sizeof(build_date)
         |                 ^~~~~~
>> drivers/net/ethernet/sfc/efx_devlink.c:185:17: error: expected declaration or statement at end of input
   drivers/net/ethernet/sfc/efx_devlink.c:94:25: warning: unused variable 'build_date' [-Wunused-variable]
      94 |         struct rtc_time build_date;
         |                         ^~~~~~~~~~
   drivers/net/ethernet/sfc/efx_devlink.c: At top level:
   drivers/net/ethernet/sfc/efx_devlink.c:84:13: warning: 'efx_devlink_info_running_v2' defined but not used [-Wunused-function]
      84 | static void efx_devlink_info_running_v2(struct efx_nic *efx,
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/sfc/efx_devlink.c:46:12: warning: 'efx_devlink_info_stored_versions' defined but not used [-Wunused-function]
      46 | static int efx_devlink_info_stored_versions(struct efx_nic *efx,
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/memset +522 drivers/net/ethernet/sfc/efx_devlink.c

fa34a5140a8e8f Alejandro Lucero 2023-02-15  515  
fa34a5140a8e8f Alejandro Lucero 2023-02-15  516  void efx_probe_devlink_unlock(struct efx_nic *efx)
fa34a5140a8e8f Alejandro Lucero 2023-02-15  517  {
fa34a5140a8e8f Alejandro Lucero 2023-02-15  518  	if (!efx->devlink)
fa34a5140a8e8f Alejandro Lucero 2023-02-15  519  		return;
fa34a5140a8e8f Alejandro Lucero 2023-02-15  520  
fa34a5140a8e8f Alejandro Lucero 2023-02-15  521  	devl_unlock(efx->devlink);
fa34a5140a8e8f Alejandro Lucero 2023-02-15 @522  }

:::::: The code at line 522 was first introduced by commit
:::::: fa34a5140a8e8f4120e86a1ae622b5df58414c3a sfc: add devlink support for ef100

:::::: TO: Alejandro Lucero <alejandro.lucero-palau@amd.com>
:::::: CC: Paolo Abeni <pabeni@redhat.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

                 reply	other threads:[~2023-02-16 17:34 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=202302170135.8MjefLR1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alejandro.lucero-palau@amd.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=jiri@nvidia.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox