Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4202249ybp; Mon, 7 Oct 2019 05:02:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcx6XUpue0o1B4eDTZrsA8fr84INU4FC5xxFhNINV/L+GoZtX4ZcnCGp5Dc0UJiSApRwfg X-Received: by 2002:a50:908c:: with SMTP id c12mr29118767eda.45.1570449754070; Mon, 07 Oct 2019 05:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570449754; cv=none; d=google.com; s=arc-20160816; b=kU5TfHM4QeulwSpLqsCkFJgW1WIsCJt6CsFIhypQHY/cxb3WAN8cY0eiJO7IHPJZlK 8MZ63KOaZo+Qj/xUhnx7/4lxcnH4/2JaSOzv3Yuuu8ZfayfSvqTAk4BHEVNOFWz/LzUs k+CZekiFer+t1aBuAXTgF6kXjRvBasPsYIudThDyH2P4kGRT88lphQm1EXW+vmRdPVoA w+SdDzyygvL78SmMQy+XR8YsCmw5XMdmYJKmZUlSzLVYIHifLISK9uKSFytAAdqTN2kh mDUT4keekcKwk3qw4WXwKvJqaSf4qwcw+McZSWdXWsOglKdQVHv7y2ESQYJOkOIJnshY BT3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=OEpRCuiUUpuXpVGGrL2q81jRJQBKQeGZCtDBBTVYUIA=; b=sTsnQR+MJ2isYswC52qsTL2OwOxls6snn7RDJvYgT7tavNAT5A5YctbqGYIpRbkX4D sowxMpTDs6Qo2cqs4h+GeCa+lFwg1Kl2otGGuMNpBVPmi6snUH88gWzUVc4iqiNLNhr/ MYoU5DPI8/NRnDobBeNcpCtHaE84bhA6wGfjWAmB7iS3zfxvH5DHZkTE4c3A9JlRBHtY NN/yPuRWj31L3H6tN2h2Vknzj6waraK3Nt+tCEPjFTg7FkYBJ79Wcna3vR8y3g/hG43q hmqky8wrsZeTn0SZdl9r2GV4vStVxxvdY1civWT2EOsXGhcgKW4mvYKHZAV2NBLPkxIO U1TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=0Xz1510O; 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 j38si8498893ede.374.2019.10.07.05.02.02; Mon, 07 Oct 2019 05:02:34 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=0Xz1510O; 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 S1727903AbfJGMBi (ORCPT + 99 others); Mon, 7 Oct 2019 08:01:38 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:39898 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727490AbfJGMBh (ORCPT ); Mon, 7 Oct 2019 08:01:37 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x97C1ReM019171; Mon, 7 Oct 2019 14:01:27 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=STMicroelectronics; bh=OEpRCuiUUpuXpVGGrL2q81jRJQBKQeGZCtDBBTVYUIA=; b=0Xz1510Od/ISk/HqXDwSoQLNJrii7ylF8vSUb+L1F/bnrtuOiapxTCZJonOoNzkhMrQS SWXIjF8oD/O7iPRykelg7o2WoF/2iNoyVNgEKOiKFQvDCf13a5XW374mwV1jE4IJ4FTH +tuR7pKpO7b6KSHfhzV/fqE4+5oH1HB/P41nrTT/vOn0OEnlFXUGe1U/bQrpx+VfzJhN tAZ39rJnaGcQvbOYjNc0zQRInkLOJktL8j9gOyf3mRM8aop/DWfzBo/p/H3sxhVvJsUD DVOPW/BJ4pAdAanLezCd0MZteix0MDAWIqStC+dKCPnoj0/yVmkPgGLlXWnNFFzD+Boa pw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2vej2p258j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Oct 2019 14:01:27 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 11CBF100038; Mon, 7 Oct 2019 14:01:22 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 06AC32CE74D; Mon, 7 Oct 2019 14:01:22 +0200 (CEST) Received: from gnbcxd0016.gnb.st.com (10.75.127.49) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 7 Oct 2019 14:01:21 +0200 Date: Mon, 7 Oct 2019 14:01:20 +0200 From: Alain Volmat To: Pierre Yves MORDRET CC: , , , , , , Subject: Re: [PATCH] i2c: i2c-stm32f7: remove warning when compiling with W=1 Message-ID: <20191007120120.GB12773@gnbcxd0016.gnb.st.com> Mail-Followup-To: Pierre Yves MORDRET , wsa@the-dreams.de, alexandre.torgue@st.com, linux-i2c@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, fabrice.gasnier@st.com References: <1570200954-17919-1-git-send-email-alain.volmat@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Disclaimer: ce message est personnel / this message is private X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG4NODE1.st.com (10.75.127.10) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-07_02:2019-10-07,2019-10-07 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pierre-Yves, thanks for the comments. On Mon, Oct 07, 2019 at 09:59:22AM +0200, Pierre Yves MORDRET wrote: > Hi Alain > > Fixes tag is missing in your patch. > [ i.e ==> Fixes: aeb068c57214 ("i2c: i2c-stm32f7: add driver") ] Okay, will push a v2 for that. > > Nonetheless patch only consists in removing a comment character ? Yes, the comment currently starts in a way of a kernel-doc description (https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#function-documentation) leading the compiler to produce the warning since there is no function prototype after the comment. Regards, Alain > > Thanks > > On 10/4/19 4:55 PM, Alain Volmat wrote: > > Remove the following warning: > > > > drivers/i2c/busses/i2c-stm32f7.c:315: > > warning: cannot understand function prototype: > > 'struct stm32f7_i2c_spec i2c_specs[] = > > > > Signed-off-by: Alain Volmat > > --- > > drivers/i2c/busses/i2c-stm32f7.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c > > index d36cf08..7aa4a47 100644 > > --- a/drivers/i2c/busses/i2c-stm32f7.c > > +++ b/drivers/i2c/busses/i2c-stm32f7.c > > @@ -305,7 +305,7 @@ struct stm32f7_i2c_dev { > > struct regmap *regmap; > > }; > > > > -/** > > +/* > > * All these values are coming from I2C Specification, Version 6.0, 4th of > > * April 2014. > > * > >