From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02D76C433EF for ; Tue, 15 Mar 2022 08:23:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240254AbiCOIYR (ORCPT ); Tue, 15 Mar 2022 04:24:17 -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) Precedence: bulk List-ID: X-Mailing-List: linux-ide@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.