Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2907905rwr; Fri, 21 Apr 2023 16:50:50 -0700 (PDT) X-Google-Smtp-Source: AKy350anyoxEDiYw81T2K5YH5BC5URG8D8+pPAnYvb8q7YSLHb2zcuJ3Pg9jdgANPoYDIahIS1qb X-Received: by 2002:a05:6a20:3d20:b0:f2:15f7:a7f8 with SMTP id y32-20020a056a203d2000b000f215f7a7f8mr7914218pzi.2.1682121050037; Fri, 21 Apr 2023 16:50:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682121050; cv=none; d=google.com; s=arc-20160816; b=P2qgjwtp0B1Hc3MpGoToIcO2t10qRqfVj+6O8wwETN+tIB2pUEZ/ch9rEh48OWW9iJ BvWe90mpY+vLA/yMr8WSadqpRF8NFomaVnXQG1MYzW34zkxXPpByA+9DGfn+XJ+h7o2G QAVMU0wMwOCBNnnqXLv5meOQ1P9pjKSJ5LXsCgRpwpTT4a+ln9lwilw2cgUztQjGDXVg TKMccR+jYPPaZMAt/TfwQ86cWXL9vnvKgwpZgFvQTlblxW4u/O/i5fQvDp4kV+3HUPEJ 4P5Acddl247+ShYO4vQgidsGiULJbkWLnQ4mLozoyKgjce6OYcywul7vAesORhYFYeNJ yfng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vfv72tx6hl3UXtngT/VJDXS8DZ8b37j+qBOabrpjO4c=; b=eqvFU+AT3hr+XeaR7uZcbqrLHp4Cd4XG2fI+4wrraObi/06a/Wnqjkk/kMvu9edQxz zNMcjYTC97NjURTr1mmuefPtwyJvyWfz6eOlhEnKnQKpD32vJ0NdiOI4i18inK172V5M cE8VMvnJRudMtEmy43tlRwd9diKJgA9cUpqONm5pKOns9gcigwDvggUHPAzTDLLUAi5q B7W9qTsn98xY19DjdhslG2G+6ZrCkjUcdBCTjj4GKuWlsyG5ouAvsp0ybHSk2Md2LJZj OXfwDdRWoyGpuy00O8YkRzHlEBLDzFkuNnXbKRQCUtWSu70GuoCYlKro2sU7KvB066oQ p2Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PGKPCRL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f4-20020aa79684000000b0063354a65327si5350350pfk.395.2023.04.21.16.50.35; Fri, 21 Apr 2023 16:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PGKPCRL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233810AbjDUXUh (ORCPT + 99 others); Fri, 21 Apr 2023 19:20:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231282AbjDUXUd (ORCPT ); Fri, 21 Apr 2023 19:20:33 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E031E1706; Fri, 21 Apr 2023 16:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682119231; x=1713655231; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+aOGfveR5QxLDNBV2uv6FM0FuGsHyyWTmz3hqDhOUGw=; b=PGKPCRL1IsCNuUwR05mhdFAVAgRcu9WXfFAZcGQd0E33M3t5G/nbP5YA ndOHT2bGsIxVszCHDLyyyy7bNuLW3soFHzu4LyWyQQDKZER899uCsKTBL p5GSBRUxOS5FW2CGyuTBCAwHM2Rfh858FruV1yzEmPZFJujpfyV5dkSDn zW+xled0dFvW7OKWDVumqhx0bR+Cwv0F3uwUVrD+cxGMqHg8wpgC/CptM tpZnFF7//aeToURDcYFMWwGk4Y27m2blBb4W7ee7L4+BFOf6MBcnYrpw+ FZW53bDD7zRSojOiSyaJ0Zh3QEDUDteVS+asuD9UPYBA4/7EkQtFHHDyt w==; X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="326430844" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="326430844" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 16:20:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="669868629" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="669868629" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 21 Apr 2023 16:20:28 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pq03H-000gvK-0A; Fri, 21 Apr 2023 23:20:27 +0000 Date: Sat, 22 Apr 2023 07:19:44 +0800 From: kernel test robot To: Mehdi Djait , jic23@kernel.org, mazziesaccount@gmail.com Cc: oe-kbuild-all@lists.linux.dev, krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mehdi Djait Subject: Re: [PATCH v2 5/5] iio: accel: Add support for Kionix/ROHM KX132-1211 accelerometer Message-ID: <202304220729.FCofPRvH-lkp@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mehdi, kernel test robot noticed the following build warnings: [auto build test WARNING on jic23-iio/togreg] [also build test WARNING on next-20230421] [cannot apply to linus/master v6.3-rc7] [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/Mehdi-Djait/dt-bindings-iio-Add-KX132-1211-accelerometer/20230421-042531 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/cef09595632a40eff8a0864fea2e0eb6653930a5.1682019544.git.mehdi.djait.k%40gmail.com patch subject: [PATCH v2 5/5] iio: accel: Add support for Kionix/ROHM KX132-1211 accelerometer config: mips-randconfig-s031-20230421 (https://download.01.org/0day-ci/archive/20230422/202304220729.FCofPRvH-lkp@intel.com/config) compiler: mips64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/38837f58c549d688da8cb7cfb1aea0bd65a12548 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mehdi-Djait/dt-bindings-iio-Add-KX132-1211-accelerometer/20230421-042531 git checkout 38837f58c549d688da8cb7cfb1aea0bd65a12548 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=mips olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=mips SHELL=/bin/bash drivers/iio/accel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304220729.FCofPRvH-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/iio/accel/kionix-kx022a.c:698:20: sparse: sparse: invalid assignment: &= >> drivers/iio/accel/kionix-kx022a.c:698:20: sparse: left side has type restricted __le16 >> drivers/iio/accel/kionix-kx022a.c:698:20: sparse: right side has type unsigned short vim +698 drivers/iio/accel/kionix-kx022a.c 684 685 static int kx132_get_fifo_bytes(struct kx022a_data *data) 686 { 687 struct device *dev = regmap_get_device(data->regmap); 688 __le16 buf_status; 689 int ret, fifo_bytes; 690 691 ret = regmap_bulk_read(data->regmap, data->chip_info->buf_status1, 692 &buf_status, sizeof(buf_status)); 693 if (ret) { 694 dev_err(dev, "Error reading buffer status\n"); 695 return ret; 696 } 697 > 698 buf_status &= data->chip_info->buf_smp_lvl_mask; 699 fifo_bytes = le16_to_cpu(buf_status); 700 701 return fifo_bytes; 702 } 703 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests