From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C86CB282F13 for ; Fri, 14 Aug 2026 21:52:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786744339; cv=none; b=ixayr1yuTn4TwIDAWgci13jIIR9qkaVj+10rxlIElF/ysTF1H2JZ8HE25g7yglNQnjjQT9B61cgZ2wZlwn72mLe1BF2s/3ogm80zpu+VyN2JVwfKzfyNV7B+q0IvMwSoR8l7VDQzSZxlhZtW8pJCHn+QMM5DCU8JA/bZtvapSK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786744339; c=relaxed/simple; bh=Um3EwIFjr+Vjh7UcKk+vUzfo/C7ucB/HcLrr5qY7/V8=; h=Date:From:To:Cc:Subject:Message-ID; b=NDBqEzlkaZaY4Q+ZeeAJk5PTsUNr+WQsVqzmcc/n4FUftKQqI+xvIbbeWKQ6Ctk2FLgWrxxu/QSkgnUi3S17eIpLQFg8iHqxB1H7JlQhrysoTvApgIhuTKCgJ4o2cgUZ7gL4QGGjjNuJdD4AucP2BxqwvIgSTK3yRfcdtkzz7Zc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=h43Jpc2g; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="h43Jpc2g" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1786744337; x=1818280337; h=date:from:to:cc:subject:message-id; bh=Um3EwIFjr+Vjh7UcKk+vUzfo/C7ucB/HcLrr5qY7/V8=; b=h43Jpc2g12Kv8EvFX9nSHI9jac+O4XIiB4YxWdFUSWmaP8zxk3XiTvu+ iAZjKi0t8r1vihglhNTXM6lagIximZL6cF5/I12fL4Le2BlYPRmttDIBC gkPfePmFqQDyjUolVzR9+2fT7vZb1ReKKuDqAhveR0BDNIUw3XndErFOC eg+KbADhugQbjSre0civaUitkmCmuoVEsQDRYSVPL0NUv1z2NvzcwzJaa 2leoLD3S9uz+D1tZMFiFKe6VkP9GOOrO1amBuquSwkozyiZ9Im8UytJyc slEHMX6tvU2PJ4dW3dP8qOzV9g1SlQD7xFEuzFaB8yoKHXX9tLjG4Lzvo A==; X-CSE-ConnectionGUID: neVo/db6RaCrqI6/rQ0ZOQ== X-CSE-MsgGUID: 0954yxo7TEqA4lz1q+3Vqw== X-IronPort-AV: E=McAfee;i="6800,10657,11875"; a="98840372" X-IronPort-AV: E=Sophos;i="6.25,224,1779174000"; d="scan'208";a="98840372" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2026 14:52:17 -0700 X-CSE-ConnectionGUID: vzr7nLd+TRWI6hiw1AIV8Q== X-CSE-MsgGUID: 56+qVN6STEK2dNBy9czPbg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,224,1779174000"; d="scan'208";a="262997522" Received: from lkp-server01.sh.intel.com (HELO 6eda058d650d) ([10.239.97.150]) by orviesa010.jf.intel.com with ESMTP; 14 Aug 2026 14:52:16 -0700 Received: from kbuild by 6eda058d650d with local (Exim 4.98.2) (envelope-from ) id 1wuzp0-00000000aKV-0S2a; Fri, 14 Aug 2026 21:52:14 +0000 Date: Sat, 15 Aug 2026 05:51:13 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com, Julia Lawall Subject: drivers/irqchip/irq-bcm7038-l1.c:411:7-10: ERROR: iterator variable bound on line 408 cannot be NULL Message-ID: <202608150552.d1LLPC7x-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev CC: linux-kernel@vger.kernel.org TO: Johan Hovold CC: Thomas Gleixner CC: Florian Fainelli Hi Johan, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2f1baf1fc8929e6c48370be543ad028ac7ad4131 commit: 1230fbb225abf3f04c64697c6b0f8dfb473b3790 irqchip: Enable compile testing of Broadcom drivers date: 10 months ago :::::: branch date: 23 hours ago :::::: commit date: 10 months ago config: powerpc-randconfig-r053-20260812 (https://download.01.org/0day-ci/archive/20260815/202608150552.d1LLPC7x-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 12df34b8469b8095359de8c249cb1b2753fadeea) 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 | Fixes: 1230fbb225ab ("irqchip: Enable compile testing of Broadcom drivers") | Reported-by: kernel test robot | Reported-by: Julia Lawall | Closes: https://lore.kernel.org/r/202608150552.d1LLPC7x-lkp@intel.com/ cocci warnings: (new ones prefixed by >>) >> drivers/irqchip/irq-bcm7038-l1.c:411:7-10: ERROR: iterator variable bound on line 408 cannot be NULL vim +411 drivers/irqchip/irq-bcm7038-l1.c 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 396 1e3e330c07076a Johan Hovold 2025-10-13 397 static int bcm7038_l1_probe(struct platform_device *pdev, struct device_node *parent) 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 398 { 1e3e330c07076a Johan Hovold 2025-10-13 399 struct device_node *dn = pdev->dev.of_node; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 400 struct bcm7038_l1_chip *intc; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 401 int idx, ret; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 402 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 403 intc = kzalloc(sizeof(*intc), GFP_KERNEL); 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 404 if (!intc) 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 405 return -ENOMEM; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 406 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 407 raw_spin_lock_init(&intc->lock); 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 @408 for_each_possible_cpu(idx) { 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 409 ret = bcm7038_l1_init_one(dn, idx, intc); 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 410 if (ret < 0) { 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 @411 if (idx) 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 412 break; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 413 pr_err("failed to remap intc L1 registers\n"); 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 414 goto out_free; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 415 } 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 416 } 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 417 affdc0d1bdfa54 Jiri Slaby (SUSE 2025-03-19 418) intc->domain = irq_domain_create_linear(of_fwnode_handle(dn), IRQS_PER_WORD * intc->n_words, 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 419 &bcm7038_l1_domain_ops, 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 420 intc); 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 421 if (!intc->domain) { 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 422 ret = -ENOMEM; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 423 goto out_unmap; 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 424 } 5f7f0317ed28b8 Kevin Cernekee 2014-12-25 425 :::::: The code at line 411 was first introduced by commit :::::: 5f7f0317ed28b86bdae9baf65bb72d405b6f79ee IRQCHIP: Add new driver for BCM7038-style level 1 interrupt controllers :::::: TO: Kevin Cernekee :::::: CC: Ralf Baechle -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki