From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.21 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794796535; b=2+ZcF3FQMaze6hwrISF+zCaO+XBqt3m535nmoXPVS+YX0fbmJXK85efnarJgJ785b2Zm ZPMqdZ9b7tMJeDnZCp3VYvBYH1d37ueexsrmuqm1gKTgQv43z4UJcLXqDXcfNkCGaLV85 3oya5hUSWjUtGl+f2DiByrd8qMp5oqCHHjv3VX2xfdhvkb1XlOwTXSI3trO5WAkca/9S0 trYuGBLPRzubxXrMnL+gmEpi6s7fuu5ESwscX9k+9czikw5l/FZdl6UiPi03c//jZ+Hdc oNs18Um0Ouc2oPiXVcMyZv71gy6iJKHXEczfKQ0Z/eNi1+nb7OTnbwX0PEpovqcBWqA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794796535; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=unDsl+vkA74ZgwMQvpT6KU+CYon9+XZF0QXuKNDrC7U=; b=JIgI1A3+rsVsVoYCo0ombf87b3OBgTeHQKEBifbTWWF/AfvYiLMgWKg8ZPt89LGz/4t/ JjSjcDuClhEEXoJNkF6eIEqfXRBpHt3C1PLqq45z0N3CrkD8uNnUwkk+/2KXjgEIZbDls +XVrZ/LE313IwIZoq3Kd4WycwoX35EADpNbQl8xdaG2q95WZQrQjGUhPO7U86ZyEfFUZJ 2tat+X0DbjNEXq0wGSPuhPmwTPLCtTV2fAi4PggCAKk28wL0mBE/ihcrISVl6R2sZIona Ha+3Tyx7rnxUGU679j3nkMWbxbu3RPzLiCWHpH/xpHNmIao9k0U4ejNI8HxHcHSRxPg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=JQJFHFAu; arc=none smtp.remote-ip=198.175.65.21 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1EAD606A321 for ; Mon, 16 Nov 2026 02:35:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A1EAD606A321 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.a=rsa-sha256 header.s=Intel header.b=JQJFHFAu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1794796534; x=1826332534; h=date:from:to:cc:subject:message-id; bh=+2/XYSfCrly/bxNkKEzVe7HjxbaijJQTmcLanQCNhnk=; b=JQJFHFAunrZcaJHyGt68wErliC/agGfuEZjPeegIXCGez1CWGYPK/4iA 9/bWkm+8RhkGTNInh/3Cl+osrTSKmVg7qz0TcEiv5Xq7nNyKI3osHtauN KY+hYBRwR4xadG6/Ar5wQE5CguciQe90/WQ6HFO02eErEFDQFLjOjZygL yYR91ClcUg55KpFZndhA0S5eYw/aftcqdz8f6SeValm9Hyn0aqdkwDFoV 11PnNBorJNQIixp8TOaL3e8Chspg4MD29sCedQu8p6xcdzSghfzw2FUVR 8NsODuh1vWUoXdvQzWP8AVk4JBQ0bsafRli0Wr7httgJQKNafLbaK0iEa A==; X-CSE-ConnectionGUID: IuJEaRKrSvGyWOXlAP7DKA== X-CSE-MsgGUID: 9M5FQ1J7SPSYiqByPVu5AA== X-IronPort-AV: E=McAfee;i="6800,10657,11967"; a="3601785" X-IronPort-AV: E=Sophos;i="6.27,215,1787036400"; d="scan'208";a="3601785" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2026 18:35:34 -0800 X-CSE-ConnectionGUID: QiVuL+I/TviKL8pgVL24Jg== X-CSE-MsgGUID: es69B11GQYulyaox8nh/ww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,215,1787036400"; d="scan'208";a="9503499" Received: from igk-lkp-server01.igk.intel.com (HELO 1073a420ae3a) ([10.211.93.152]) by fmviesa005.fm.intel.com with ESMTP; 15 Nov 2026 18:35:33 -0800 Received: from kbuild by 1073a420ae3a with local (Exim 4.98.2) (envelope-from ) id 1xSmZ7-000000002ZX-2z77; Mon, 16 Nov 2026 02:35:29 +0000 Date: Mon, 16 Nov 2026 03:34:52 +0100 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: <202611160323.F2crfmtY-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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: aebb7274476403040d582c61478df8f4a7bf9cd3 commit: 1230fbb225abf3f04c64697c6b0f8dfb473b3790 irqchip: Enable compile testing of Broadcom drivers date: 1 year, 1 month ago :::::: branch date: 4 hours ago :::::: commit date: 1 year, 1 month ago config: arm64-randconfig-r2107-20261115 (https://download.01.org/0day-ci/archive/20261116/202611160323.F2crfmtY-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project c0693becb96c1610aeb87445a50df00d58a823cd) 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/202611160323.F2crfmtY-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