From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796032976; b=my8XFwcP5LM30Uy3y8eR2ruokkj7WjQe68UGO8Drzxw1wEPnxoXmrQ4nwThHiQvUD2k/ uRwj15BmoGsS6aSOjT8vh6+wr2NrprcfXE2EaIh5y5qz0MEPgcLco5UJr+nKKVE1QFxjq JiRlclQ21QqnK9PL4ynGzmv7tmyrQKSMubVES0yIv1gf5Q4zoAc7Hs6m54dLEYcpdxQdn Hibud1GqJH47nCXaAUGvbZR/Yz/WzssInI+54JYU2DUwh2D6Q6Effu0/jUhO//prf6uBA k3XHCnpGbX1lH2Zas6MJ9JtXCNp+D9NxXuOtWa1svq4iDUY2tf0PIqobapr3przfQEw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796032976; 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=kP2OzHsXnOob4ix4tgz9QmxLtlrkSPxWEZazg6Pdd3s=; b=m7TXDMD5uq/nGvBxdNSzh58rDCqS3Z/IvPGsNCmu9m9DhzbI0g1MbvPF59P3FmiM7p5J duvg9pfngg5jXYVph+Cwg9KNETaois9IFsw9C+jnDwJSHTJ7AJTOM28x4V+ISJnND47xl gDlSEzVvrxasg+xq7p/Zy85U+vr0sSxHL7oK8hOtxhw0takYHXhnTT4iF90c4/HdUmm2R 6q1HApJuwgopeGWNsBuhgGUAsS80GJxfhYb0WtNWPjxL0OQPjFwmK+QGPTkn/z+O4WX1R zoSb5BgDUiL/O5TSKeTeoWuytUjBNtacO9uYDm9cpJD1eL9yvsFUqclh1I0NifEpu1A== 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=LuvMAFIe; arc=none smtp.remote-ip=192.198.163.16 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 A2654606A329 for ; Mon, 30 Nov 2026 10:02:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A2654606A329 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=LuvMAFIe DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796032976; x=1827568976; h=date:from:to:cc:subject:message-id; bh=kP2OzHsXnOob4ix4tgz9QmxLtlrkSPxWEZazg6Pdd3s=; b=LuvMAFIegStFXEnkvU4h1zk/dViBHNoCdYjzhp6wx37dtKGX644nJFrn 1xf+p3lo0YVB62/nDnuxuZSnR4WpDhTOA+M/lF/6tNJVyN62ktktRmQqJ hwskB6gAI/LfbueZ8svvPlxp267hl5qVbPM6hP6Ylm/JsW0FreBxvC2Q6 QOpOesYIodbFYSriyFLDyPMFIK3KyffB5kxP6PvNFXt+6tmojuj4U0vmB Q7SexMIOysfL59M38yw+YoY7YaN6eCIo+vbyUotNspDWApgecAiqCYwtV 2/+SZVYOLZk14A0zCZA38DbFF+lUAcXS1CAZ2ZCLmRLTDZ0+rWPlEXmza A==; X-CSE-ConnectionGUID: YaFuX2kBSlqGc7+rcTApMQ== X-CSE-MsgGUID: ayBL9EhgTMmK0r6NGa0CXg== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4859403" X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="4859403" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 02:02:49 -0800 X-CSE-ConnectionGUID: 8QrayCFRQ9iBtJVcqKv+cw== X-CSE-MsgGUID: P1R3hB/0Qh63vIgZbTCWkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="12925999" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 30 Nov 2026 02:02:48 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xXyDd-00000001aTZ-2ehG; Mon, 30 Nov 2026 10:02:45 +0000 Date: Mon, 30 Nov 2026 18:01:59 +0800 From: kernel test robot To: Arnd Bergmann Cc: oe-kbuild-all@lists.linux.dev Subject: [linux-next:master 4359/13037] arch/arm/mach-orion5x/pci.c:909:39: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 Message-ID: <20261130175332.DGAj4Lk3-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e5aad2bdbbee783611d32599f89cea3f12f9593d commit: 316c5d0daac1258e13668ff9ce1ae0c76ae9992b [4359/13037] ARM: orion5x: fold plat-orion/pcie.c and hw_pci into pci.c config: arm-mvebu_v5_defconfig (https://download.01.org/0day-ci/archive/20261130/20261130175332.DGAj4Lk3-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 16.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130175332.DGAj4Lk3-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/20261130175332.DGAj4Lk3-lkp@intel.com/ All warnings (new ones prefixed by >>): arch/arm/mach-orion5x/pci.c: In function 'pcibios_init_hw.constprop': >> arch/arm/mach-orion5x/pci.c:909:39: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] 909 | sprintf(sys->io_res_name, "PCI%d I/O", busnr); | ^~ In function 'pcibios_init_resource', inlined from 'pcibios_init_hw.constprop' at arch/arm/mach-orion5x/pci.c:950:10: arch/arm/mach-orion5x/pci.c:909:35: note: directive argument in the range [-2147483641, 2147483646] 909 | sprintf(sys->io_res_name, "PCI%d I/O", busnr); | ^~~~~~~~~~~ arch/arm/mach-orion5x/pci.c:909:9: note: 'sprintf' output between 9 and 19 bytes into a destination of size 12 909 | sprintf(sys->io_res_name, "PCI%d I/O", busnr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +909 arch/arm/mach-orion5x/pci.c 890 891 static int pcibios_init_resource(int busnr, struct pci_sys_data *sys) 892 { 893 int ret; 894 struct resource_entry *window; 895 896 if (list_empty(&sys->resources)) { 897 pci_add_resource_offset(&sys->resources, 898 &iomem_resource, sys->mem_offset); 899 } 900 901 resource_list_for_each_entry(window, &sys->resources) 902 if (resource_type(window->res) == IORESOURCE_IO) 903 return 0; 904 905 sys->io_res.start = (busnr * SZ_64K) ? : pcibios_min_io; 906 sys->io_res.end = (busnr + 1) * SZ_64K - 1; 907 sys->io_res.flags = IORESOURCE_IO; 908 sys->io_res.name = sys->io_res_name; > 909 sprintf(sys->io_res_name, "PCI%d I/O", busnr); 910 911 ret = request_resource(&ioport_resource, &sys->io_res); 912 if (ret) { 913 pr_err("PCI: unable to allocate I/O port region (%d)\n", ret); 914 return ret; 915 } 916 pci_add_resource_offset(&sys->resources, &sys->io_res, 917 sys->io_offset); 918 919 return 0; 920 } 921 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki