Received: by 10.213.65.68 with SMTP id h4csp1708596imn; Thu, 15 Mar 2018 07:25:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELvyyL8YEBCM/ay7b0Lkxd1DJ1taV9JY+TPLf3cv0vQvOQ5x4oEuwYvHgDCjEBL3B/SdVVvF X-Received: by 10.99.129.199 with SMTP id t190mr6812116pgd.376.1521123948702; Thu, 15 Mar 2018 07:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521123948; cv=none; d=google.com; s=arc-20160816; b=s893ok0icqk0gxvcxTrDj1PIEj9tfkqZnCYTxhNKvPkJTqrIj7UBKTxxXy2bOZfb/p unu+zM/Vo6oo45ApXcInyJVp9Ru3Sv7uezE8vdIbCryEfkZG4U/wyCBJsViBZrmGqmOH h2FPqRidhEbyP0nD56V9uJSrMPN6YNTpCTE8GNrixew4HL6PlLFhr70xTAYQvYq4LxnL FCoBH+6soYuujxOn1/qTBlHCwR+Icf5duF5eWOYbRZ3DGrZqN8Hs0OXsXveINJu6wyeB toLAcBsgl8S+kYPaZomzxZDP8fQE6OnEDgzngeivN5vRS/5unDu/oSlCvhhME5WEz1Ka ctqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=LKs7rqtYwq0whFRvTRm6uW7KupGLnWw7Ep+raCpNWbs=; b=Hz+5PdfjssOsaJhozU1vsI6U4oeiVeIRINT9cMznj+tUqsz7odQaqMR21SuUy9ho7K NdyJZozohV/7HbODYRBKTLHSlpI7/u/ooH0M9+ZE0TljibxuJYf9FAplFprEJwP/eWR9 9q/2zk08fxnDdrBFArm3iG248CctCmjWgIMKSxGoSR5ZwInndqnyZaUvo+32gBeui8hf giLSALwTwhKwbTiLUR+nuePMYc0FkUsR+RvNcIRwq8pbWzciakxdItKH2Rm9bOlWbqGt 2PoZ02XaKGhIyjSf4ISjDR2aziVwZk7hqtoA9oyTiqNErW/9exlsPGmyCrr+pl/JjA6i aoqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=mPf9v3/1; 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 v13-v6si4399191plk.153.2018.03.15.07.25.32; Thu, 15 Mar 2018 07:25:48 -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=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=mPf9v3/1; 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 S1752246AbeCOOYk (ORCPT + 99 others); Thu, 15 Mar 2018 10:24:40 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:44489 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751551AbeCOOYi (ORCPT ); Thu, 15 Mar 2018 10:24:38 -0400 Received: by mail-oi0-f68.google.com with SMTP id b8so5812368oib.11 for ; Thu, 15 Mar 2018 07:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LKs7rqtYwq0whFRvTRm6uW7KupGLnWw7Ep+raCpNWbs=; b=mPf9v3/18HZOiCKrNpC1DjOFxiuAjflz/EGnIEcCiMFRZVFUGQkc6CC+nOJDL4J0V/ UJQku7L+11YijXAjT+ghAzCSBxx1V8Iwy7PqaS3lkS430g+4vDqNlKXAhyGDkWOWgGLj long4h9QjINLMJg1UbWatuRGYE6wipnnE61idqHVqoZaINS7L6eX3f9vETEYTmUM5NSF /8fsnYCz6lQQUcXbk4oqPIJQOsb6Vd/KyeVrdcBKhf+Idme3NxtXiykltXjgAgbk7ASv 2n9xlI0lMYBRHyFNs8tSm7Wku3ctTIy2T3TZA8tGsGTTMBHiRsEr5AA9wqtleniqeiFN 3VnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LKs7rqtYwq0whFRvTRm6uW7KupGLnWw7Ep+raCpNWbs=; b=i7UKwbyG8ZXFTi4ENjF/tbRsAD4I6N4q3SenDiq5zWnek8eP1VCBpRS3QIVYYN8ia8 WnggBNrgENURlM7dOLNmJrD/wUS25DuR0NRkyS2ZBXLIwkp7qmUH1AYa6NhsXiYMCv+7 WYx+3u5AqYkIFB+c3zq8/lp62p4VBzGarY2wBfm7TuGR7OsCdSaqrSIiLGs9FkYPOOxD IDW7c+nymOADpMawA4tU5EX/URxP0OSG9dmG5dzX/yIguxli4J6uvl+yNgsN2rR3fak9 MdTVnKIWnnUqvrhlMVhKB5Fa1qwvYdv5hgMdrPdrI7Z9F6KBXfDzZDlUkiHKiIr8BEn/ EBgw== X-Gm-Message-State: AElRT7EHz2w3hHmKTdS8kIeLHxO8psiTqWag3kyIsk102l2d+ACA/fJD w1EMw/pPytSHP1A+55DxgFPXhSLOn67iDziTpOag9g== X-Received: by 10.202.84.132 with SMTP id i126mr4976955oib.295.1521123878392; Thu, 15 Mar 2018 07:24:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:5189:0:0:0:0:0 with HTTP; Thu, 15 Mar 2018 07:24:37 -0700 (PDT) In-Reply-To: <20180315081118.vivohgn6vrt74pyc@linux-x5ow.site> References: <20180314182508.10351-1-jthumshirn@suse.de> <20180315072257.GA14576@infradead.org> <20180315081118.vivohgn6vrt74pyc@linux-x5ow.site> From: Dan Williams Date: Thu, 15 Mar 2018 07:24:37 -0700 Message-ID: Subject: Re: [PATCH 0/3] Introduce module_nd_driver To: Johannes Thumshirn Cc: Christoph Hellwig , Ross Zwisler , Linux Kernel Mailinglist , Linux NV-DIMM Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 15, 2018 at 1:11 AM, Johannes Thumshirn wrote: > On Thu, Mar 15, 2018 at 12:22:57AM -0700, Christoph Hellwig wrote: >> What is the point? It saves a hand fulk of lines, while making >> the code both harder to read and harder to extend. > > In the end it's just style alignment with most of the other "busses" > in the kernel, like pci, of, acpi, platform and so on... > > But yes I admit it's not a huge win. For the harder to read part, I > doubt it. A quick: > git grep -E module_.*._driver drivers/ | wc -l > has 3896 hit's, so it's not that uncommon ;-) > > But anyways, it's just code churn I came up with while being > frustrated hunting down a bug in this subsystem. > Works for me. Removing more lines than you add is always welcome.