Hi Shradha, kernel test robot noticed the following build warnings: [auto build test WARNING on pci/next] [also build test WARNING on pci/for-linus mani-mhi/mhi-next linus/master v6.13-rc1 next-20241205] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Shradha-Todi/PCI-dwc-Add-support-for-vendor-specific-capability-search/20241206-163620 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20241206074456.17401-2-shradha.t%40samsung.com patch subject: [PATCH v4 1/2] PCI: dwc: Add support for vendor specific capability search config: i386-buildonly-randconfig-006 (https://download.01.org/0day-ci/archive/20241206/202412061940.WSlxZ8i1-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241206/202412061940.WSlxZ8i1-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/202412061940.WSlxZ8i1-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): drivers/pci/controller/dwc/pcie-designware.c: In function 'dw_pcie_find_vsec_capability': >> drivers/pci/controller/dwc/pcie-designware.c:285:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 285 | while (vsec = dw_pcie_find_next_ext_capability(pci, vsec, | ^~~~ vim +285 drivers/pci/controller/dwc/pcie-designware.c 279 280 u16 dw_pcie_find_vsec_capability(struct dw_pcie *pci, u8 vsec_cap) 281 { 282 u16 vsec = 0; 283 u32 header; 284 > 285 while (vsec = dw_pcie_find_next_ext_capability(pci, vsec, 286 PCI_EXT_CAP_ID_VNDR)) { 287 header = dw_pcie_readl_dbi(pci, vsec + PCI_VNDR_HEADER); 288 if (PCI_VNDR_HEADER_ID(header) == vsec_cap) 289 return vsec; 290 } 291 292 return 0; 293 } 294 EXPORT_SYMBOL_GPL(dw_pcie_find_vsec_capability); 295 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki