From: kernel test robot <lkp@intel.com>
To: Jan Sokolowski <jan.sokolowski@intel.com>,
intel-wired-lan@lists.osuosl.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [Intel-wired-lan] [PATCH iwl-next v2 2/6] ice: refactor ice_ddp to make functions static
Date: Tue, 1 Aug 2023 22:05:36 +0800 [thread overview]
Message-ID: <202308012117.GWpl2IGh-lkp@intel.com> (raw)
In-Reply-To: <20230801115309.697331-3-jan.sokolowski@intel.com>
Hi Jan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tnguy-next-queue/dev-queue]
url: https://github.com/intel-lab-lkp/linux/commits/Jan-Sokolowski/ice-remove-unused-methods/20230801-195105
base: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue
patch link: https://lore.kernel.org/r/20230801115309.697331-3-jan.sokolowski%40intel.com
patch subject: [Intel-wired-lan] [PATCH iwl-next v2 2/6] ice: refactor ice_ddp to make functions static
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230801/202308012117.GWpl2IGh-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230801/202308012117.GWpl2IGh-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/202308012117.GWpl2IGh-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/intel/ice/ice_ddp.c:1474:29: warning: no previous prototype for 'ice_find_seg_in_pkg' [-Wmissing-prototypes]
1474 | struct ice_generic_seg_hdr *ice_find_seg_in_pkg(struct ice_hw *hw, u32 seg_type,
| ^~~~~~~~~~~~~~~~~~~
vim +/ice_find_seg_in_pkg +1474 drivers/net/ethernet/intel/ice/ice_ddp.c
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1463
b1e9d9a5d80ff6 Jan Sokolowski 2023-08-01 1464 /*
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1465 * ice_find_seg_in_pkg
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1466 * @hw: pointer to the hardware structure
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1467 * @seg_type: the segment type to search for (i.e., SEGMENT_TYPE_CPK)
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1468 * @pkg_hdr: pointer to the package header to be searched
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1469 *
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1470 * This function searches a package file for a particular segment type. On
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1471 * success it returns a pointer to the segment header, otherwise it will
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1472 * return NULL.
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1473 */
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 @1474 struct ice_generic_seg_hdr *ice_find_seg_in_pkg(struct ice_hw *hw, u32 seg_type,
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1475 struct ice_pkg_hdr *pkg_hdr)
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1476 {
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1477 u32 i;
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1478
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1479 ice_debug(hw, ICE_DBG_PKG, "Package format version: %d.%d.%d.%d\n",
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1480 pkg_hdr->pkg_format_ver.major, pkg_hdr->pkg_format_ver.minor,
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1481 pkg_hdr->pkg_format_ver.update,
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1482 pkg_hdr->pkg_format_ver.draft);
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1483
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1484 /* Search all package segments for the requested segment type */
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1485 for (i = 0; i < le32_to_cpu(pkg_hdr->seg_count); i++) {
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1486 struct ice_generic_seg_hdr *seg;
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1487
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1488 seg = (struct ice_generic_seg_hdr
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1489 *)((u8 *)pkg_hdr +
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1490 le32_to_cpu(pkg_hdr->seg_offset[i]));
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1491
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1492 if (le32_to_cpu(seg->seg_type) == seg_type)
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1493 return seg;
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1494 }
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1495
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1496 return NULL;
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1497 }
2ffd87d38d6b9d Sergey Temerkhanov 2022-12-20 1498
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
next prev parent reply other threads:[~2023-08-01 14:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-01 11:53 [Intel-wired-lan] [PATCH iwl-next v2 0/6] ice: staticization refactor Jan Sokolowski
2023-08-01 11:53 ` [Intel-wired-lan] [PATCH iwl-next v2 1/6] ice: remove unused methods Jan Sokolowski
2023-08-01 11:53 ` [Intel-wired-lan] [PATCH iwl-next v2 2/6] ice: refactor ice_ddp to make functions static Jan Sokolowski
2023-08-01 14:05 ` kernel test robot [this message]
2023-08-01 11:53 ` [Intel-wired-lan] [PATCH iwl-next v2 3/6] ice: refactor ice_lib " Jan Sokolowski
2023-08-04 21:08 ` Tony Nguyen
2023-08-01 11:53 ` [Intel-wired-lan] [PATCH iwl-next v2 4/6] ice: refactor ice_vf_lib " Jan Sokolowski
2023-08-01 13:25 ` Przemek Kitszel
2023-08-04 21:08 ` Tony Nguyen
2023-08-01 11:53 ` [Intel-wired-lan] [PATCH iwl-next v2 5/6] ice: refactor ice_sched " Jan Sokolowski
2023-08-01 11:53 ` [Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: refactor ice_ptp_hw " Jan Sokolowski
2023-08-01 12:26 ` Przemek Kitszel
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=202308012117.GWpl2IGh-lkp@intel.com \
--to=lkp@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jan.sokolowski@intel.com \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox