Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6451492imu; Sun, 2 Dec 2018 18:41:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/X2zxG/JuuNpQOUJw3zD1gE7Q5MSBPWhDtqdNGwHC2iv6MTnVq6NVuZlezbexvSq6qg0MzU X-Received: by 2002:a62:3241:: with SMTP id y62mr14181553pfy.178.1543804879838; Sun, 02 Dec 2018 18:41:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543804879; cv=none; d=google.com; s=arc-20160816; b=OgFbWvlGN3aNOsDql11Niub9hEP0sStyiOJNzxoCg9eTavCpyOGVzb9KzUixpfFuIH 03NnxWIiEG3er1IJptAe0z+ap5OxZHTgbckrsdUv/yEoxDxiPb0QPn+gc4ilHDoi242O w0w0i/NgjO8mwukmayhUINc94bACcW5IAwkhxLzqWbUTnYiP9OYFADv77JVQ+PxFAyrG mImibyI/9EQoeo0GPHNs1jX3CSUUSbVUcXmlzzLNa01g/0tg8V89y7M/w+X12xGdl3m9 6TkiVsjoSYGCCq4x88pMBvyPwHfbARagyNHv/9NEHpevN1SLvKgybcNbPgjYO71HmQbS WE9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qq92mQDGvJQj9XxdRfg73xbRhL+Hun2i2FsSzUaGGhg=; b=VWpBB28UxHU7TAuBLsaytBjTFt6AScHtvFm99z1BO+4iIYLlaahJ4sy5RABqr25d2O eEDD+WeHjkAGTSLwqGMGO+puBu4nmLDelUXRArFOFhKH2ry592k+mcqF/7VmwE9HZlqF fv+1KkXnjsL+SfSePlaOrKdGj4ssEV/kLHfD+oO1cPg6cCnYLboAossmArTOz2KQMVw/ 8qYsg5jPHNoCIzWzcylpu0lHzlAUs13RbwHq8RWh1mkWV20l9hcuhamngnuCC1EwZ4BY bTdKXFkH/PCelZCRQoBHS0w8vZyIlqwgv79Z7lPApnjZShjqFgxxct4AOriEydNUUtEg sKYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NBCdV1oF; 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 z8si10488879pgf.577.2018.12.02.18.41.03; Sun, 02 Dec 2018 18:41:19 -0800 (PST) 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=NBCdV1oF; 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 S1725811AbeLCCk2 (ORCPT + 99 others); Sun, 2 Dec 2018 21:40:28 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42117 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbeLCCk2 (ORCPT ); Sun, 2 Dec 2018 21:40:28 -0500 Received: by mail-pl1-f195.google.com with SMTP id y1so841450plp.9; Sun, 02 Dec 2018 18:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qq92mQDGvJQj9XxdRfg73xbRhL+Hun2i2FsSzUaGGhg=; b=NBCdV1oFQ3j/3uwHhILvrHxRkIveuK9T8qRZQQa/CWyt4bZB5fu3ehyPl3LAHimyTT nBcPUxuXBYr15o4xnba4my9/pXfbbg2duE/JkmWt4Wu3p9KoTXNtiDi2AlRSkhUqNT+F UTDUt9LgjQyLGJjRwC5SXxrBYoKiuOd++XpeTXhiWO8i1UQPTynAUArgWU95/4kSOf2u NZN3z+C+buAWcilR2eEITXRpvyXa9wVH9rSuxhpqWcPsEXPi58f6iQeYd4QXjyNgC5yO JY9K/SRu8g4dBs8ACjZopklXl9gz/7TIkrUgCABbdTgXNGD2M1Cj1A1loT55qpxu+0TF zmsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qq92mQDGvJQj9XxdRfg73xbRhL+Hun2i2FsSzUaGGhg=; b=SEEQGsH91YGcLbrwGC1r1scTBPN50sdKKusXhUpGpIhiEzO3pRZsDNbrDtDjZRj1k0 JtfBRwpttfXYTZGkZFoFki2Y4mkT9T2CVCS/15aFkuPPD30SogBrA0xRhG8g8cP224gA tU6aMFIHOutkQVYa8uK1l2guFGN/XVEnKytJNWG6S1PLSNRU809W4gD3ikr77pTK3w3C qsgWOqVKLXXv2eJHxDVdQjBjfDWv+Hfnt6M34fVlFAERwo0XK0vlUx3DDhfbsBmsFIUs eNLBVtp+omrXolLEP6cZq4QU6SeEWLCYYs/m8Zhi18c9oNg1I6eJ/zxIJSFELstty7mA qK5g== X-Gm-Message-State: AA+aEWZMv8OeAQqpfmuozDr1nfvoJF2qgUYufrR0L+ZMkKTLJpjiD8/N 53pb21pQIJsQTtYdq/n1QPQ= X-Received: by 2002:a17:902:9897:: with SMTP id s23mr13634348plp.69.1543804824087; Sun, 02 Dec 2018 18:40:24 -0800 (PST) Received: from localhost ([175.223.22.143]) by smtp.gmail.com with ESMTPSA id j70sm16651971pfc.43.2018.12.02.18.40.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Dec 2018 18:40:23 -0800 (PST) Date: Mon, 3 Dec 2018 11:40:19 +0900 From: Sergey Senozhatsky To: Dave Rodgman , Herbert Xu , "David S. Miller" Cc: Sergey Senozhatsky , "linux-kernel@vger.kernel.org" , linux-crypto@vger.kernel.org, nd Subject: Re: [PATCH 7/7] lib/lzo: separate lzo-rle from lzo Message-ID: <20181203024019.GB427@jagdpanzerIV> References: <20181127161913.23863-1-dave.rodgman@arm.com> <20181127161913.23863-8-dave.rodgman@arm.com> <20181129044333.GH6379@jagdpanzerIV> <5b504430-fb4b-340b-66c2-1300c816cc3a@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b504430-fb4b-340b-66c2-1300c816cc3a@arm.com> User-Agent: Mutt/1.11.0 (2018-11-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (11/30/18 10:45), Dave Rodgman wrote: > Looking a bit more closely, these structs are formatted fairly > inconsistently in the crypto directory. So, lzo-rle is consistent with > what lzo does... but various other files do it differently. > > I'm happy to submit a whitespace cleanup patch if people would like, and > get everything in that directory consistent (i.e. adopt a style similar > to the example below)? I'm not in any position to ask you to do this; white-space clean ups are not very popular (it's OK for staging tree; not so much otherwise). So we better ask David and Herbert. > static struct scomp_alg scomp = { > .alloc_ctx = lzorle_alloc_ctx, > .free_ctx = lzorle_free_ctx, > .compress = lzorle_scompress, > .decompress = lzorle_sdecompress, > .base = { > .cra_name = "lzo-rle", > .cra_driver_name = "lzo-rle-scomp", > .cra_module = THIS_MODULE, > } > }; Looks nice. -ss