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-...@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-...@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 <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202404052226.aq0o8qie-...@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