Received: by 10.213.65.68 with SMTP id h4csp204343imn; Wed, 21 Mar 2018 16:26:39 -0700 (PDT) X-Google-Smtp-Source: AG47ELs0dJ8PoYko8uNauQ0Fe7mXEt2iPJt8l8R5P8RpNMaMODoKn2b1i2DArqeHN+v/kcI9hw0m X-Received: by 2002:a17:902:33c2:: with SMTP id b60-v6mr22843230plc.222.1521674799444; Wed, 21 Mar 2018 16:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521674799; cv=none; d=google.com; s=arc-20160816; b=vEPzJC84mFSmlHtBWH6nwe6TaFc/ZsuxOnPzMOw1L+cnbNV4EB0DnetJtyj7e7CYYx OePECEVWUwuR4FajI1zuYWKEpdOEmyrinQg1mzzlHWhDPP9E3c3xlDAs8AK7ACNGb4wV R9nEuSIoLrjE8bblyqpdgp5reyW6+uBMAKpAAu/0Ox7I1s4UiU+o2xyveFdrWiCq6Vkx LUe+EcRwdsLGLDYjXWMEA3SLccwkJjH0P/uEs8w6oU56ZiBRTG7jB0SBv+7QYFD06jNv QTosIG9mDfp/lnhKGzh0M2gGCrcdcoamTqtkY0eOd2Y7FjwC41rBgvHNqvbodEZczNH1 OEFg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=W+2hnlxJkan3z74ojTnfAsaiGvp/IuTL59g2XSPaUX4=; b=uW+CvQ4cuzcYpAKLQA5W/H0yuwKOsUPnUdwjFtJM0UxqWs3UfjAOcjhJ0jumHZn7Nl Cg3/CAg3VvMCMSQpqKeQUHAwLZTtmqKuz9XZgTUlRpPfXzvM/44rSncjiammpMr2bUpB xfOkal8WDRXW449FkZ8SD27v/EMy/1sXq5TcA43bGzc1/h7BYb5BI/eVnL5TWH7pOXtd +TCipoeHGQueWEmgTGMwOKfi2XWChfvJgqWie/kew68hju8auQvwoG52K7d4tmn0CrFL vK7ztDaPTX/h9kmyj1Z9TGJBljBQ4WKx09fIs583eZjai4LO13ovhgRJuHdPBc+j4N5Q +k4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QnTZzIsY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si4617866plk.576.2018.03.21.16.26.25; Wed, 21 Mar 2018 16:26:39 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=QnTZzIsY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754361AbeCUXZQ (ORCPT + 99 others); Wed, 21 Mar 2018 19:25:16 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42044 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754328AbeCUXZM (ORCPT ); Wed, 21 Mar 2018 19:25:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W+2hnlxJkan3z74ojTnfAsaiGvp/IuTL59g2XSPaUX4=; b=QnTZzIsYLvd/NvTuK4U1OLexk8 KzNo1q+ufJqjNAbZs2Z50MLNUdYv9Saq2+HOV7ryPwzKT2ahVe1n19lVenkto0rOuvLluvPA9hJvq sgpXPoERDMV/qWPqE5zgTJDHPaTbMOeJFNOypxYcGvL+tdXH5ySyZ+71WPz13jzZc/hNuwRZGod8R +YXj28K4QqnvTTpoX9Cvf6IStgTPXV5CYgoShr3nqy7rDDXyqQpyzGWKUYSyh/q2ibD1eMp/VcDhq tXUGNTwVbl0jbTyj9j6NtIjZgDmGik2sSIuKbtmvu0TJT/UhzwGry6Nb6MOfaq7SCtbi3TPUOmcKz fLcwsfcQ==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1eyn6U-0008Gy-ES; Wed, 21 Mar 2018 23:25:10 +0000 Date: Wed, 21 Mar 2018 16:25:07 -0700 From: Darren Hart To: =?utf-8?B?TWljaGHFgiBLxJlwaWXFhA==?= Cc: Jonathan Woithe , Andy Shevchenko , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] fujitsu-laptop: Consistent naming of constants Message-ID: <20180321232507.GA24138@fury> References: <20180227211539.5708-1-kernel@kempniu.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180227211539.5708-1-kernel@kempniu.pl> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 27, 2018 at 10:15:32PM +0100, Michał Kępień wrote: > This patch series is an attempt to organize all the named constants used > throughout fujitsu-laptop so that their names more clearly convey their > purpose: a set of prefixes is introduced to "map" constant names to > call_fext_func() parameters. > > The chosen constant naming patterns are a compromise between readability > and enabling longer conditional expressions to fit into the 80-character > line length limit. Some changes (like those in patches 4/7 and 5/7) may > be perceived as bikeshedding, so please just think of them as proposals, > not fixes. > > Finally, patch 7/7 again [1] proposes a set of helper functions which > seem to be making quite a difference in terms of code readability in > certain places (especially in long conditional expressions). YMMV, > though, feel free to disagree. > > This patch series should be applied on top of for-next as it builds on > the previous patch series I submitted. > > [1] https://www.spinics.net/lists/platform-driver-x86/msg11633.html > > drivers/platform/x86/fujitsu-laptop.c | 228 +++++++++++++++++++--------------- > 1 file changed, 127 insertions(+), 101 deletions(-) What I see here is an agreement on a simple integer listing for patch 1/7 per Andy's latest reply. 7/7 appears to address Andy's concerns in 6/7. I agree they KEY vs EVENT_HK is a bit of bikeshedding - but I don't have a preference and I think overall the code is more readable for this series. Based on feedback on a couple of the patches, a respin appears to be pending, so I'm marking this series as "changes requested" and will await the v2. Thanks, -- Darren Hart VMware Open Source Technology Center