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 A7EBF205E2E; Thu, 13 Feb 2025 04:27:33 +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=1739420855; cv=none; b=MGYDAbUXutxoZMex7QCIlQvPNTQZa18ngRtQpvXarYyjeLNBNGouuV1ziFXLQoqz0IinV2WJNgfjXB2MS/WPWdZCxSVWSCwgkNerkts39JTKCp6q2PxvRakq/tz/S9JS/Z9F3YZ1LxRm6xuvG5w8zew4zSu7mHP/wxNguUnJilg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739420855; c=relaxed/simple; bh=EVHodv6A6OesPZihltvxpFqG5LLHT1ysJmum3ERHX50=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bIIZjUPjLnXUw5FUxgQKF6JGyIdusBHeBIFw6bZqeZJr+XPUObIuwKWJVrYfKG7xnVSOTjUiD4vRaViCttFan7VR+73Gs9z8ukT/NdxxnzWC6of/MIWotIB4TqQOeV7h0Jlre/nWfT2gwiBL1mIJ15idxBT7Jy/9bj+appnxfJc= 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=JWiEU3VL; 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="JWiEU3VL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739420853; x=1770956853; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EVHodv6A6OesPZihltvxpFqG5LLHT1ysJmum3ERHX50=; b=JWiEU3VL/iOqjTPtzRDW64+bKhBPRPod0nwuOUmxtLtr2FCmsRi/0XVY td2qCfDHjh7jSOJ8BKxDVyChzK59KIrCKZImD7wZA7B/rlDcbm6g19wfS WPTH5FaByInAM39Zeh6SbpV80DenoCE7LyqfuNq6wdXdV9fcZOP608Ka8 AqsY0tg99XXvKWffZstIFRAWpoGSwZfk4VQMwzT4p2TzO6eOxg2Mm1/1P oayZMdLHIBXV7uQp/eImIB5EnQQRpx42piHnVr7wopSjyiPFKYTq6aHdv Evun37whTaPrGwIWowvwcXcRaAaf4MGwQ2kdSrrj5odNmhtDNZMAU4opc A==; X-CSE-ConnectionGUID: 43e2jfigS3KascU3V6bwFQ== X-CSE-MsgGUID: guseOe8IQASk1L6w7S2asg== X-IronPort-AV: E=McAfee;i="6700,10204,11343"; a="39970242" X-IronPort-AV: E=Sophos;i="6.13,281,1732608000"; d="scan'208";a="39970242" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2025 20:27:33 -0800 X-CSE-ConnectionGUID: TUD2K17MR3W67fq6LzJf8Q== X-CSE-MsgGUID: TpLnuZ1JTFKyvNCIbr/Yrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="113930223" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 12 Feb 2025 20:27:30 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tiQox-0016Vj-02; Thu, 13 Feb 2025 04:27:27 +0000 Date: Thu, 13 Feb 2025 12:27:26 +0800 From: kernel test robot To: Robert Budai , Lars-Peter Clausen , Michael Hennerich , Nuno Sa , Ramona Gradinariu , Antoniu Miclaus , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v7 3/6] iio: imu: adis: Add DIAG_STAT register Message-ID: <202502131226.6CIBwO2c-lkp@intel.com> References: <20250211175706.276987-4-robert.budai@analog.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: <20250211175706.276987-4-robert.budai@analog.com> Hi Robert, kernel test robot noticed the following build errors: [auto build test ERROR on jic23-iio/togreg] [also build test ERROR on linus/master v6.14-rc2 next-20250212] [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/Robert-Budai/iio-imu-adis-Add-custom-ops-struct/20250212-040235 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/20250211175706.276987-4-robert.budai%40analog.com patch subject: [PATCH v7 3/6] iio: imu: adis: Add DIAG_STAT register config: sh-randconfig-001-20250213 (https://download.01.org/0day-ci/archive/20250213/202502131226.6CIBwO2c-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250213/202502131226.6CIBwO2c-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/202502131226.6CIBwO2c-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/iio/imu/adis.c: In function '__adis_check_status': >> drivers/iio/imu/adis.c:319:42: error: passing argument 3 of '__adis_read_reg_16' makes pointer from integer without a cast [-Wint-conversion] 319 | status_16); | ^~~~~~~~~ | | | u16 {aka short unsigned int} In file included from drivers/iio/imu/adis.c:19: include/linux/iio/imu/adis.h:225:43: note: expected 'u16 *' {aka 'short unsigned int *'} but argument is of type 'u16' {aka 'short unsigned int'} 225 | u16 *val) | ~~~~~^~~ vim +/__adis_read_reg_16 +319 drivers/iio/imu/adis.c 298 299 /** 300 * __adis_check_status() - Check the device for error conditions (unlocked) 301 * @adis: The adis device 302 * 303 * Returns 0 on success, a negative error code otherwise 304 */ 305 int __adis_check_status(struct adis *adis) 306 { 307 unsigned int status; 308 int diag_stat_bits; 309 u16 status_16; 310 int ret; 311 int i; 312 313 if (adis->data->diag_stat_size) 314 ret = adis->ops->read(adis, adis->data->diag_stat_reg, &status, 315 adis->data->diag_stat_size); 316 else 317 { 318 ret = __adis_read_reg_16(adis, adis->data->diag_stat_reg, > 319 status_16); 320 status = status_16; 321 } 322 if (ret) 323 return ret; 324 325 status &= adis->data->status_error_mask; 326 327 if (status == 0) 328 return 0; 329 330 diag_stat_bits = BITS_PER_BYTE * (adis->data->diag_stat_size ? 331 adis->data->diag_stat_size : 2); 332 333 for (i = 0; i < diag_stat_bits; ++i) { 334 if (status & BIT(i)) { 335 dev_err(&adis->spi->dev, "%s.\n", 336 adis->data->status_error_msgs[i]); 337 } 338 } 339 340 return -EIO; 341 } 342 EXPORT_SYMBOL_NS_GPL(__adis_check_status, "IIO_ADISLIB"); 343 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki