Re: [PATCH net-next 5/5] net: phy: microchip_t1 : Add initialization of ptp for lan887x
From: kernel test robot
Date: Mon Nov 04 2024 - 22:16:39 EST
Hi Divya,
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/Divya-Koppera/net-phy-microchip_ptp-Add-header-file-for-Microchip-ptp-library/20241104-171132
base: net-next/main
patch link: https://lore.kernel.org/r/20241104090750.12942-6-divya.koppera%40microchip.com
patch subject: [PATCH net-next 5/5] net: phy: microchip_t1 : Add initialization of ptp for lan887x
config: x86_64-randconfig-121-20241105 (https://download.01.org/0day-ci/archive/20241105/202411051039.Yz1kJCOl-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241105/202411051039.Yz1kJCOl-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411051039.Yz1kJCOl-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
drivers/net/phy/microchip_t1.c: note: in included file:
>> drivers/net/phy/microchip_ptp.h:201:16: sparse: sparse: Using plain integer as NULL pointer
vim +201 drivers/net/phy/microchip_ptp.h
ca38715fe9dd46 Divya Koppera 2024-11-04 196
ca38715fe9dd46 Divya Koppera 2024-11-04 197 static inline struct mchp_ptp_clock *mchp_ptp_probe(struct phy_device *phydev,
ca38715fe9dd46 Divya Koppera 2024-11-04 198 u8 mmd, u16 clk_base,
ca38715fe9dd46 Divya Koppera 2024-11-04 199 u16 port_base)
ca38715fe9dd46 Divya Koppera 2024-11-04 200 {
ca38715fe9dd46 Divya Koppera 2024-11-04 @201 return 0;
ca38715fe9dd46 Divya Koppera 2024-11-04 202 }
ca38715fe9dd46 Divya Koppera 2024-11-04 203
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki