From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9409FA04A4; Mon, 25 May 2020 00:47:08 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 980E41D5AF; Mon, 25 May 2020 00:47:07 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id A92831D56C for ; Mon, 25 May 2020 00:47:05 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 43479A04; Sun, 24 May 2020 18:47:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sun, 24 May 2020 18:47:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= RG7YlsdKSrSmYf6QwP0qrkUwvmUGhoLnxKfNQ58GdV0=; b=vgdDqhjg2dwxDj9V UtlPSvCVMUsOMl2MP/XWtgZ4T2hNvFj7WwvrwCuLh4npvEvz7GHZJt/0AD6vN3oe TEcIpjsCsF49uYW8HfnzMh+lH5lzetaXfNiu54kV7VH1el0zM17BSqKo2sod8pwf fcbZgM/MbVN9CpPzNnUeKQE/HX/4mrkpVNhpV+spZwP0QH1sVAWjcaRfjejh6O2Y meqnXBahfJwRM2FWcE/VR9jAuEasousTnAfSmZ2JvUasuJbVWKpY8B8iv9tZF9ad RYr5M3V0M4cdPUWHpW/ZBSsDRH+wHBgTFucTtvwpoDrEgu49DngC8CmB7OjoUKP7 TJj/iQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=RG7YlsdKSrSmYf6QwP0qrkUwvmUGhoLnxKfNQ58Gd V0=; b=hTTKD38EPZRaV81kRwWbvwHpVtviHARD7LQ9ym1FieWDyVy+3ll1QB7Sa Isu2kWzNCYllO9fP1xbOK10c0TilFcDUWqOvIlWdTkkNzKMz/uGA+JcEZ4RY0hP0 Yyb3zAXZg/n5KmrR4XTzgiQVjw7RLNtGa6tDvMIbT/EwPWJwMhrTGycDZ7+XGksu RKOrsNEuSY0NmF4k/yU6sWdBI/N2/B8syd9/mXZOnGrzz1fhnBoVEjmbkbrh5JE4 c0mDAyoy52+6FB+jsfgy3XkB4FX0Y7YEIodEeK1AvOP4ruVAYEz08j5lH2jL3apF 7/KSBqQcQige4XGIeQaHQTm5DfnuA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudduledgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 8DDEF306653E; Sun, 24 May 2020 18:47:01 -0400 (EDT) From: Thomas Monjalon To: Kevin Traynor Cc: john.mcnamara@intel.com, ferruh.yigit@intel.com, dev@dpdk.org Date: Mon, 25 May 2020 00:47:00 +0200 Message-ID: <2374873.m242xcD6Ei@thomas> In-Reply-To: <20190311183939.21166-1-ktraynor@redhat.com> References: <20190311183939.21166-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] doc: clarify spaces for alignment note X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 11/03/2019 19:39, Kevin Traynor: > Make clear that spaces are only for alignments less than tab size. > > Signed-off-by: Kevin Traynor > --- > --- a/doc/guides/contributing/coding_style.rst > +++ b/doc/guides/contributing/coding_style.rst > - Global whitespace rule in DPDK, use tabs for indentation, spaces for alignment. > + Global whitespace rule in DPDK, use tabs for indentation, spaces for smaller alignments. tab Vs spaces :D I am not sure what is the most followed convention in DPDK. I thought most of alignments were done with spaces only. I mean spaces before an end-of-line comment: struct foo { int an_interesting_field; /* mandatory */ char poor_field; /* optional thing */ }