Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2716783imu; Sun, 27 Jan 2019 11:16:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN6J3MJKUQ8XHUzzJnEuAptMcAWXSpp3mFhtgF+ku0YqMURWqQRhOxRL9vAFAFA7R4i+VMfe X-Received: by 2002:a17:902:a5ca:: with SMTP id t10mr18949950plq.139.1548616617687; Sun, 27 Jan 2019 11:16:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548616617; cv=none; d=google.com; s=arc-20160816; b=iJWMNkgkK9wcZreJ7PZKhQYuGqW1iF/kERhMJ9LHdriU/9SJzb9ObcO6Ro5iVBxdpM Ajz7ICq9luHnLYuiLFeEtCseAwDSxjksSzqSSxAL1+eklHxRGia3bAWkoVw743CH5auh 21dPyo/vhw7/bnQ9CaG077DHKpm5CJ+AqPS1xvBN5SyMAG3L5doqnOHAFzRghPsfb+Hd aO/CK6SL634v+EW2+54aoOjfDS2qphEAVcRdbE768CGJo+QO5FjaXLnugB9Joj+zkpmv Cxr8QOOrwuM6E07zIQSk0xEaVrQR5qA8GLH8ErJ+lot10sGsI9FDVZ1TMJbeOKeeBzGO brLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6tYgZG7T70GhYOFXrJy4TBv2vf1sQYhDuDZVAOFf6XM=; b=IPgHTRp3XZuZxmj4twXPCQpj9Hkt/nDnR9ME/QjMW8rtr5NyPOciFI8OLGf/1hLYlP j4yYXa1iHQc28dGXb0Iyz6aZCqbkoDuiC4A1rTrrrmqgwl7Z1W5myDlm9sfR0qKzkNIr zObWFUHYCbf4enkYnHOoBqaebjnpkkajMLp818rgBMlxkiHWkS4XJqjhBvxWiPWSoCXH 7ff2YMizqzd1sEsll6FxcXhGM2UINgtspS0n6SZa4qc06/FACWibSET97/HCquurSjSV wJbd71mfkIKzAYBYMmBSKC6ZNXhZqF3CDQXCQ6yuWQyMjfTrvvXFUlo1Ho41SXXXinMh P9wg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mok.nu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j34si8881207pgj.557.2019.01.27.11.16.43; Sun, 27 Jan 2019 11:16:57 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mok.nu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726913AbfA0TQR (ORCPT + 99 others); Sun, 27 Jan 2019 14:16:17 -0500 Received: from route-level1.fsdata.se ([89.221.252.216]:42379 "EHLO route-level1.fsdata.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbfA0TQR (ORCPT ); Sun, 27 Jan 2019 14:16:17 -0500 Received: from DAG01.HMC.local (192.168.46.11) by EDGE01LEVEL1.hmc.local (192.168.46.33) with Microsoft SMTP Server (TLS) id 15.0.847.32; Sun, 27 Jan 2019 20:15:57 +0100 Received: from localhost (94.234.44.129) by DAG01.HMC.local (192.168.46.11) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Sun, 27 Jan 2019 20:15:58 +0100 Date: Sun, 27 Jan 2019 20:15:54 +0100 From: Mattias Jacobsson <2pi@mok.nu> To: Darren Hart CC: , , , , , , , , <2pi@mok.nu> Subject: Re: [PATCH 0/3] platform/x86: wmi: add WMI support to MODULE_DEVICE_TABLE() Message-ID: <20190127191553.mxrqg7zyzwxwrmo5@mok.nu> References: <20190126210634.GB13882@wrath> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190126210634.GB13882@wrath> X-Originating-IP: [94.234.44.129] X-ClientProxiedBy: PROXY04.HMC.local (192.168.46.54) To DAG01.HMC.local (192.168.46.11) Received-SPF: Neutral (EDGE01LEVEL1.hmc.local: 192.168.46.11 is neither permitted nor denied by domain of 2pi@mok.nu) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Darren, On 2019-01-26, Darren Hart wrote: > On Sat, Jan 19, 2019 at 12:55:52PM +0100, Mattias Jacobsson wrote: > > This patchset adds WMI support to MODULE_DEVICE_TABLE(). > > Hi Mattias, > > Thanks for the patch series. I've reviewed and found no major issues - but what > I'm missing from this cover letter and each commit message is the why. What is > the problem this series is intended to address? This should be clear in the > commit messages so developers reading the git history have the necessary context > to understand why the change was made and the intent behind them were. Thanks for reviewing the patchset! > > The only advantage that I see by the end of the series is removing the need for > driver authors to prefix the modules alias with "wmi:" - which is an advantage > and avoids careless errors. Is that the only goal? It adds some complexity by > spreading the implementation across more files and more directories, so we need > to document the justification. Now that you point it out I can definitely see that the reasoning isn't explicitly stated. Sorry about that! I've updated the commit messages for [PATCH 2/3] and [PATCH 3/3] in v2 of this patchset to clarify the "why". > > Thanks, > > -- > Darren Hart > VMware Open Source Technology Center Thanks, Mattias