Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp973647pxp; Wed, 16 Mar 2022 23:07:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPHsSQDGWO5Ao+EbaY8EFv0IztgAsQNSFHGscrH1XPuOtFaj6feGdL6SOR1l9FMOc4IiiA X-Received: by 2002:a63:7b1d:0:b0:380:fcc9:93ca with SMTP id w29-20020a637b1d000000b00380fcc993camr2466980pgc.202.1647497276744; Wed, 16 Mar 2022 23:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647497276; cv=none; d=google.com; s=arc-20160816; b=LElcUYBjRcVplqOHpGTEwk7DUmOS1ymEibvZXcqzJdqebza/+K1eMvAb2rWdwFmKiE dRwpH+GpErqevx2n+oyPDULMrdgjIXRWanbZtEnQCj7nkVMX5Nd03E6d7D+0u2SeVejc 1q63Ry2D4HpiFSVD5WIfuCUC90RmPwACL9xU62UwaupEfEUHcnXrIh8cGpnRDoOPbx5f CbW8Ls8yU3T/5SR+T2s6RiFOwtaJ5MxFcJK7/yCEUDslUpE+7nGAxHqtNgtJOGdjsTjE 9ze7NVS8lEHHzf3lPZZXdI17kN4rcx01s940CjiDCSi9l1a+jJen9B9einYAFsOG3i2+ zoTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OEVWHYdz2cpHTekYW461te1Fgo+L+j1wXni01JA4hQM=; b=cGiTRsEhmPP024+cTEJDXmwg/0UJ/a7yXNCcZQb4x45GPT3pCwOgJ3dJ1KbXht1X/k AmoMs4v2Q6rWmPb34OlxcMvY0AcExt/gvweZUP9o9gf+yBmRwf0CaMQfBm0tMSWEetHD yVhs17xiZjvXG/Tqw0bCSHxpGlnznt+1n/aYlRncRAHrO3PUforPZIG87xavC66WursC TSdL0n9AqzVDEzfCCygIR67aHgi05F8jaO92hZjZvmh8Fro0s3NxZRC7IspoOsrSfbF4 H4dkvIXgZloWrMQgLpzPhH/gbiLqfv5FbyOqamkrDgCnoTQbdNr5f7tMoJcrQH/uj40l eEZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id t5-20020a056a0021c500b004f7b6da9ed9si4088213pfj.235.2022.03.16.23.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:07:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D6501959E0; Wed, 16 Mar 2022 22:16:22 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345853AbiCOIYT (ORCPT + 99 others); Tue, 15 Mar 2022 04:24:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345847AbiCOIYQ (ORCPT ); Tue, 15 Mar 2022 04:24:16 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EB9A11151; Tue, 15 Mar 2022 01:23:04 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 2F46868AA6; Tue, 15 Mar 2022 09:23:01 +0100 (CET) Date: Tue, 15 Mar 2022 09:23:01 +0100 From: Christoph Hellwig To: Ondrej Zary Cc: Damien Le Moal , Christoph Hellwig , Jens Axboe , Tim Waugh , linux-block@vger.kernel.org, linux-parport@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v0] pata_parport: add driver (PARIDE replacement) Message-ID: <20220315082301.GA3502@lst.de> References: <20220310212812.13944-1-linux@zary.sk> <202203111955.15743.linux@zary.sk> <202203121221.56068.linux@zary.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202203121221.56068.linux@zary.sk> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 12, 2022 at 12:21:55PM +0100, Ondrej Zary wrote: > > Here, I am assuming that block/paride is the core code used by both > > PARIDE and PATA_PARPORT. Not sure what PARPORT_PC does nor what its > > dependency on block/paride code is. > > There's no common core in block/paride. The block/paride/Makefile says: > obj-$(CONFIG_PARIDE) += paride.o > obj-$(CONFIG_PARIDE_ATEN) += aten.o > obj-$(CONFIG_PARIDE_...other protocol drivers > > So if PARIDE and all protocol drivers are disabled, nothing is compiled there. Yeah. The pattern of unconditionally descending into a subdirectory isn't entirely uncommon. I think this is perfectly fine here.