intel-wired-lan.lists.osuosl.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Karol Kolacinski <karol.kolacinski@intel.com>,
	intel-wired-lan@lists.osuosl.org
Cc: Sergey Temerkhanov <sergey.temerkhanov@intel.com>,
	netdev@vger.kernel.org, oe-kbuild-all@lists.linux.dev,
	Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>,
	Karol Kolacinski <karol.kolacinski@intel.com>,
	anthony.l.nguyen@intel.com,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>
Subject: Re: [Intel-wired-lan] [PATCH v6 iwl-next 05/12] ice: Move CGU block
Date: Fri, 5 Apr 2024 23:11:52 +0800	[thread overview]
Message-ID: <202404052226.aq0o8qIE-lkp@intel.com> (raw)
In-Reply-To: <20240405100648.144756-19-karol.kolacinski@intel.com>

Hi Karol,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 0a3074e5b4b523fb60f4ae9fb32bb180ea1fb6ef]

url:    https://github.com/intel-lab-lkp/linux/commits/Karol-Kolacinski/ice-Introduce-ice_ptp_hw-struct/20240405-180941
base:   0a3074e5b4b523fb60f4ae9fb32bb180ea1fb6ef
patch link:    https://lore.kernel.org/r/20240405100648.144756-19-karol.kolacinski%40intel.com
patch subject: [PATCH v6 iwl-next 05/12] ice: Move CGU block
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20240405/202404052226.aq0o8qIE-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/202404052226.aq0o8qIE-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/202404052226.aq0o8qIE-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/intel/ice/ice_ptp_hw.c: In function 'ice_read_cgu_reg_e82x':
   drivers/net/ethernet/intel/ice/ice_ptp_hw.c:244:25: warning: initialization of 'unsigned int' from 'u32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Wint-conversion]
     244 |                 .data = val
         |                         ^~~
   drivers/net/ethernet/intel/ice/ice_ptp_hw.c:244:25: note: (near initialization for 'cgu_msg.data')
   drivers/net/ethernet/intel/ice/ice_ptp_hw.c: In function 'ice_ptp_reset_ts_memory_quad_e82x':
>> drivers/net/ethernet/intel/ice/ice_ptp_hw.c:1167:58: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551614' to '4294967294' [-Woverflow]
    1167 |         ice_write_quad_reg_e82x(hw, quad, Q_REG_TS_CTRL, ~Q_REG_TS_CTRL_M);


vim +1167 drivers/net/ethernet/intel/ice/ice_ptp_hw.c

  1155	
  1156	/**
  1157	 * ice_ptp_reset_ts_memory_quad_e82x - Clear all timestamps from the quad block
  1158	 * @hw: pointer to the HW struct
  1159	 * @quad: the quad to read from
  1160	 *
  1161	 * Clear all timestamps from the PHY quad block that is shared between the
  1162	 * internal PHYs on the E822 devices.
  1163	 */
  1164	void ice_ptp_reset_ts_memory_quad_e82x(struct ice_hw *hw, u8 quad)
  1165	{
  1166		ice_write_quad_reg_e82x(hw, quad, Q_REG_TS_CTRL, Q_REG_TS_CTRL_M);
> 1167		ice_write_quad_reg_e82x(hw, quad, Q_REG_TS_CTRL, ~Q_REG_TS_CTRL_M);
  1168	}
  1169	

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

  parent reply	other threads:[~2024-04-05 15:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05  9:57 [Intel-wired-lan] [PATCH v6 iwl-next 00/12] Introduce ETH56G PHY model for E825C products Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 01/12] ice: Introduce ice_ptp_hw struct Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 02/12] ice: Introduce helper to get tmr_cmd_reg values Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 03/12] ice: Implement Tx interrupt enablement functions Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 04/12] ice: Add PHY OFFSET_READY register clearing Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 05/12] ice: Move CGU block Karol Kolacinski
2024-04-05 13:58   ` kernel test robot
2024-04-05 15:11   ` kernel test robot [this message]
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 06/12] ice: Introduce ice_get_base_incval() helper Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 07/12] ice: Introduce ETH56G PHY model for E825C products Karol Kolacinski
2024-04-05 14:51   ` kernel test robot
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 08/12] ice: Change CGU regs struct to anonymous Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 09/12] ice: Add support for E825-C TS PLL handling Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 10/12] ice: Add NAC Topology device capability parser Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 11/12] ice: Support 2XNAC configuration using auxbus Karol Kolacinski
2024-04-05  9:57 ` [Intel-wired-lan] [PATCH v6 iwl-next 12/12] ice: Adjust PTP init for 2x50G E825C devices Karol Kolacinski

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=202404052226.aq0o8qIE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=karol.kolacinski@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=sergey.temerkhanov@intel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).