Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6797424ybf; Fri, 6 Mar 2020 04:49:56 -0800 (PST) X-Google-Smtp-Source: ADFU+vuiPX6PPDYB2BwnM8lLSRC/G8yDzA2QRmRwlkFYwraQFzY+UiMKPEFpaD03ygA+mT/xV09/ X-Received: by 2002:a05:6830:4c5:: with SMTP id s5mr2390237otd.327.1583498996772; Fri, 06 Mar 2020 04:49:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583498996; cv=none; d=google.com; s=arc-20160816; b=OOL7RvX6O0kQ+lkQYqJS4PZcmmlZExl4Ioz3NckrAfD04ya2vUcLS5iVfNws6d4qUr ylWnjxPSO4JqEwJvTA+2BXTuLD2wEMP0nIEOOGR44GmPE0EU9BIIy3FwTl4OYjmMBERR hfJnwwzqJ75OmFJEyxNLcpyd0TTqkidAufGh3yw28hoZKfQXX51JlU1PgVezdasvu37E TPFD1i5n7U8bgL7nU+6fz2jk9YVjUFPvJ1E6DnZzQthtC2YQls0QhfFwj56SpRECdgJz 6lNAo4iqVrUuKGfdGGc8zJxsfctPC2J5Z7XZmFax6tbLjj480yUN37AkNGO0Vrnl6kuT 9qhw== 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; bh=yiLqWk6GvB7meRhEABOa2uApfd2BonlP7B+zJDUX680=; b=WUiMJAZ0NEHIRuqbPyyaGg62s5RQ+NKlwi/Lxo4bMMzGvvvDrIdOkp0We3N/mS76PE U/s04qoO/aVs27yWx2UFrDSeKgbaj0cK6i/zf4DkY2PW3+abfzZMLgnwIBDPNz1csIP5 DSByh/i9hOV7+DR/CLmBnr8Q+aJkSoouxEdcDpJUK/HlNoJ5LdXcBcOkgXh1LHJPztiP Ek8Gyvjkyy05Oj0umk9iIxq8O1j/0wbL44BJ5/mnVH3KIeCl+Jsf9pQrDGBT/Bu4qzFk qPl4MO94WBfQzKmV3whS83K6FUEJiHT7nYJtvB1qImNJHSR2BxKfwWBpAOCa4QXPkJgK 51Hw== 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 11si1104423oij.78.2020.03.06.04.49.44; Fri, 06 Mar 2020 04:49:56 -0800 (PST) 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 S1726533AbgCFMsS (ORCPT + 99 others); Fri, 6 Mar 2020 07:48:18 -0500 Received: from elvis.franken.de ([193.175.24.41]:53419 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbgCFMsS (ORCPT ); Fri, 6 Mar 2020 07:48:18 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jACOl-0004Q9-00; Fri, 06 Mar 2020 13:48:15 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id A1D50C0F47; Fri, 6 Mar 2020 13:47:55 +0100 (CET) Date: Fri, 6 Mar 2020 13:47:55 +0100 From: Thomas Bogendoerfer To: afzal mohammed Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ralf Baechle , Paul Burton , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, "Maciej W. Rozycki" , Jiaxun Yang , Keguang Zhang , Huacai Chen , John Crispin Subject: Re: [PATCH v4] MIPS: Replace setup_irq() by request_irq() Message-ID: <20200306124755.GA10251@alpha.franken.de> References: <20200304203144.GA4323@alpha.franken.de> <20200305115759.3186-1-afzal.mohd.ma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200305115759.3186-1-afzal.mohd.ma@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 05, 2020 at 05:27:53PM +0530, afzal mohammed wrote: > request_irq() is preferred over setup_irq(). Invocations of setup_irq() > occur after memory allocators are ready. > > Per tglx[1], setup_irq() existed in olden days when allocators were not > ready by the time early interrupts were initialized. > > Hence replace setup_irq() by request_irq(). > > remove_irq() has been replaced by free_irq() as well. > > There were build error's during previous version, couple of which was > reported by kbuild test robot of which one was reported > by Thomas Bogendoerfer as well. There were a > few more issues including build errors, those also have been fixed. > > [1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos > > Signed-off-by: afzal mohammed thank you, applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]