Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1867515imm; Thu, 18 Oct 2018 05:42:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61p2lb+cd13bvAq3MvL4cIMxFUSnZx/LLNQ90Eq5r9yXH1TFi1WKIi7oxHaEM2ILoq1/78b X-Received: by 2002:a17:902:3fe4:: with SMTP id a91-v6mr29779170pld.187.1539866538666; Thu, 18 Oct 2018 05:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539866538; cv=none; d=google.com; s=arc-20160816; b=NU/sN7ZG++6W7XHqQTYt230yreoW2wcHsru9OUZ+EoJ0CTZj0AGKE0DieCeaQ1lqh0 82YKBzSZvvn3KAdghYZdnlOa8ILMhMfDh1byMLgtsoH5Nk27O4hHh6fnF9jSAl9njGty UfMr8FVZJf9KHAFvJy/wk1wyG/6YTK0I7ZsA013IAzUVnUJPtpivr97iXPG/SB61VjiF Ef2tRTMmXUs7mcVUt/83irb3xpqQ2xI+LEOMBJJ8ka6Fi1x/SEeck/pa395q3HKr26EE Ji5j5geQbEWDWiJ8x9lB1CgQderSs2sVCKBMr9/PusLYWvNYrjgq5ACCaYdhlVsZwRFX 3D3w== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BbCoSgNmevvgmxCCTgwkYBHerA8NR3F72BNH3r91svk=; b=rAE/MD5OmabIdcu7676Wq5vMgk4Fur/PcghY8Wp+36dqaA4s6YKYZDCX31lIABMy8n Y+zjllOn0FwOWAPSTnH81xvSccEguvHX2lhh1B1f1uxAGgeOb25exW42w3jV2Z69+leA XNSwl7KmCYs4Uv+a11O/pVIzupCOycno1HnygG9uCN0TVAR8KGbWki/VNU2BOrigkSdh aTX69gpBCfPH2ZZlMrIyI6IU8rF23Qu0lz1aeaycI7Y3/iDXD0Zy2Gl4Q+ODskTjSoLe 3vbnDuVOl8S6pP9PzhgOOSzreyojLwphW3F8oZScHAlJ6QCC08f7mSIAfoNt/syeUBXN RLlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TekopGdQ; 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 q2-v6si21036067plh.63.2018.10.18.05.42.02; Thu, 18 Oct 2018 05:42:18 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=TekopGdQ; 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 S1727200AbeJRUmN (ORCPT + 99 others); Thu, 18 Oct 2018 16:42:13 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41598 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726417AbeJRUmN (ORCPT ); Thu, 18 Oct 2018 16:42:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BbCoSgNmevvgmxCCTgwkYBHerA8NR3F72BNH3r91svk=; b=TekopGdQalCMYPZZw32Gm7/T4 FVjsft4peNWAYy9jG0jcVjMmu2J6XTLZy/8L++QseK1fnDrxLaPeKXzw1heBphf2iN92D1QwQj13d ABVDG+D46O4zRnvzOY0coJMNZwJMYMzDN9DlIag+Rlh9wfrwnH7NbAEhII6H7hoio0IEMJ4umFkAr g1iqEhdpbjOlM9IIp5yFbYjo9e5SYbsg0ikxqvQ9pmjP9Hf+OKtnnxNMUOhQbqE4gWwImEzUevXKi 4wyFuRw4pm4wqTOF7r7csucNk4RIKquA1Cl+SDCKxVhO3zxgfOhx/KyRw+GGWPllwFvw4dhwCkfvb 4IgmkPkMQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gD7c6-0004en-MA; Thu, 18 Oct 2018 12:41:18 +0000 Date: Thu, 18 Oct 2018 05:41:18 -0700 From: Christoph Hellwig To: Bartlomiej Zolnierkiewicz Cc: John Paul Adrian Glaubitz , Michael Schmitz , Geert Uytterhoeven , Jens Axboe , linux-ide@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ata: add Buddha PATA controller driver Message-ID: <20181018124118.GA10376@infradead.org> References: <20181018122951eucas1p2be43dc17df8d2c754e771785b3ad7457~es8dn4Tg90035600356eucas1p2H@eucas1p2.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181018122951eucas1p2be43dc17df8d2c754e771785b3ad7457~es8dn4Tg90035600356eucas1p2H@eucas1p2.samsung.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +static int __init pata_buddha_init_one(void) > +{ > + struct zorro_dev *z = NULL; > + > + while ((z = zorro_find_device(ZORRO_WILDCARD, z))) { I'm not really an m68k expert, but shouldn't this implement a struct zorro_driver instead? (or maybe two of them as xsurf seems sufficiently different).