Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2782640rdb; Wed, 4 Oct 2023 11:12:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdOAhafzGi251i2hmH7bObMvSQ+jrGkMTIiOqDO5qyzK4jFYq/B2MO0cq9gFZqJSA9UMGr X-Received: by 2002:a17:902:db02:b0:1c5:634f:b36c with SMTP id m2-20020a170902db0200b001c5634fb36cmr3383310plx.30.1696443151275; Wed, 04 Oct 2023 11:12:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696443151; cv=none; d=google.com; s=arc-20160816; b=kvFGwjbZTGLZS5aJZCRLcWYPf7MIIKgPX85ROpINT1cs3hW06zlm1JPqnx67AI4ScO lLig0xV4GHFH7M8nyJtT7SK03vUcEgyBB8nMqIecbpdGtJPv99K4kaMdDJiZEzys/dPL HQpSCmumzS1AfZul+o/Z8diqZs0Sc+aHgZKyaxArPCWfX1CSvM8uZSv8hx1PsPw9f4j8 2JFeye+/FhrcMiiMG97mAhuiwO0kZWOJRzdoCSwGa4IY3Vjfqw8f9rZFRdi8/skfqkHd ZeFZCihc1mdGc1AAdUlFY7NBnKkRN9gat92C2Z3rGnogYol9jgjUgIzMlrTp6PzmSYq2 MriQ== 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=4hSLF1VkUqXqnCnRxTARJSdACINrZkyAMsePZHW3/2g=; fh=gdEtidpKVR+FOZWQsb+NtR5ukp+aNR2iA+UHUXOb1/o=; b=Pfwn63lBDnN3fM3aXIDrSjqlz16i9Vhk6T56V1dqUZ+Jls1x276DQ8Zy0MK+ZxGrjJ 298RHPss3bCR/sR8/0d9LZd3srWeFvflkpAimwVS6jFBWfDmVMQ3xQsF+q5yfRD1g+m8 AZ7zSQvMf7/udlX8EYNtg9umcxSsGTwXSsRyLEhhZjQW1Vna/MIjT/QWCEhcg3bLRYIV lXvcCWPJN/MjlDcDW7f0ZrY+ovO1P9ReAGknEDXniA+tk5+FjJysJnjacdGPoJaoV0rL QKl1wbCOnqFcbbBOr+fYScyfVnlk0rEeEn4AGSdb6E3zXPIVJmjcudiW7KbL/Z/5L+4a Q1Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lykKlD9K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x15-20020a170902ec8f00b001c1eed8a336si851689plg.167.2023.10.04.11.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:12:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lykKlD9K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 06A738374E66; Wed, 4 Oct 2023 11:12:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243959AbjJDSMP (ORCPT + 99 others); Wed, 4 Oct 2023 14:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243967AbjJDSMH (ORCPT ); Wed, 4 Oct 2023 14:12:07 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09782106; Wed, 4 Oct 2023 11:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696443121; x=1727979121; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Q5SYOhqLdxaR92zgm6FSzeZ8MvQQ9xSbq8CZ1FP69ks=; b=lykKlD9KH4/8f17bZOP9IqILs5OCGkbqg+u9ysjhZT5hV2EsZNJYNUER p3SU9JPmuM3LuioV7QHIvK3hoaWWSQCTRO/qVHq8uylXgGIPT7rm0USph AcSeyKstIor09aJ/GgDeA3DMZ77vAjov2nuea/5uuvOlfFTx/kiqatAKg SNTJrOwl8sd4qAF9IKBhIPATQQZNkdF+wuy6/0ao7uXKt+/wCLfg2kpS2 PEas38GI+qmqkiRCvQfUP5rtfOo5daSyMrGnWqV466V9UjQdVQa/LQ2Xh err6SgGHdxk5XSIXp57L1jXAB/B/AgdcW8EZoG9B34KqDNCPuQYMmbZop g==; X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="383162317" X-IronPort-AV: E=Sophos;i="6.03,201,1694761200"; d="scan'208";a="383162317" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Oct 2023 11:11:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="895085119" X-IronPort-AV: E=Sophos;i="6.03,201,1694761200"; d="scan'208";a="895085119" Received: from lkp-server02.sh.intel.com (HELO c3b01524d57c) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 04 Oct 2023 11:10:29 -0700 Received: from kbuild by c3b01524d57c with local (Exim 4.96) (envelope-from ) id 1qo6Li-000KU9-0E; Wed, 04 Oct 2023 18:11:54 +0000 Date: Thu, 5 Oct 2023 02:11:49 +0800 From: kernel test robot To: werneazc@gmail.com, jic23@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lars@metafoo.de Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Werner Subject: Re: [PATCH 2/2] iio: adc: ads7038: Add driver support for 12bit ADC Message-ID: <202310050120.yV1We3RG-lkp@intel.com> References: <20231004102330.3713-2-andre.werner@systec-electronic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231004102330.3713-2-andre.werner@systec-electronic.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 11:12:30 -0700 (PDT) Hi, kernel test robot noticed the following build warnings: [auto build test WARNING on jic23-iio/togreg] [also build test WARNING on robh/for-next linus/master v6.6-rc4 next-20231004] [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/werneazc-gmail-com/iio-adc-ads7038-Add-driver-support-for-12bit-ADC/20231004-182531 base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg patch link: https://lore.kernel.org/r/20231004102330.3713-2-andre.werner%40systec-electronic.com patch subject: [PATCH 2/2] iio: adc: ads7038: Add driver support for 12bit ADC config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20231005/202310050120.yV1We3RG-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231005/202310050120.yV1We3RG-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/202310050120.yV1We3RG-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/iio/adc/ti-ads7038-core.c:46:5: warning: no previous prototype for 'ads7038_read_raw' [-Wmissing-prototypes] 46 | int ads7038_read_raw(struct iio_dev *indio_dev, | ^~~~~~~~~~~~~~~~ vim +/ads7038_read_raw +46 drivers/iio/adc/ti-ads7038-core.c 45 > 46 int ads7038_read_raw(struct iio_dev *indio_dev, 47 struct iio_chan_spec const *chan, 48 int *val, int *val2, 49 long mask) 50 { 51 unsigned int ret; 52 struct ads7038_ch_meas_result tmp_val; 53 struct ads7038_data *const data = (struct ads7038_data *)iio_priv(indio_dev); 54 struct ads7038_info *const info = (struct ads7038_info *)data->info; 55 56 ret = info->read_channel(indio_dev, chan->channel, &tmp_val); 57 58 if (ret < 0) { 59 dev_err(&indio_dev->dev, "Read channel returned with error %d", ret); 60 return ret; 61 } 62 63 switch (mask) { 64 case IIO_CHAN_INFO_RAW: 65 *val = tmp_val.raw; 66 67 ret = IIO_VAL_INT; 68 break; 69 case IIO_CHAN_INFO_SCALE: 70 ret = regulator_get_voltage(data->reg); 71 if (ret < 0) 72 break; 73 74 *val = ret / 1000; /* uV -> mV */ 75 *val2 = (1 << chan->scan_type.realbits) - 1; 76 77 ret = IIO_VAL_FRACTIONAL; 78 break; 79 default: 80 ret = -EINVAL; 81 break; 82 } 83 84 return ret; 85 } 86 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki