Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2463594ybh; Mon, 9 Mar 2020 06:26:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsrTFSk0UfKPxnhSZczQcEGZESohrJc0LcJ8lc0RuTe1GDoaltGGspAFK6/oxgRlA2fpTwW X-Received: by 2002:a9d:3df6:: with SMTP id l109mr12850775otc.284.1583760405157; Mon, 09 Mar 2020 06:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583760405; cv=none; d=google.com; s=arc-20160816; b=GfdH8+dmWvVEOWRpBteb4njUT73F0LK6pl09UzJFCBHF38qEZFLg7ZbiEl0G/DAqN9 ROigjtGQI7hCFcMhZDAOm2WTnoqkS8lAoBfLRPYzcHN6mqn7tYF9K2fAw89pZ8yxe0rR j4KJTf6bpGdN2Y9yBIjs9bqy9ivmlxhAmxHPehyHSRABGHfKDQOtzbEqI86wvkwO+nwz cKfNWW8K9Y5TUS/4FJa+oIfLrgrsKYoOnC+N43A8phEBPqC96U8vQ1uBmOh8RU3H/QMu dBf2vroFBgz9xGh1Mfy8IEDQbJ3PDVP9aJ5bZdN7sNS1Wz34VuM2aW9We7G++DHX8eAh DG0g== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=SN/uB0D2Yzk6crG8CckiI8AbJhkaIxgSVOsdNRCejtQ=; b=dCVI4LVOtlasTXy5tH0NVv9j2ZmVRI8q6hItyJHR654aOPx/TgdM8wJOeby6VS2qiJ 66YHoFrAojsrn0pXM9UL0lQ9dXB6Ls9kxbFEocym4nAUy0IU1AkiM5H1GerwtUa6c2EY W8KKVwiXgmG61eAxEGcfXLx/om18+5OeLeg8/n7a8hu8ggmPrdgdvDfBtWAYqcmlZm2n GvJ4P/uiowJaUuLzIKxvBrijpJQJ9zJ5UKm57sCDWPmkyZd2F+z3GlOfdB/whC0METcu E3J+R2KHNltnVmczKhm4jTahZJy3o1QbuAiw7/ecVO0qyJKFGQfrlQ8O+m41dXvBqQAa 3qWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vZN2XnYD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k204si3959040oih.261.2020.03.09.06.26.32; Mon, 09 Mar 2020 06:26:45 -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=@gmail.com header.s=20161025 header.b=vZN2XnYD; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbgCIN0K (ORCPT + 99 others); Mon, 9 Mar 2020 09:26:10 -0400 Received: from mail-pj1-f66.google.com ([209.85.216.66]:53794 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726384AbgCIN0K (ORCPT ); Mon, 9 Mar 2020 09:26:10 -0400 Received: by mail-pj1-f66.google.com with SMTP id l36so1600935pjb.3 for ; Mon, 09 Mar 2020 06:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=SN/uB0D2Yzk6crG8CckiI8AbJhkaIxgSVOsdNRCejtQ=; b=vZN2XnYDJ42k+ninu6A+IqHKelBwH0M+hvsD+QV5C1ROyLTi2CL/HhhIyjJdutTh/1 pm1NaWqdB3J+PCc/hmjN7jo8hHGJwXnBk4S+fbh5wZFbZ5jjP2Km+6L0VY7iMrY0L7aA Y7p+WwwdH8DtI3Lb4sE1zsFcv5tQrvN4g/xCdPryr+YFKoAy2AZ2fR72wC2pJp4GuQKj KcLsJGg4vKdABf8bMPdCfQuisRs+6A89s78laLH06lBhpeZBHPaDAyZYwR7gPXSVmw70 p6HMEoGKYu041hKfHOxlPj7MIZzisw82/ECfEnov4ZOLA/1j4hFO+xgcM4dmYDOiHlkl EHlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=SN/uB0D2Yzk6crG8CckiI8AbJhkaIxgSVOsdNRCejtQ=; b=F5lGnMVnOvyCdCfkMeT+FXYxdnkKRGB5coFzD8s/J5Vb+tWFqXLJyMAihfFB+YXTZ4 jirVkGCey/z5uteG9YoIFLySWu9e8nFrjV6oLHI4vPBtcWwXlfecywGrEwUHZkBALdfU cGvTDyO+i0L2GqX3E/eh8EGi7PYo49lGqlv50ALmm04/1hngjVNJABD1XzW4cJf4ILi4 comfRnUNypeVpwVizBffkUY2Q5AMiSkCqLIV7OgSR386SdgDcjHvjF6kha+cSDL+Aaj+ PNIMPLWDMQgk9JZOnk4CvD9L3z2aSI3UgYM1ECXemzvjELeP573UfsTLX7bEKVmQU1co 6Vww== X-Gm-Message-State: ANhLgQ07gP1M3/gTlWlXCSb9dmX+QugbBn12uDLutGTWQTGh7zTULlnP F8gTEeG3KCd2JQmQVnjdBpE= X-Received: by 2002:a17:90b:238c:: with SMTP id mr12mr3164241pjb.161.1583760368597; Mon, 09 Mar 2020 06:26:08 -0700 (PDT) Received: from Shreeya-Patel ([2405:204:2188:9cfe:18bc:a849:c699:3914]) by smtp.googlemail.com with ESMTPSA id v133sm33700710pfc.68.2020.03.09.06.26.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Mar 2020 06:26:07 -0700 (PDT) Message-ID: Subject: Re: [Outreachy kernel] [PATCH] Staging: rtl8188eu: Add space around operators From: Shreeya Patel To: Julia Lawall Cc: Joe Perches , outreachy-kernel , gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, sbrivio@redhat.com, daniel.baluta@gmail.com, nramas@linux.microsoft.com, hverkuil@xs4all.nl, Larry.Finger@lwfinger.net Date: Mon, 09 Mar 2020 18:56:00 +0530 In-Reply-To: References: <20200308220004.9960-1-shreeya.patel23498@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-03-09 at 08:35 +0100, Julia Lawall wrote: > On Mon, 9 Mar 2020, Shreeya Patel wrote: > > > On Sun, 2020-03-08 at 16:05 -0700, Joe Perches wrote: > > > On Mon, 2020-03-09 at 03:30 +0530, Shreeya Patel wrote: > > > > Add space around operators for improving the code > > > > readability. > > > > > > Hello again Shreeya. > > > > > > > I have some questions here... > > > > > The subject isn't really quite appropriate as you > > > are not doing this space around operator addition > > > for the entire subsystem. > > > > > > IMO, the subject should be: > > > > > > [PATCH] staging: rtl8188eu: rtw_mlme: Add spaces around operators > > > > > > because you are only performing this change on this > > > single file. > > > > > > If you were to do this for every single file in the > > > subsystem, you could have many individual patches with > > > the exact same subject line. > > > > > > And it would be good to show in the changelog that you > > > have compiled the file pre and post patch without object > > > code change. > > > > > > > I'm not sure how to show this. Do you mean to add the output of > > "make drivers/staging/rtl8188eu/core" before and after the changes? > > You are working on one specific file, maybe foo.c. Compile before > making changes, which will give you foo.o. Rename that file to > something > else. Make your changes and compile again. Do a diff with the > previously > compiled file. It should produce nothing, indicating no difference. > > If this .o file doesn't change and you only changed this .c file, the > whole compiled driver won't change either. > ok, got it. > > I also don't understand the meaning of no object code change. If we > > are > > making the changes to code and then compiling it using the make > > command > > then a new file with .o extension is created and replaced by the > > previous one isn't it? > > > > > Also, it's good to show that git diff -w shows no source > > > file changes. > > > > > > > And this has to be... > > git diff -w --shortstat drivers/staging/rtl8188eu/core/ > > --shortstat does not seem useful. What you hope to see is that it > produces nothing. > Okay. I will send a V2 with all the changes required. Btw Joe, I am working against staging-testing tree > julia > > > Am I correct? > > > > Thanks > > > > > > Reported by checkpatch.pl > > > > > > > > Signed-off-by: Shreeya Patel > > > > --- > > > > drivers/staging/rtl8188eu/core/rtw_mlme.c | 40 +++++++++++-- > > > > ---- > > > > ------ > > > > 1 file changed, 20 insertions(+), 20 deletions(-) > > > > > > When I try this using checkpatch --fix-inplace, I get > > > 21 changes against the latest -next tree. > > > > > > What tree are you doing this against? > > > > > > > > > > -- > > 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 view this discussion on the web visit > > https://groups.google.com/d/msgid/outreachy-kernel/af1a27fb8c5f7efbaf99ce3055cf3801b366d627.camel%40gmail.com > > . > >