Received: by 10.213.65.68 with SMTP id h4csp1503454imn; Thu, 15 Mar 2018 01:12:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELt1bh2jOtAG1/vLdw7kKmkL5h5jvxzKoYToTeo7rYJ6lvhjlSHdEd7SmUwiMHM86FIzzoHf X-Received: by 10.99.109.142 with SMTP id i136mr4934030pgc.306.1521101563223; Thu, 15 Mar 2018 01:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521101563; cv=none; d=google.com; s=arc-20160816; b=UHZJi38LbBr4ZLJXfJ+g5G7B+dOUnCyvEHAhko52SX8Xj8vTocAvLXveO7lmOKmcet C+gDqgt1b0i1t5HEB/OugUWO/Eq9KgGYQhU8P5Od/9Eagt7ZAZ+ymbkGpvltQ669U0CK lVlXHoUG0VI7H6G5/8bd1Xd5VpKtVMd9QFZrNyFYFUFX/YRNdRDubh44wvOmLC+cQYM9 S20HJOHv6ql/BTM82JGOQRsARb1QdQ3X884hMiaqG6YKyV+MFVYrRCn34PWi4eYe3Jew 32aGz/PulsRevxI4PnJe99lmR83FCtqcf5+YxX+I9ar761b8NGJ9O2DAj0XvBhiUCF3Y Lv4w== 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 :arc-authentication-results; bh=6B8u0krJ4pKIjIo4xANM/+H7BvYthyMRlAc03TLrk6Y=; b=doMyVeKeqhvqaHyj1hDwiwPn4BKBG5DYJhFA/2Oa/J3wjlKcCFis/pxpYklxdGmOgp bsDmCEOiv1EDRRNiM0H9tLANHzBAhTNxN5d6whOJ5TH6CQD4vH0vcSIgTgJokKkK/Da2 d3NH+695MLR3Q/C3CPpDeW8xAtsT9wEqaY4UFHlB0OaushSIcTOvwk/3KQ0MPpopP6Jb w3pytN20gGoNJi5auaPSxXm8vxf1u+M52uBMtaZm+8/nnLAgnqx+S2u8TKBbIf/i0KOi YntlxNWgeErAw8pItWwa0yj8Yi5p82NMhceVCAUYH++Bn4X+qNCEljgWCFRG7Ug7uWOp 2NIQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t13si3450356pfa.294.2018.03.15.01.12.28; Thu, 15 Mar 2018 01:12:43 -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; 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 S1751694AbeCOILW (ORCPT + 99 others); Thu, 15 Mar 2018 04:11:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:42841 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbeCOILU (ORCPT ); Thu, 15 Mar 2018 04:11:20 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 1D8A2AE82; Thu, 15 Mar 2018 08:11:19 +0000 (UTC) Date: Thu, 15 Mar 2018 09:11:18 +0100 From: Johannes Thumshirn To: Christoph Hellwig Cc: Dan Williams , Ross Zwisler , Linux Kernel Mailinglist , Linux NV-DIMM Mailing List Subject: Re: [PATCH 0/3] Introduce module_nd_driver Message-ID: <20180315081118.vivohgn6vrt74pyc@linux-x5ow.site> References: <20180314182508.10351-1-jthumshirn@suse.de> <20180315072257.GA14576@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180315072257.GA14576@infradead.org> User-Agent: NeoMutt/20170421 (1.8.2) 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 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. Byte, Johannes -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850