From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (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 12CAC23A99F; Sat, 29 Nov 2025 11:11:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764414665; cv=none; b=mz6sVmq5xon+hI93Hvg0Ok1/SYNmMLPgPj5Tf2rwgTqU4nuIFnZnnjN1TRt3p0gQaOia5OE8Ko6E+JeWSfFoe4JfoQllTDD8oS6WzJxOxTezxSa7NVosGZNeNwrJbXrYAbPQnG0uKGZNUsc0s9tnbIhp4sa5Y5hVz1eHOa86igo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764414665; c=relaxed/simple; bh=2UA5sco6NuFh6yBNwCIqsd1c3E4ylFlBew9OjNjMjDA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=faHgSB6YD18Qd9MoRKV6kLBUKniK+buBq8MNN6aFs1SfZfOPRTCd/qZpHSdNGiMFDHB+01ZuXGCkUicfkZdJf+WMUp1Cgto4KN8r/53NIgNIY7Qx5COrkGVCuyLSkIsD/phoOhmb3wrIgzzOXU/gcxaBQlQrcwxORdsCqPn60f0= 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=MokggMNn; arc=none smtp.client-ip=198.175.65.19 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="MokggMNn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764414663; x=1795950663; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2UA5sco6NuFh6yBNwCIqsd1c3E4ylFlBew9OjNjMjDA=; b=MokggMNnfiqYE0Bgk1DTO2XMnCsbJKbNNIgOf/3QkmPgLbpCLa2iCUZg UjMUtJ8ontSZedPZ2xp3POv48ZIU/iQyogrWJIESwkfPkFWStcOs4igkS ztbFgC7IJbFq/1Yv7bF/FwQ4o2W3Te8zbt5sdQc6gPBTED/wnFx5dPPki s4vItbDJwxfVbw1WsRQfzCBmU5miCTEoSBG+H2VxDEoCRX8vfckh1PnN+ qTv7f952iBA+22w0KIJFgRJEAHtCDh3InfUdehBc4dEzkz7ll1HOAUwPz 3J2kqlb3eGKcUEGnnYXXbs/YJrkNSzupO5MRWK+hpibvWOiInazI00wK0 g==; X-CSE-ConnectionGUID: f3yV0YfCTWGJ/d4vC5OI3w== X-CSE-MsgGUID: FJpLcX5RSLqEFvFaVBBGSA== X-IronPort-AV: E=McAfee;i="6800,10657,11627"; a="66306797" X-IronPort-AV: E=Sophos;i="6.20,236,1758610800"; d="scan'208";a="66306797" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2025 03:11:02 -0800 X-CSE-ConnectionGUID: 07e4EypTSjqk02QeoBMjlw== X-CSE-MsgGUID: VptHr+F9Sd6YJLQl0Xa/Sw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,236,1758610800"; d="scan'208";a="193754572" Received: from lkp-server01.sh.intel.com (HELO 4664bbef4914) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 29 Nov 2025 03:10:58 -0800 Received: from kbuild by 4664bbef4914 with local (Exim 4.98.2) (envelope-from ) id 1vPIqt-00000000789-3cxV; Sat, 29 Nov 2025 11:10:55 +0000 Date: Sat, 29 Nov 2025 19:10:09 +0800 From: kernel test robot To: Ekansh Gupta , srini@kernel.org, linux-arm-msm@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, gregkh@linuxfoundation.org, quic_bkumar@quicinc.com, linux-kernel@vger.kernel.org, quic_chennak@quicinc.com, dri-devel@lists.freedesktop.org, arnd@arndb.de, dmitry.baryshkov@oss.qualcomm.com Subject: Re: [PATCH v2 1/2] misc: fastrpc: Refactor mmap and munmap logic into helper functions Message-ID: <202511291834.zu81Ud77-lkp@intel.com> References: <20251128103428.1119696-2-ekansh.gupta@oss.qualcomm.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 In-Reply-To: <20251128103428.1119696-2-ekansh.gupta@oss.qualcomm.com> Hi Ekansh, kernel test robot noticed the following build warnings: [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on char-misc/char-misc-next char-misc/char-misc-linus linus/master v6.18-rc7 next-20251128] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Ekansh-Gupta/misc-fastrpc-Refactor-mmap-and-munmap-logic-into-helper-functions/20251128-183620 base: char-misc/char-misc-testing patch link: https://lore.kernel.org/r/20251128103428.1119696-2-ekansh.gupta%40oss.qualcomm.com patch subject: [PATCH v2 1/2] misc: fastrpc: Refactor mmap and munmap logic into helper functions config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20251129/202511291834.zu81Ud77-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251129/202511291834.zu81Ud77-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/202511291834.zu81Ud77-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/misc/fastrpc.c: In function 'fastrpc_req_munmap_dsp': >> drivers/misc/fastrpc.c:1825:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1825 | args[0].ptr = (u64) &req_msg; | ^ drivers/misc/fastrpc.c: In function 'fastrpc_req_map_dsp': drivers/misc/fastrpc.c:1897:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1897 | args[0].ptr = (u64)&req_msg; | ^ drivers/misc/fastrpc.c:1903:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1903 | args[1].ptr = (u64)&pages; | ^ drivers/misc/fastrpc.c:1906:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1906 | args[2].ptr = (u64)&rsp_msg; | ^ vim +1825 drivers/misc/fastrpc.c 1813 1814 static int fastrpc_req_munmap_dsp(struct fastrpc_user *fl, u64 raddr, u64 size) 1815 { 1816 struct fastrpc_invoke_args args[1] = { [0] = { 0 } }; 1817 struct fastrpc_munmap_req_msg req_msg; 1818 int err; 1819 u32 sc; 1820 1821 req_msg.client_id = fl->client_id; 1822 req_msg.size = size; 1823 req_msg.vaddr = raddr; 1824 > 1825 args[0].ptr = (u64) &req_msg; 1826 args[0].length = sizeof(req_msg); 1827 1828 sc = FASTRPC_SCALARS(FASTRPC_RMID_INIT_MUNMAP, 1, 0); 1829 err = fastrpc_internal_invoke(fl, true, FASTRPC_INIT_HANDLE, sc, 1830 &args[0]); 1831 1832 return err; 1833 } 1834 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki