X-GM-THRID: 6395629970137284608 X-Received: by 10.46.78.9 with SMTP id c9mr2809081ljb.20.1489126952140; Thu, 09 Mar 2017 22:22:32 -0800 (PST) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.46.8.73 with SMTP id g9ls877252ljd.33.gmail; Thu, 09 Mar 2017 22:22:31 -0800 (PST) X-Received: by 10.25.210.146 with SMTP id j140mr2329053lfg.10.1489126951719; Thu, 09 Mar 2017 22:22:31 -0800 (PST) Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr. [192.134.164.104]) by gmr-mx.google.com with ESMTPS id b186si164698wme.1.2017.03.09.22.22.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 22:22:31 -0800 (PST) Received-SPF: neutral (google.com: 192.134.164.104 is neither permitted nor denied by domain of julia.lawall@lip6.fr) client-ip=192.134.164.104; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.134.164.104 is neither permitted nor denied by domain of julia.lawall@lip6.fr) smtp.mailfrom=julia.lawall@lip6.fr X-IronPort-AV: E=Sophos;i="5.36,139,1486422000"; d="scan'208";a="216242656" Received: from 198.67.28.109.rev.sfr.net (HELO hadrien) ([109.28.67.198]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2017 07:22:30 +0100 Date: Fri, 10 Mar 2017 07:22:30 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Alison Schofield cc: Tamara Diaconita , aditya.shankar@microchip.com, ganesh.krishna@microchip.com, gregkh@linuxfoundation.org, outreachy-kernel@googlegroups.com, Tamara Diaconita Subject: Re: [Outreachy kernel] [PATCH 1/2] staging: wilc1000: Remove camel case In-Reply-To: <20170309232051.GA16746@d830.WORKGROUP> Message-ID: References: <20170309223039.7303-1-diaconita.tamara@gmail.com> <20170309232051.GA16746@d830.WORKGROUP> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Thu, 9 Mar 2017, Alison Schofield wrote: > On Fri, Mar 10, 2017 at 12:30:39AM +0200, Tamara Diaconita wrote: > > Change the name of variables to remove camel case. > > > > Fix the checkpatch.pl issue: > > CHECK: Remove CamelCase. > > > > Signed-off-by: Tamara Diaconita > > Hi Tamara, > > These are forward declarations and need to match the actual function > headers. So, you'll find these funcs, change their declaration, and > have to change the follow on usages of the vars you change. > > Since we are seeing a lot of long line issues in this driver, > perhaps you can shorten to the customary "buf" instead of "buffer." > We might appreciate those extra 3 chars later. len could also be ok. julia > > alisons > > > > --- > > drivers/staging/wilc1000/coreconfigurator.h | 12 ++++++------ > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > > diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h > > index 10101f8..a2df5c7 100644 > > --- a/drivers/staging/wilc1000/coreconfigurator.h > > +++ b/drivers/staging/wilc1000/coreconfigurator.h > > @@ -124,10 +124,10 @@ s32 wilc_parse_network_info(u8 *msg_buffer, > > struct network_info **ret_network_info); > > s32 wilc_parse_assoc_resp_info(u8 *buffer, u32 buffer_len, > > struct connect_resp_info **ret_connect_resp_info); > > -void wilc_scan_complete_received(struct wilc *wilc, u8 *pu8Buffer, > > - u32 u32Length); > > -void wilc_network_info_received(struct wilc *wilc, u8 *pu8Buffer, > > - u32 u32Length); > > -void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *pu8Buffer, > > - u32 u32Length); > > +void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, > > + u32 length); > > +void wilc_network_info_received(struct wilc *wilc, u8 *buffer, > > + u32 length); > > +void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, > > + u32 length); > > #endif > > -- > > 2.9.3 > > > > -- > > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > > To post to this group, send email to outreachy-kernel@googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170309223039.7303-1-diaconita.tamara%40gmail.com. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170309232051.GA16746%40d830.WORKGROUP. > For more options, visit https://groups.google.com/d/optout. >