All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com, Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH net-next 3/5] dpll: zl3073x: Add firmware loading functionality
Date: Mon, 28 Jul 2025 22:58:51 +0800	[thread overview]
Message-ID: <202507282200.NdMNR61W-lkp@intel.com> (raw)

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20250725154136.1008132-4-ivecera@redhat.com>
References: <20250725154136.1008132-4-ivecera@redhat.com>
TO: Ivan Vecera <ivecera@redhat.com>
TO: netdev@vger.kernel.org
CC: Jiri Pirko <jiri@resnulli.us>
CC: Eric Dumazet <edumazet@google.com>
CC: Jakub Kicinski <kuba@kernel.org>
CC: Paolo Abeni <pabeni@redhat.com>
CC: Simon Horman <horms@kernel.org>
CC: Jonathan Corbet <corbet@lwn.net>
CC: Prathosh Satish <Prathosh.Satish@microchip.com>
CC: linux-doc@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: Michal Schmidt <mschmidt@redhat.com>
CC: Petr Oros <poros@redhat.com>

Hi Ivan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Ivan-Vecera/dpll-zl3073x-Add-functions-to-access-hardware-registers/20250725-234600
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250725154136.1008132-4-ivecera%40redhat.com
patch subject: [PATCH net-next 3/5] dpll: zl3073x: Add firmware loading functionality
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: nios2-randconfig-r072-20250728 (https://download.01.org/0day-ci/archive/20250728/202507282200.NdMNR61W-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 8.5.0

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>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202507282200.NdMNR61W-lkp@intel.com/

smatch warnings:
drivers/dpll/zl3073x/fw.c:494 zl3073x_fw_flash() error: uninitialized symbol 'rc'.

vim +/rc +494 drivers/dpll/zl3073x/fw.c

1be19dc363ff8f7 Ivan Vecera 2025-07-25  478  
1be19dc363ff8f7 Ivan Vecera 2025-07-25  479  int zl3073x_fw_flash(struct zl3073x_dev *zldev, struct zl3073x_fw *zlfw,
1be19dc363ff8f7 Ivan Vecera 2025-07-25  480  		     struct netlink_ext_ack *extack)
1be19dc363ff8f7 Ivan Vecera 2025-07-25  481  {
1be19dc363ff8f7 Ivan Vecera 2025-07-25  482  	int i, rc;
1be19dc363ff8f7 Ivan Vecera 2025-07-25  483  
1be19dc363ff8f7 Ivan Vecera 2025-07-25  484  	for (i = 0; i < ZL_FW_NUM_COMPONENTS; i++) {
1be19dc363ff8f7 Ivan Vecera 2025-07-25  485  		if (!zlfw->component[i])
1be19dc363ff8f7 Ivan Vecera 2025-07-25  486  			continue; /* Component is not present */
1be19dc363ff8f7 Ivan Vecera 2025-07-25  487  
1be19dc363ff8f7 Ivan Vecera 2025-07-25  488  		rc = zl3073x_fw_component_flash(zldev, zlfw->component[i],
1be19dc363ff8f7 Ivan Vecera 2025-07-25  489  						extack);
1be19dc363ff8f7 Ivan Vecera 2025-07-25  490  		if (rc)
1be19dc363ff8f7 Ivan Vecera 2025-07-25  491  			break;
1be19dc363ff8f7 Ivan Vecera 2025-07-25  492  	}
1be19dc363ff8f7 Ivan Vecera 2025-07-25  493  
1be19dc363ff8f7 Ivan Vecera 2025-07-25 @494  	return rc;

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

             reply	other threads:[~2025-07-28 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-28 14:58 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-25 15:41 [PATCH net-next 0/5] dpll: zl3073x: Add support for devlink flash Ivan Vecera
2025-07-25 15:41 ` [PATCH net-next 3/5] dpll: zl3073x: Add firmware loading functionality Ivan Vecera
2025-07-26 20:33   ` Simon Horman
2025-07-29 15:20     ` Ivan Vecera

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=202507282200.NdMNR61W-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=error27@gmail.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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.