From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 3821413B5AE for ; Fri, 12 Dec 2025 22:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765578638; cv=none; b=jVrEXERK2OtlYvemn09dEuPzE8jpmfHsWqLduPtuMnNPilptWsEU8blJbMGEiBAJyOVwQ6B1s1xYQ79K5f4PZDXEiQVikGKyev2wqQ1gNU0HwOSL0GDGdUY/mAg3DGjfyAM6zNK+Vo+PHyXwVUJmK4UNm8nl1Pk93izj1GjwqzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765578638; c=relaxed/simple; bh=b6G5M4dmQxczJGjBd+NQzalp+LVjY/zjZ6FjcgJbfds=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=jXUCZna6etqt15cofMjfQ15a+kwud/qPEffISd9SS926d3knfikyuuzpDMAUMQ7dVAY6YvNUYjDVDy0HAJI7+ZRpLkIzGrndPDAhcAbmcsAmvMSyWVP85iW4xJZTgJVtmVjOoEizJlegybOstgikZq+nkkGStkxbRb9yD78G3w0= 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=V5tZJBgx; arc=none smtp.client-ip=198.175.65.14 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="V5tZJBgx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765578637; x=1797114637; h=date:from:to:cc:subject:message-id:mime-version; bh=b6G5M4dmQxczJGjBd+NQzalp+LVjY/zjZ6FjcgJbfds=; b=V5tZJBgxU0g9W2sfdlL/Ss0CFYmZqouCMkO4iOEoqZa+oP12lIILDogl dogHq18VWLb8BKbAbqT1VVh5RLWEP1pcfmgEaJJCaX4u0Pu6IPbaUo/FE shLzHVCK79k2vduaXbcHjRG3D+ZQlVd8CXoA4eufclw6neCwaF9yyVPkJ JFKQGnWEHedfUqkakrSTCinXfqBeCFLvpfC37g1T2UNm4+mAxIOzkouCl 8MBCMmOJjaffw45RREgpAQP0JRxEEG/CkmqL0abGeQ8E57ffbBLard6cR wGpo4oFbSxGWuLSTvKBP3xGkHybN2wQjSD4TSCQ8YMkMcuuj0nAgREbX4 g==; X-CSE-ConnectionGUID: rYNUtdHUSqOc53ajdZUQTQ== X-CSE-MsgGUID: yvuLWAYdQR+gsOwvJNBQtA== X-IronPort-AV: E=McAfee;i="6800,10657,11640"; a="71446016" X-IronPort-AV: E=Sophos;i="6.21,144,1763452800"; d="scan'208";a="71446016" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2025 14:30:36 -0800 X-CSE-ConnectionGUID: v7fL/k+tRp6BXGcmVIxb0Q== X-CSE-MsgGUID: j7bELQfWSgGNCKWiTTIEJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,144,1763452800"; d="scan'208";a="201613946" Received: from lkp-server01.sh.intel.com (HELO d335e3c6db51) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 12 Dec 2025 14:30:34 -0800 Received: from kbuild by d335e3c6db51 with local (Exim 4.98.2) (envelope-from ) id 1vUBei-000000006hd-02BV; Fri, 12 Dec 2025 22:30:32 +0000 Date: Sat, 13 Dec 2025 06:29:49 +0800 From: kernel test robot To: Dave Jiang Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Alison Schofield , Ben Cheatham , Jonathan Cameron Subject: drivers/cxl/core/region.c:753:36: warning: format specifies type 'unsigned long long' but the argument has type 'resource_size_t' (aka 'unsigned int') Message-ID: <202512130601.qHhuGV9q-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 187d0801404f415f22c0b31531982c7ea97fa341 commit: d6602e25819dea2c239972e98e09ba5db4aebd22 cxl/region: Add support to indicate region has extended linear cache date: 6 weeks ago config: i386-randconfig-r123-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130601.qHhuGV9q-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130601.qHhuGV9q-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/202512130601.qHhuGV9q-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/cxl/core/region.c:753:36: warning: format specifies type 'unsigned long long' but the argument has type 'resource_size_t' (aka 'unsigned int') [-Wformat] 753 | return sysfs_emit(buf, "%#llx\n", p->cache_size); | ~~~~~ ^~~~~~~~~~~~~ | %#x 1 warning generated. vim +753 drivers/cxl/core/region.c 741 742 static ssize_t extended_linear_cache_size_show(struct device *dev, 743 struct device_attribute *attr, 744 char *buf) 745 { 746 struct cxl_region *cxlr = to_cxl_region(dev); 747 struct cxl_region_params *p = &cxlr->params; 748 ssize_t rc; 749 750 ACQUIRE(rwsem_read_intr, rwsem)(&cxl_rwsem.region); 751 if ((rc = ACQUIRE_ERR(rwsem_read_intr, &rwsem))) 752 return rc; > 753 return sysfs_emit(buf, "%#llx\n", p->cache_size); 754 } 755 static DEVICE_ATTR_RO(extended_linear_cache_size); 756 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki