From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 9013928C871; Sun, 8 Mar 2026 09:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772962086; cv=none; b=oplAmuXCJ5CKPsNod7jezR7a/x81YyUFBQqToHEgeI+3BzTHr4DpHp5IvaAGkGOmWv+SXgaN7HV6HYjqxpcUwjzKB/4SZ2DAAsh5NfikP7tl66RjFklyAHGWJrgZ/3xIaAxk9AMiqq8ncqE7N9sQnATxVVNCoQ52iWZZfGvpBKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772962086; c=relaxed/simple; bh=cSiZXE/kSyUm1O0K63blHHUWZz+8qV9acKXRx5UCc/s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RknBlAaaKZIeZYNLhc2BS7YwbgF40nP7DPGJECkoTCaG9fr8GoY1TmTz2MQ7rcJ+dwb4ucDDicoNGU6DexTY5FwiZP8ZDoZOsV7VhLduBuFZE88Dg3H6vCx/QhAa0jjJSkir3dKK1OF/hL2C+6p8cdTotdO19+scMDDaWhN+Twk= 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=IM1YdcDl; arc=none smtp.client-ip=198.175.65.10 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="IM1YdcDl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772962085; x=1804498085; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=cSiZXE/kSyUm1O0K63blHHUWZz+8qV9acKXRx5UCc/s=; b=IM1YdcDlkmgam0U6hxJ78zaVEeYT/BZ+DALT8A2Gd6P8hRzHL+xUF25B xIF7t8YS4dOWfGmNRT51yVd+3c0rIbAn5wfOmQ9f0qwutkkyXnunCJbdZ 0JIJ8awEuAwM92hwsh8WzQ2a30QbvVC27pDNVbS2GN3JTP8Hy17VQ3Cww 5Pt7/MqekTT34APPOVj6QqnRqJEHJqyBAUZnOcRnAGZzEXRxn1+05WBjP 1hQMWQTAHUqgaSwDFrDn5OinH4xb+nD2SNXJAlJamF3F0AWC6CuR3xTyn uolIhVySa6SG5Z0T/nsPuI7557s1qzHPOdAVxo+8Mnq9WRMaX0ePNHbP4 A==; X-CSE-ConnectionGUID: xSkryChhTh+10+MkX/jgSQ== X-CSE-MsgGUID: T0misv5oQ62l1sOO4/Q3YA== X-IronPort-AV: E=McAfee;i="6800,10657,11722"; a="91393772" X-IronPort-AV: E=Sophos;i="6.23,108,1770624000"; d="scan'208";a="91393772" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2026 01:28:04 -0800 X-CSE-ConnectionGUID: waEBKvIXRRa+tF9r0Ld7dQ== X-CSE-MsgGUID: IE1cYLz2RWCqRrAaJCAGjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,108,1770624000"; d="scan'208";a="223926575" Received: from lkp-server01.sh.intel.com (HELO 058beb05654c) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 08 Mar 2026 01:28:00 -0800 Received: from kbuild by 058beb05654c with local (Exim 4.98.2) (envelope-from ) id 1vzAQX-0000000030X-46lI; Sun, 08 Mar 2026 09:27:57 +0000 Date: Sun, 8 Mar 2026 17:27:51 +0800 From: kernel test robot To: Kishore Batta , Jonathan Corbet , Shuah Khan , Jeff Hugo , Carl Vanderlip , Oded Gabbay , Manivannan Sadhasivam Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, mhi@lists.linux.dev, Kishore Batta Subject: Re: [PATCH v2 4/9] bus: mhi: Centralize firmware image table selection at probe time Message-ID: <202603081717.xp3UQU2K-lkp@intel.com> References: <20260307-sahara_protocol_new_v2-v2-4-29dc748b5e9c@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-doc@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: <20260307-sahara_protocol_new_v2-v2-4-29dc748b5e9c@oss.qualcomm.com> Hi Kishore, kernel test robot noticed the following build warnings: [auto build test WARNING on a0ae2a256046c0c5d3778d1a194ff2e171f16e5f] url: https://github.com/intel-lab-lkp/linux/commits/Kishore-Batta/Add-documentation-for-Sahara-protocol/20260307-194417 base: a0ae2a256046c0c5d3778d1a194ff2e171f16e5f patch link: https://lore.kernel.org/r/20260307-sahara_protocol_new_v2-v2-4-29dc748b5e9c%40oss.qualcomm.com patch subject: [PATCH v2 4/9] bus: mhi: Centralize firmware image table selection at probe time config: i386-buildonly-randconfig-003-20260308 (https://download.01.org/0day-ci/archive/20260308/202603081717.xp3UQU2K-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/20260308/202603081717.xp3UQU2K-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/202603081717.xp3UQU2K-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/bus/mhi/sahara/sahara.c:270:18: warning: address of array 'id->chan' will always evaluate to 'true' [-Wpointer-bool-conversion] 270 | if (id && id->chan && !strcmp(id->chan, v->match)) | ~~ ~~~~^~~~ 1 warning generated. vim +270 drivers/bus/mhi/sahara/sahara.c 260 261 static const struct sahara_variant *sahara_select_variant(struct mhi_device *mhi_dev, 262 const struct mhi_device_id *id) 263 { 264 int i; 265 266 for (i = 0; i < ARRAY_SIZE(sahara_variants); i++) { 267 const struct sahara_variant *v = &sahara_variants[i]; 268 269 if (v->match_is_chan) { > 270 if (id && id->chan && !strcmp(id->chan, v->match)) 271 return v; 272 } else { 273 if (mhi_dev->mhi_cntrl && mhi_dev->mhi_cntrl->name && 274 !strcmp(mhi_dev->mhi_cntrl->name, v->match)) 275 return v; 276 } 277 } 278 return NULL; 279 } 280 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki