From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 14 Aug 2013 17:42:19 +0200 From: Linus =?utf-8?Q?L=C3=BCssing?= Message-ID: <20130814154131.GB1162@Linus-Debian> References: <1373242365-763-1-git-send-email-mihail.costea2005@gmail.com> <1373242365-763-6-git-send-email-mihail.costea2005@gmail.com> <20130810132043.GD849@ritirata.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [B.A.T.M.A.N.] [RFC 6/6] batman-adv: Adds snooping of router and override flags for NA creation Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mihail Costea Cc: b.a.t.m.a.n@lists.open-mesh.org On Wed, Aug 14, 2013 at 06:51:32AM -0700, Mihail Costea wrote: > On 10 August 2013 06:20, Antonio Quartulli wrote: > >> dat_entry = kmalloc(sizeof(*dat_entry), GFP_ATOMIC); > >> if (!dat_entry) > >> goto out; > >> + /* some entries don't have an extra data and useful if allocation for > >> + * data fails */ > > > > this comment has to be indented > > > > /* like > > * this > > */ > > > > > > > > There are other style issues in this patch, but they mostly concern what I > > already pointed out in the other comments. > > > > Remember to always check your patch with checkpatch.pl --strict in order to find > > problems before sending the patches. > > > > I still don't know what generated some style problems. Alignments > problems shouldn't be here because I already > used --strict (but that didn't say anything about comments) and sent > the patches with git mail. That is weird. > These are net/ specific style requirements. Try this before running checkpatch.pl: sed -i "s#^--- a/#--- a/net/batman-adv/#;s#^+++ b/#+++ b/net/batman-adv/#" *.patch Cheers, Linus