Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp766769imm; Tue, 15 May 2018 08:53:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZogHUvgdRA1GoL4D5pu9TVXQLzFyiErWitTOmRaA2vzX1mgPaDQBARhhUUgxWlzVARH5Kot X-Received: by 2002:a62:4a88:: with SMTP id c8-v6mr15762568pfj.23.1526399618476; Tue, 15 May 2018 08:53:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526399618; cv=none; d=google.com; s=arc-20160816; b=dQrIynMDR/uW/FS0jY+xzHsKBQo6r6w4hfiyPpM7YVzIDa/ASA1sMEbRowBo7PUCKU rC1DkBQF72v4QHlxC77MJl3i+8yw9R8VQtWh6IxsfhJmnIgDynR1dKZB8Fz8C/gx2+SN bmbKbGBxvxpRLfLhroo2ZFYDm6mYZz9y/URNNxoPh3MaWzmedwsfZiYOmj4ozgRh3UID 6gJy+un8FteS23NecXGlCcQIOZjk2lcT4QBwAy16762MkrDBmuex2NiZEYcOPeTFoYZ/ NnwS41lB3sGLZ7TH6W+Cymo5WZ6XKVJpnTJlzoIRic1GANSMnA160iyTZYJBT5vZlVfU vbAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=8MnPt7w9lSbpNK4uv0tAF+jXulAkpAnSJ5VXv1uBFV4=; b=aO3l89LDEK2yOPqJhmtRZqi3huo9MRoadzFkAKH/HHrZXL3yQXYUM3qP0mEIhoPNN2 y/J4epQZNhRcqNmSmuEmMd2uLB9b2Ne/xnAMb2ragNF2ox9R8vPhIjl5CYMTozTPSa17 Fhy/LjRmr2B1N06rg3rq9psKbbvXKhieS1r3QWxaY7ux0nxRXuXTltzxY9qgYb5FDYyy V9ZnZ1qpU8XBmzV/P92neDJcmkf6BLBk1NdmGP2U54iODhRntFcU1JhptnlMDlbfM3a/ WBahIIVK2ZASnUp5b2oxYS2KzN5H/lc6aeTvuriMLA9A41SbWyek71Y8v/bRyOh3fzjK CShQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w22-v6si270205pll.599.2018.05.15.08.53.24; Tue, 15 May 2018 08:53:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753749AbeEOPYU (ORCPT + 99 others); Tue, 15 May 2018 11:24:20 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:25823 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752323AbeEOPYS (ORCPT ); Tue, 15 May 2018 11:24:18 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4FFJ3Mi004034; Tue, 15 May 2018 17:23:39 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hystn2wgp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 15 May 2018 17:23:39 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B2D1D34; Tue, 15 May 2018 15:23:36 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 499135193; Tue, 15 May 2018 15:23:36 +0000 (GMT) Received: from [10.48.0.167] (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 15 May 2018 17:23:35 +0200 Subject: Re: [PATCH] iio: adc: stm32-dfsdm: Add support for stm32mp1 To: Jonathan Cameron CC: Rob Herring , , , , , , , , , , , , References: <1525266323-4922-1-git-send-email-fabrice.gasnier@st.com> <20180507205151.GA25321@rob-hp-laptop> <20180512103324.5068c893@archlinux> From: Fabrice Gasnier Message-ID: <781b346a-e457-9c67-2e11-6f6edba88d63@st.com> Date: Tue, 15 May 2018 17:23:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180512103324.5068c893@archlinux> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-15_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/12/2018 11:33 AM, Jonathan Cameron wrote: > On Mon, 7 May 2018 15:51:51 -0500 > Rob Herring wrote: > >> On Wed, May 02, 2018 at 03:05:23PM +0200, Fabrice Gasnier wrote: >>> Add support for DFSDM (Digital Filter For Sigma Delta Modulators) >>> to STM32MP1. This variant is close to STM32H7 DFSDM, it implements >>> 6 filter instances. Registers map is also increased. >>> >>> Signed-off-by: Fabrice Gasnier >>> --- >>> .../bindings/iio/adc/st,stm32-dfsdm-adc.txt | 7 +++++-- >>> drivers/iio/adc/stm32-dfsdm-core.c | 21 +++++++++++++++++++++ >>> 2 files changed, 26 insertions(+), 2 deletions(-) >> >> Reviewed-by: Rob Herring > Applied. Whilst doing this I note that I'm getting a few sparse > warnings for this driver that would be nice to clean up... > > CHECK drivers/iio/adc/stm32-dfsdm-adc.c > drivers/iio/adc/stm32-dfsdm-adc.c:503:21: warning: expression using sizeof(void) > drivers/iio/adc/stm32-dfsdm-adc.c:503:21: warning: expression using sizeof(void) > > Which is mystifying at first glance... Something deep and dirty in the min macro > but I can't see what.. Hi Jonathan, I just sent a patch to clean bellow warning. But this is more obscure regarding min macro... Many thanks, Fabrice > > drivers/iio/adc/stm32-dfsdm-adc.c:680:5: warning: symbol 'stm32_dfsdm_get_buff_cb' was not declared. Should it be static? > drivers/iio/adc/stm32-dfsdm-adc.c:703:5: warning: symbol 'stm32_dfsdm_release_buff_cb' was not declared. Should it be static? > > Are rather more obvious >