Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5807016ybp; Tue, 15 Oct 2019 05:27:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxH+hztzECh3a9iLg0g7+m97zqwA+i1Xo3woceQWEv1EQhubXtdNUmBKAQ+agld8b5u2cJm X-Received: by 2002:aa7:c959:: with SMTP id h25mr33321249edt.216.1571142439792; Tue, 15 Oct 2019 05:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571142439; cv=none; d=google.com; s=arc-20160816; b=gh6bjMInRr2Qom8H4btO1YcMi+SRzaXok+YgcjZnZbn6FZYzBbXOL4nFBUN9LBf4Hh tDAywQ3aTCMjugONzLirowjo1wmmR0l55HyqdkOXY2WEaCt0FJKcmY7BTSZxuEkEe/Uk N4wos8TG5GWSotPuGAgyUgDa3EOM4/Szg1UjIE7NB96kyXDopSTJh01motbYHVngkpNU Nxj1OlfDIJMDM//XCvcCq5x8kN9jQWvnGFg0j7yF2Cmvc+a90MF+SWyzZzggRRo+G09t JQ5BXdtE0526de8RSBS+htDoXHUvbE6Fq8qvrEPoxw6d0FcEVkT1dXKFPkB3dKAhIQ9G 1rrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=Dm6cpBW2NzSq1tntR7APu/8r+xydYGK9kijx964otDQ=; b=BFVecZh0cPGZ1BbThcZPzxnizT0qSgYXHdGP19Ek2grk8ARxwhZdGuTsRWTJ00rjjF 2Clj+qo+gVC+GcT81fvL7MRr4D1FhgKUIXa1WMtF5eIkcIB6kWHWu7rBcEShoXI5u2b1 Ms/ZsY+sg9AQNeHKCSrVYlx9K/oZ6/CqEE8blySA6/+4ZOzaBQHU7atJt55kEazk6jvz 7Nrym2xtNqPTXuxn8J6Y4nX9V79dcQ1dhZkXiDVME+rOauAGgVyAUotalNMm8iH4VbSx iBr3Pm0XYe/K4padujPqITeeSLyc7d3c4NLLKJ6WmQ5IJEA/31jAD+6LBWiG7cOqQnXt HwMw== 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 l6si15260515edc.67.2019.10.15.05.26.56; Tue, 15 Oct 2019 05:27:19 -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; 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 S1730835AbfJOMKF (ORCPT + 99 others); Tue, 15 Oct 2019 08:10:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:58068 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730681AbfJOMKF (ORCPT ); Tue, 15 Oct 2019 08:10:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id EEE54B395; Tue, 15 Oct 2019 12:10:00 +0000 (UTC) From: Thomas Bogendoerfer To: Jakub Kicinski , Jonathan Corbet , Ralf Baechle , Paul Burton , James Hogan , Lee Jones , "David S. Miller" , Srinivas Kandagatla , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v10 3/6] MIPS: PCI: Fix fake subdevice ID for IOC3 Date: Tue, 15 Oct 2019 14:09:48 +0200 Message-Id: <20191015120953.2597-4-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191015120953.2597-1-tbogendoerfer@suse.de> References: <20191015120953.2597-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Generation of fake subdevice ID had vendor and device ID swapped. Signed-off-by: Thomas Bogendoerfer --- arch/mips/pci/pci-xtalk-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/pci/pci-xtalk-bridge.c b/arch/mips/pci/pci-xtalk-bridge.c index dcf6117a17c3..d1d5f54c2632 100644 --- a/arch/mips/pci/pci-xtalk-bridge.c +++ b/arch/mips/pci/pci-xtalk-bridge.c @@ -437,7 +437,7 @@ static int bridge_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) return irq; } -#define IOC3_SID(sid) (PCI_VENDOR_ID_SGI << 16 | (sid)) +#define IOC3_SID(sid) (PCI_VENDOR_ID_SGI | ((sid) << 16)) static void bridge_setup_ip27_baseio6g(struct bridge_controller *bc) { -- 2.16.4