Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1878461pxk; Sat, 19 Sep 2020 05:20:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMRwpLzy8yFj/+TPAWHUwsgEXOwRaZgyulm/EdLcFuFvWSQGIC6DS2NynRguZmJy3ozkEL X-Received: by 2002:aa7:d5d2:: with SMTP id d18mr42688903eds.115.1600518039163; Sat, 19 Sep 2020 05:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600518039; cv=none; d=google.com; s=arc-20160816; b=fh3OJH6akGkemb1tnPwnKlzXZHxbodVtxhOeJRHwY2fP9a42h3NzLaOQPpBxcLOR0V vQ8n7fwy2hZToYX+zBche5cXFY3JqNO/oTGOWAWh3JiHCb1LwSARK4dl5F8e4a2MeiAd NYA+k39fJLf4UbeMSNjtGutMOUdGbUszAi0yI7bDD9/J7ttZ8E5ZuEWCksXzeWlPD+co jHbXzN7vzSZATv9lGQikU2dVJOMs3mq2JpCT7DLdVJ1pTaDWx26XozfRj5cuNJCVIO8D GZZE+QWV8FNh1t02upRq+dyKADVG9vNMjx4fbf8THj1HbH+K3Xe4HSiRd0sAfW7/uIzH V/qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5afXRROYC42w9zZlFGHROShTX1RTNAkRdU2RyjiQ+TE=; b=IIE5LyFdcwcbyWxoWXtlueyh08qWCGiunrHYXB0Kz2LLfkZAcqBskZD12S6Tz13Q/X l9ovMKaB0nwenRdEVvIQg1fMxWBedI9MYgStlJsXIQnPbJsZeI4ng/uE+goR0cSoWDKl bkywloJsTzOkEwl6jUXuqNQJvsegoEbLYgk+bDXDHlKAuVhxbVYsxEoyZLtaqfew8jRS P6Jr1pxKuAGy9XyJe2vSsfR+R59oKsFuu7R/hjaWjjlKXfIyQ05fxqU9jXiPZt8OKgdl +24lCXu34jt+d5ueQfdgCbmG1FDRY8Xf7dZXJFVf6WhIA5ZnLs+idBOOrAkF9ECNXVRB 6vjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QiGqcKAV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si4349326ejg.563.2020.09.19.05.19.38; Sat, 19 Sep 2020 05:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QiGqcKAV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726321AbgISMRH (ORCPT + 99 others); Sat, 19 Sep 2020 08:17:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:47720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbgISMRH (ORCPT ); Sat, 19 Sep 2020 08:17:07 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4A5CA20878; Sat, 19 Sep 2020 12:17:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600517826; bh=qQED3ZsvFj3ueUzjOOHhk72bFOy/HYXmOyirQHvq8Rg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QiGqcKAV6fSc4QEF9VPHJD33c5Llbi8r78oHJwyCZcGSWCEAaly3fGr4zFUS1ChDM acwSKT2GD+sk/Kp7/X5/htLcPIW0UgR+6fDoQGpG8lNgwh/+S312YHw8b4COpLXK1a RBJ8lK6YnPvWNTz1OF+rnuiFsQ3WtOlV3RgQs8YM= Date: Sat, 19 Sep 2020 13:17:01 +0100 From: Jonathan Cameron To: kernel test robot Cc: Cristian Pop , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kbuild-all@lists.01.org Subject: Re: [PATCH v5] iio: adc: ad7768-1: Add channel label example Message-ID: <20200919131701.619bded2@archlinux> In-Reply-To: <202009182056.LiUdHLln%lkp@intel.com> References: <20200918093356.93670-1-cristian.pop@analog.com> <202009182056.LiUdHLln%lkp@intel.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 18 Sep 2020 20:55:10 +0800 kernel test robot wrote: > Hi Cristian, > > Thank you for the patch! Yet something to improve: For anyone tracking this. The error is down to Cristian working around an email issue by sending the series as individual patches. Not ideal and confuses autobuilding but something odd was going on and this got it out. Thanks, Jonathan > > [auto build test ERROR on iio/togreg] > [also build test ERROR on linux/master linus/master v5.9-rc5 next-20200918] > [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] > > url: https://github.com/0day-ci/linux/commits/Cristian-Pop/iio-adc-ad7768-1-Add-channel-label-example/20200918-190340 > base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg > config: x86_64-allyesconfig (attached as .config) > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 > reproduce (this is a W=1 build): > # save the attached .config to linux build tree > make W=1 ARCH=x86_64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > >> drivers/iio/adc/ad7768-1.c:432:3: error: 'const struct iio_info' has no member named 'read_label'; did you mean 'read_raw'? > 432 | .read_label = ad7768_read_label, > | ^~~~~~~~~~ > | read_raw > >> drivers/iio/adc/ad7768-1.c:432:16: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, long int)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, char *)' [-Werror=incompatible-pointer-types] > 432 | .read_label = ad7768_read_label, > | ^~~~~~~~~~~~~~~~~ > drivers/iio/adc/ad7768-1.c:432:16: note: (near initialization for 'ad7768_info.write_raw_get_fmt') > cc1: some warnings being treated as errors > > # https://github.com/0day-ci/linux/commit/6144f5a8d7fa8961b6d39e36092c14301ad823c1 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Cristian-Pop/iio-adc-ad7768-1-Add-channel-label-example/20200918-190340 > git checkout 6144f5a8d7fa8961b6d39e36092c14301ad823c1 > vim +432 drivers/iio/adc/ad7768-1.c > > 427 > 428 static const struct iio_info ad7768_info = { > 429 .attrs = &ad7768_group, > 430 .read_raw = &ad7768_read_raw, > 431 .write_raw = &ad7768_write_raw, > > 432 .read_label = ad7768_read_label, > 433 .debugfs_reg_access = &ad7768_reg_access, > 434 }; > 435 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org