[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202308292029.9Je6bgXn-lkp@intel.com>
Date: Tue, 29 Aug 2023 20:54:44 +0800
From: kernel test robot <lkp@...el.com>
To: Karol Kolacinski <karol.kolacinski@...el.com>,
intel-wired-lan@...ts.osuosl.org
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
Karol Kolacinski <karol.kolacinski@...el.com>,
anthony.l.nguyen@...el.com, jesse.brandeburg@...el.com
Subject: Re: [Intel-wired-lan] [PATCH v4 iwl-next 02/11] ice: introduce PTP
state machine
Hi Karol,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 938672aefaeb88c4e3b6d8bc04ff97900e0809dd]
url: https://github.com/intel-lab-lkp/linux/commits/Karol-Kolacinski/ice-use-ice_pf_src_tmr_owned-where-available/20230829-184543
base: 938672aefaeb88c4e3b6d8bc04ff97900e0809dd
patch link: https://lore.kernel.org/r/20230829104041.64131-3-karol.kolacinski%40intel.com
patch subject: [Intel-wired-lan] [PATCH v4 iwl-next 02/11] ice: introduce PTP state machine
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230829/202308292029.9Je6bgXn-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308292029.9Je6bgXn-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308292029.9Je6bgXn-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/intel/ice/ice_ptp.c:265:20: warning: 'ice_ptp_state_str' defined but not used [-Wunused-function]
265 | static const char *ice_ptp_state_str(enum ice_ptp_state state)
| ^~~~~~~~~~~~~~~~~
vim +/ice_ptp_state_str +265 drivers/net/ethernet/intel/ice/ice_ptp.c
257
258 /**
259 * ice_ptp_state_str - Convert PTP state to readable string
260 * @state: PTP state to convert
261 *
262 * Returns: the human readable string representation of the provided PTP
263 * state, used for printing error messages.
264 */
> 265 static const char *ice_ptp_state_str(enum ice_ptp_state state)
266 {
267 switch (state) {
268 case ICE_PTP_UNINIT:
269 return "UNINITIALIZED";
270 case ICE_PTP_INITIALIZING:
271 return "INITIALIZING";
272 case ICE_PTP_READY:
273 return "READY";
274 case ICE_PTP_RESETTING:
275 return "RESETTING";
276 case ICE_PTP_ERROR:
277 return "ERROR";
278 }
279
280 return "UNKNOWN";
281 }
282
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists