Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp713408imj; Wed, 13 Feb 2019 16:19:34 -0800 (PST) X-Google-Smtp-Source: AHgI3Ianq+gM/czWFNLJdK8QUCj2XwWEf7CHKiZgkwyol1OxcFV921oqKXGxGmP2EJ2W2gd4pjoz X-Received: by 2002:a63:e80e:: with SMTP id s14mr933227pgh.30.1550103574596; Wed, 13 Feb 2019 16:19:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550103574; cv=none; d=google.com; s=arc-20160816; b=OzAGL5WDs2906RPgiK+QAELA1iZBeT1qiGUZAfeEFUhfNX0W95IM2WEU0rusbGqDH7 AfohYjEvSsW287KL7uG+CImiJaE6UGn7ow4JjXG4vS8nSiN5Oxi7FohHd4bd08BIbEfB wL0YporBQxP7B9ZBsnYkYwfXSNoYD+y+X0ZNiaL6ZUF2ge6o8ckPGDdKdIqMasArkHUb Q5QEN4T2TRdZpJCmQLzDP6Ammc+PhziixNw/9nPwb7Uzaylj8DzDd8zmmY9Adz5o3XDy LXvQ5qIdedKJriA9QpDfyUxXtVcXAcHZDj+u44nRxuyXvhNR0twUdU48+JHZE0NvAwVV /KVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xEbiZspziQRG1IOLxwNlSLAb/RZjzLjfbGVBQeWNIKU=; b=k3D4LBDhtsotJs0+f3xZabOAdiYYazfSqGYou8bRBeGCocAWKf2XF787uUuRfed842 fZHl/0trqp4qfb/vRrAKIdN/kBc6y/hBYWpBmLsr3r2drgIOM1KqKhDXjpy50AGW/jZS BR67uQyLu+uXJJlM4ybFiFwq6W3Tuv2ARpTmpc5gHputRj7qej3rpd1p/0DuRp8EzK+V LLhHcqId2pU/Hd3WCqjKW+d+2JGurZVGbJm/sJXdI2lAEmXZrbMCdVlxyn0/AZy0cWN/ YBoK3lpZa/n4RuleOZMBtkclEav1grKf4brJF1Z5Ho/IWEit4rl8GPfbWb3JUJ0VGLPr L8nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Q/ppsfml"; 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 l10si806786pfb.283.2019.02.13.16.19.19; Wed, 13 Feb 2019 16:19:34 -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; dkim=pass header.i=@kernel.org header.s=default header.b="Q/ppsfml"; 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 S2394106AbfBMSpu (ORCPT + 99 others); Wed, 13 Feb 2019 13:45:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:44420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394072AbfBMSpr (ORCPT ); Wed, 13 Feb 2019 13:45:47 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5CD5520811; Wed, 13 Feb 2019 18:45:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550083546; bh=D/hzYpz9F3QghcRIJw2S6RGemoJVp5XTOIyuJuaIoEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q/ppsfmlvsq1tNb/6/OQQ+G7ADbVR7153EbQQE+Wn7VCSQ3QI2qgZBE00m+BOrVjy 7vfXcaP3bh5TXFj8GhtGuShdq4I5GGbIVLn/5p9hVVnRBqyu+DpXPGBqkzHRPeOB1t l+uuaWo4NPTCAmL37puDwhJow47uVzCBKePQmULA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Russell King , Arnd Bergmann Subject: [PATCH 4.20 29/50] ARM: iop32x/n2100: fix PCI IRQ mapping Date: Wed, 13 Feb 2019 19:38:34 +0100 Message-Id: <20190213183658.076218117@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213183655.747168774@linuxfoundation.org> References: <20190213183655.747168774@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ From: Russell King commit db4090920ba2d61a5827a23e441447926a02ffee upstream. Booting 4.20 on a TheCUS N2100 results in a kernel oops while probing PCI, due to n2100_pci_map_irq() having been discarded during boot. Signed-off-by: Russell King Cc: stable@vger.kernel.org # 2.6.18+ Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-iop32x/n2100.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/arm/mach-iop32x/n2100.c +++ b/arch/arm/mach-iop32x/n2100.c @@ -75,8 +75,7 @@ void __init n2100_map_io(void) /* * N2100 PCI. */ -static int __init -n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +static int n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) { int irq;