Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1399736pxj; Fri, 21 May 2021 13:18:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBmPYmr856WSuucTRUY46eULVUhkl9q+t9ZmXRRMz+RX0O5JJGmX3cMFyMKpXMnAi4SvMR X-Received: by 2002:a92:d983:: with SMTP id r3mr665358iln.262.1621628309522; Fri, 21 May 2021 13:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628309; cv=none; d=google.com; s=arc-20160816; b=hIx7YY8p4ta/ok42Zi5jx059QyOv6GyDijxJfkmwzCyUFCmc6Y7RRaFUIZJmWZscwh B8FuyjRCTQeClg2GYb5MBEa/JcVnGS1hzyO36c+N1PkbUiSEZR1tOcnHSi/K74lMMCjY FFgZTzmj77Yqesfank6eczAQFB9q5uqHlJ7dQUszd05XsLKBVoWxNi6+tpUNXP+FHD4M fC7kALDoiAppdKoDqZAVglZMIhvOBE10RM4M2ZZcAQaB2CJD3z9vmPX8qzqBEVRTCL+x z/dQRqsQEYvyE1rKHXdqtjj6CEXr8sDjM1cu8LB/8Bx8vzqhdsbYMY1Qi2P0SDX/6q3K bsUQ== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=UfQOTLbkM5w8D/KIYvHVMy2nA0UDWziGT2f0VY3jfnw=; b=0i6xYZ7ZplZ1bV6nk7Jy3Oyxdj2UCw483K8V3tiOca1rzHGaJCYlGsBVPtnTTb7kj6 hOy31dOD9/DY+uEvu5TLtv0cVzWk3Sm3MGJPgXz9RJgrK7NWCNPD1ovUSfTqTn9HQHXo q1czrmdVnZpXGPhmUpEh6jy2NFXxpilBPvzelkFmQ9x8atK58EBSlBYRflU9//z9u7TM 1RBkmY0GhgcxyPDcECBtMpwty79mnRAvtmleBysdFAKaJBGvR97Hbe8RVD+tEuzON2vr dqdMUBT8KIz1wBSmvtIS2hLIdBSnbPqufgAN82sE2pqJuBeuMPVJXwQkJLYxuggFpGox 2L0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=1PrZPjnb; 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=foss.st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si6228737ion.34.2021.05.21.13.18.16; Fri, 21 May 2021 13:18:29 -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=@foss.st.com header.s=selector1 header.b=1PrZPjnb; 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=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234249AbhEUOTl (ORCPT + 99 others); Fri, 21 May 2021 10:19:41 -0400 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:59660 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbhEUOTk (ORCPT ); Fri, 21 May 2021 10:19:40 -0400 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14LE2Inb024640; Fri, 21 May 2021 16:18:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=selector1; bh=UfQOTLbkM5w8D/KIYvHVMy2nA0UDWziGT2f0VY3jfnw=; b=1PrZPjnbmfD9UoaN/jBRS2dPS1WLfEbMmPFiNsX2qW5sb5UnJuHtxa3insDI25ZQqsa6 o4ls9W74zw8jNslTFjaDy4aAB+t5k59P9vb0hGxDHhAIJgnlA8wLe5iDU0MJsI0Q7W8W p5PRX/lseHfQZPxXbKAoyOkRdN2fWzvCmzywlhZseH2+MKoUn0o9KQOfkEhgGPIwvVZB qbeX/ghSA2JyWPtgRkajzsjxwXkA6tagvTYRb0z5K/dtNjyXMffxouFMMNQIyD4SqByN rfJGBynx2DA1uOfI/n28aQNf7rsrBt9ouU1FmBFQP3LDeeCKR1nBLjlQ4TPxDvsEBHGp lA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 38p3c53ehb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 May 2021 16:18:08 +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 E621810002A; Fri, 21 May 2021 16:18:05 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D964C226787; Fri, 21 May 2021 16:18:05 +0200 (CEST) Received: from gnbcxd0016.gnb.st.com (10.75.127.44) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 21 May 2021 16:18:05 +0200 Date: Fri, 21 May 2021 16:17:57 +0200 From: Alain Volmat To: Lee Jones CC: , Patrice Chotard , Maxime Coquelin , , Subject: Re: [PATCH 13/16] i2c: busses: i2c-st: Fix copy/paste function misnaming issues Message-ID: <20210521141757.GA17641@gnbcxd0016.gnb.st.com> Mail-Followup-To: Lee Jones , linux-kernel@vger.kernel.org, Patrice Chotard , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org References: <20210520190105.3772683-1-lee.jones@linaro.org> <20210520190105.3772683-14-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210520190105.3772683-14-lee.jones@linaro.org> X-Disclaimer: ce message est personnel / this message is private X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-05-21_05:2021-05-20,2021-05-21 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks for the fix. I was about to propose it ;) On Thu, May 20, 2021 at 08:01:02PM +0100, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/i2c/busses/i2c-st.c:531: warning: expecting prototype for st_i2c_handle_write(). Prototype was for st_i2c_handle_read() instead > drivers/i2c/busses/i2c-st.c:566: warning: expecting prototype for st_i2c_isr(). Prototype was for st_i2c_isr_thread() instead > > Cc: Patrice Chotard > Cc: Maxime Coquelin > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-i2c@vger.kernel.org > Signed-off-by: Lee Jones > --- > drivers/i2c/busses/i2c-st.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c > index faa81a95551fe..30089b38044b5 100644 > --- a/drivers/i2c/busses/i2c-st.c > +++ b/drivers/i2c/busses/i2c-st.c > @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev) > } > > /** > - * st_i2c_handle_write() - Handle FIFO enmpty interrupt in case of read > + * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read Could you also fix the typo enmpty -> empty at the same time ? > * @i2c_dev: Controller's private data > */ > static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) > @@ -558,7 +558,7 @@ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) > } > > /** > - * st_i2c_isr() - Interrupt routine > + * st_i2c_isr_thread() - Interrupt routine > * @irq: interrupt number > * @data: Controller's private data > */ > -- > 2.31.1 > Regards, Alain