From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 71D3D3C4551 for ; Fri, 10 Jul 2026 21:27:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783718843; cv=none; b=Rm6FwD6wUv07XqOOcxblQWiv2o9zDk5umadIZmBgwxEQOcYo1wpP+9CLO4NayNTZkKeg3gGdIFhB8W9EJ54Pkmr3h6ZcyJPDB05xDbw8kja2iqJtj07k/AoI3zkrTeWb1uMICCU0iJDuPnf06itJv6BWyva8ve5mD2t3oL8i5K4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783718843; c=relaxed/simple; bh=L25waRcxo6/2ccxyPansdObDhUVVjTvbD+6BQz+IBH8=; h=Date:From:To:Cc:Subject:Message-ID; b=ORSj0GcqTeilBlzurzJ+51kQAnLm/OYFFFSZkv2099nOM5WAiHKasSj9WGGYoc3uu+29QqZst/TriQpghrkPSW1khpJK9aGRzpSzr18piOB0BHbrS57Tq9QuJB0kTLMQHOCAVmx9OaL+WNhmQyCZhPAXl1R+dGhUdxRNHVEZ580= 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=AQlx3dqB; arc=none smtp.client-ip=198.175.65.21 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="AQlx3dqB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1783718841; x=1815254841; h=date:from:to:cc:subject:message-id; bh=L25waRcxo6/2ccxyPansdObDhUVVjTvbD+6BQz+IBH8=; b=AQlx3dqBIHrVLsAxsBPmadR9V3ooU5IiyAiv8oKCYLFqnRqy6Sr4zT5F 0oTuhCRvemPBdU+rMvU6dUlxLnqvC/L4wtwrB0YRvdaOecJj7EWxtcfgk gUaWu37+OXU3TcL/sLAp2OBsoBqu3xKsIaxy8Re4pW4prf1X63fYcEMuA Y7M7N8WoR/rqCCGF+VVMi0Jueb00V49nT5FCGrXnhgtl7P0WuzpzL/F/Q a7nPtJcVI5e7HeR7fnxPjbbTgV9MxVAxHd7KKRYNkLmz/XA7l7RGtmFXS wG0FDWvQov323073lvKr/r5LyGQzmlfnzD1ky47cKhFKEOtJqpMs0S3OE g==; X-CSE-ConnectionGUID: qZ3vIVjZTPuJZXTnRUSSfA== X-CSE-MsgGUID: YJTMD8yLQr2PqP7EfifoTQ== X-IronPort-AV: E=McAfee;i="6800,10657,11841"; a="84275684" X-IronPort-AV: E=Sophos;i="6.25,154,1779174000"; d="scan'208";a="84275684" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2026 14:27:21 -0700 X-CSE-ConnectionGUID: UEvcwnhET4+9tRm65dl7Qw== X-CSE-MsgGUID: q6qG9LH0QfuvGvZfG6xPXw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,154,1779174000"; d="scan'208";a="254490105" Received: from lkp-server02.sh.intel.com (HELO ea128546eb3d) ([10.239.97.151]) by orviesa008.jf.intel.com with ESMTP; 10 Jul 2026 14:27:18 -0700 Received: from kbuild by ea128546eb3d with local (Exim 4.98.2) (envelope-from ) id 1wiIkJ-00000000JQ8-3bnB; Fri, 10 Jul 2026 21:27:14 +0000 Date: Sat, 11 Jul 2026 05:25:53 +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: <202607110501.4s900LIY-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: a635d6748234582ea287c5ffeae28b9b23f91c7e commit: 1230fbb225abf3f04c64697c6b0f8dfb473b3790 irqchip: Enable compile testing of Broadcom drivers date: 9 months ago :::::: branch date: 22 hours ago :::::: commit date: 9 months ago config: hexagon-randconfig-r051-20260709 (https://download.01.org/0day-ci/archive/20260711/202607110501.4s900LIY-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project c279890c85da307abe34f10333442bbf72a60644) 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/202607110501.4s900LIY-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