X-GM-THRID: 6332127696455204864 X-Received: by 10.28.29.13 with SMTP id d13mr83970wmd.19.1474350422363; Mon, 19 Sep 2016 22:47:02 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.28.41.135 with SMTP id p129ls2173928wmp.9.canary; Mon, 19 Sep 2016 22:47:01 -0700 (PDT) X-Received: by 10.195.17.199 with SMTP id gg7mr859699wjd.10.1474350421903; Mon, 19 Sep 2016 22:47:01 -0700 (PDT) Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr. [192.134.164.83]) by gmr-mx.google.com with ESMTPS id s6si920090wmb.1.2016.09.19.22.47.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Sep 2016 22:47:01 -0700 (PDT) Received-SPF: neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) client-ip=192.134.164.83; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.134.164.83 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.30,366,1470693600"; d="scan'208";a="237460581" Received: from 198.67.28.109.rev.sfr.net (HELO hadrien) ([109.28.67.198]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Sep 2016 07:47:01 +0200 Date: Tue, 20 Sep 2016 07:47:00 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Juliana R cc: outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org Subject: Re: [Outreachy kernel] [PATCH v2] staging: wlan-ng: fixed alignment not matching In-Reply-To: <20160919212441.GA19124@spock> Message-ID: References: <20160919212441.GA19124@spock> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 19 Sep 2016, Juliana R wrote: > This patch fixes a checkpatch warning by > moving arguments to the right and aligning them > to their open parenthesis. You can use more of the horizontal space. Don't go over 80 characters, but you don't have to cut it off half way either. Use the imperative in your commit message as well. Here the message could start with "Move arguments to the right...". See the Patch philosophy page: https://kernelnewbies.org/PatchPhilosophy julia > > Signed-off-by: Juliana Rodrigues > --- > Changes in v2: > - Make the commit message clearer. > --- > drivers/staging/wlan-ng/cfg80211.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c > index 8c592be..bed4672 100644 > --- a/drivers/staging/wlan-ng/cfg80211.c > +++ b/drivers/staging/wlan-ng/cfg80211.c > @@ -334,7 +334,7 @@ static int prism2_scan(struct wiphy *wiphy, > msg1.scantype.data = P80211ENUM_scantype_active; > msg1.ssid.data.len = request->ssids->ssid_len; > memcpy(msg1.ssid.data.data, > - request->ssids->ssid, request->ssids->ssid_len); > + request->ssids->ssid, request->ssids->ssid_len); > } else { > msg1.scantype.data = 0; > } > -- > 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/20160919212441.GA19124%40spock. > For more options, visit https://groups.google.com/d/optout. >