X-GM-THRID: 6395630061335085056 X-Received: by 10.46.21.79 with SMTP id 15mr792628ljv.8.1489139902965; Fri, 10 Mar 2017 01:58:22 -0800 (PST) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.46.77.217 with SMTP id c86ls929849ljd.10.gmail; Fri, 10 Mar 2017 01:58:21 -0800 (PST) X-Received: by 10.25.203.151 with SMTP id b145mr2541731lfg.17.1489139901488; Fri, 10 Mar 2017 01:58:21 -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 f7si142265wmg.3.2017.03.10.01.58.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Mar 2017 01:58:21 -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,140,1486422000"; d="scan'208";a="216272738" 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 10:58:20 +0100 Date: Fri, 10 Mar 2017 10:58:19 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Tamara Diaconita cc: outreachy-kernel , aditya.shankar@microchip.com, ganesh.krishna@microchip.com, gregkh@linuxfoundation.org, diaconita.tamara@gmail.com Subject: Re: [Outreachy kernel] [PATCH v3] staging: wilc1000: Enhance code formatting In-Reply-To: <7d6aece5-b445-4b82-b7d7-e948c81fb36d@googlegroups.com> Message-ID: References: <20170310091221.7109-1-diaconita.tamara@gmail.com> <7d6aece5-b445-4b82-b7d7-e948c81fb36d@googlegroups.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-2116030405-1489139900=:2169" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2116030405-1489139900=:2169 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Fri, 10 Mar 2017, Tamara Diaconita wrote: > I compiled the code and I understand what you said. I modified the files > related to the one I changed in the first place. > Do I need to make a patch set with all the files I have changed? Every patch must result in a kernel that compiles. So you need to make one or more patches that satisfy that property. julia > > vineri, 10 martie 2017, 11:18:11 UTC+2, Julia Lawall a scris: > > > On Fri, 10 Mar 2017, Tamara Diaconita wrote: > > > This trims line size at 80 characters by shortening the names > of > > variables. > > > > It makes code easier to read. > > > > Problem found with checkpatch.pl > > > > Signed-off-by: Tamara Diaconita > > --- > > Changes since v2: > > *Shorten variables name. > > *Separate the patch from a patch set. > > > > Changes since v1: > > *Put the pacth in a set. > > > >  drivers/staging/wilc1000/coreconfigurator.h | 2 +- > >  1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/wilc1000/coreconfigurator.h > b/drivers/staging/wilc1000/coreconfigurator.h > > index 10101f8..45563b9 100644 > > --- a/drivers/staging/wilc1000/coreconfigurator.h > > +++ b/drivers/staging/wilc1000/coreconfigurator.h > > @@ -123,7 +123,7 @@ struct disconnect_info { > >  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); > > +                               struct resp_info > **ret_resp_info); > > I don't think you can change the name of a type in only one > place.  You > would have to change the declaration of the type and all of the > other > uses.  Did you compile any file that includes this code? >  Changing a > header file is tricky, because you can't compile it directly. >  You have to > find a .c file that contains it. > > julia > > >  void wilc_scan_complete_received(struct wilc *wilc, u8 > *pu8Buffer, > >                                   u32 u32Length); > >  void wilc_network_info_received(struct wilc *wilc, u8 > *pu8Buffer, > > -- > > 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-kern...@googlegroups.com. > > To post to this group, send email to > outreach...@googlegroups.com. > > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/20170310091221.7109-1-di > aconita.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 visithttps://groups.google.com/d/msgid/outreachy-kernel/7d6aece5-b445-4b82-b7d7- > e948c81fb36d%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > --8323329-2116030405-1489139900=:2169--