Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp981336ybh; Mon, 13 Jul 2020 06:27:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHFJ5QLW6nKvaGwatvsTl+slX203TftNx3EyqFm2iiwPp35HBHDVrbr4+Usinbuc6uiAmo X-Received: by 2002:a50:e1c5:: with SMTP id m5mr91146618edl.47.1594646845943; Mon, 13 Jul 2020 06:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594646845; cv=none; d=google.com; s=arc-20160816; b=hnIYKR0a3tkMuzV6vPlulzD7A01J96w1AvKdAadATMsuQwf21mF5DkDsVS/Hq5y7Oh cFqvNJzrsbIUhqBvgTcxWPanloIVOpUJhSIBLdZpfZGybXZWmeFhKdBOAsBWMyjWvyx+ nTdI3VisdC7Fo8q4SDW5zFPDgdBBt9y6idTePVRBJoXz7FgX1Yjg0LKNTNR4jM+UNgW3 BbVaNac808JIJ+B57znsjn87qDrCNVnG6fpk+pD9832bcqmUVa3W4mk1OyEcEiI+4h0h gaMg3PmrEuEcR+FeG/+17n+GU01TIa16lqSBK2orPnW6GpcPaTMlYUb72TAqboL8W4CF lKHA== 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:cc:to:from:dkim-signature; bh=8wbmK+ya6vHJSgI+MTiDhQKWZMMzmthLgMh2OY4MZvM=; b=xPdQUkZeo30vQ5Sh9vedq59zU975sZztItObRJAHs9A22l2YeeLfE7tm7B/Cfgnq6u 5u+RwfPdS0YJ2DjVOTE09S4PX0ThhS4eyXyr1MBvYMgh4py8hLu2n9Dt7dWsy9W9EAUU cXsLhaogpOdZCTia+KwQpHmAg830UNYMb2Nz3KqezrbUstXJbdiegvZc4MejpsztnIAP Gt5bbPy0NBIamfSTO+pweVJzC4Y0qxCYN6ypNza5YM3G2ZJ2SaqXimo8w90sAd/OOSma 2WoRFlnBPYgs1iUqoEY9DrGGPo/noXTDgzRAczAGUD9Vtc607DIGz0enAMgaM8xJdaLE VDvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n80txyCo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si8911967eja.4.2020.07.13.06.27.02; Mon, 13 Jul 2020 06:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n80txyCo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729751AbgGMNYH (ORCPT + 99 others); Mon, 13 Jul 2020 09:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729996AbgGMNXU (ORCPT ); Mon, 13 Jul 2020 09:23:20 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D64C8C061794; Mon, 13 Jul 2020 06:23:19 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id z17so13652904edr.9; Mon, 13 Jul 2020 06:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8wbmK+ya6vHJSgI+MTiDhQKWZMMzmthLgMh2OY4MZvM=; b=n80txyCowMGw0agwpHO34CYMBjnaTUgBZm0NF31BEIRCoPc1JqzuQF5NChyyvnmjJv EUpvNZnOiq6UM7e6uY2eMEmBZq65ptv7RYBcTij58bTpkCJzq0njvYzGReCEwrmNV5RI 5gtzm53oXNXlrL6ExBGPj0YysnmlxyLW4c9ytpXGynG/qwDZkUmE2y1FObO5mcUV0L/0 wXMj7CkivYgSB0vhRcKAC9l7aIrh8DGiSAPr8YYTB/t+l2Pe9+0FjBbrXbqkKWATAoxQ Kl2j3veZd4XTP+PnTPMw3T8UA5mOfMyZf+oQlFVmZaEyzIH8DysrASAyAUCQ0M2aVWw3 3lyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8wbmK+ya6vHJSgI+MTiDhQKWZMMzmthLgMh2OY4MZvM=; b=t3sfUcvwZ7unvGUAFVq0G4zRb4pzfT0WTom9ypUUzGY0V8lyTxVrR4X9Qq+JP2U0vJ 0UxEnkiGGcqzN4tF65oSXneoEQo5Kkw3x5yIHD9xW9d1hXzIFHu4URin6QCOUKxUpnz9 fUbiA8h6xiQ+9FzxpLsOuYd5xCCWtuSw/07ePXUhM6ctzcqgUmwT4wka9EZKlv+EAMMz Zm5Sxq8aDrXsc4XgG5gOXiptfJZub/sb19Hj3OKV4ZGyiGHr1xIeQoiG/wxovDA7kORq vxrJA2UNOzct72xK7EKpdBWH/1mKxSu2v9QPxmGcTdWIdhrtzvYD0sPf1uwu5SGsY8Et j6Yw== X-Gm-Message-State: AOAM532+rzb7izcMAhVlokfpSk0XmOj+d4K+Qk4V/rg91LfNIPHl5OMG UXKHDc2DRRM1ajSvxmUPAnc= X-Received: by 2002:a05:6402:1ca6:: with SMTP id cz6mr70531295edb.171.1594646598609; Mon, 13 Jul 2020 06:23:18 -0700 (PDT) Received: from net.saheed (54007186.dsl.pool.telekom.hu. [84.0.113.134]) by smtp.gmail.com with ESMTPSA id n9sm11806540edr.46.2020.07.13.06.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 06:23:18 -0700 (PDT) From: "Saheed O. Bolarinwa" To: helgaas@kernel.org, Greg Ungerer , Geert Uytterhoeven Cc: "Saheed O. Bolarinwa" , bjorn@helgaas.com, skhan@linuxfoundation.org, linux-pci@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org Subject: [RFC PATCH 31/35] m68k: Change PCIBIOS_SUCCESSFUL to 0 Date: Mon, 13 Jul 2020 14:22:43 +0200 Message-Id: <20200713122247.10985-32-refactormyself@gmail.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20200713122247.10985-1-refactormyself@gmail.com> References: <20200713122247.10985-1-refactormyself@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In reference to the PCI spec (Chapter 2), PCIBIOS* is an x86 concept. Their scope should be limited within arch/x86. Change all PCIBIOS_SUCCESSFUL to 0 Signed-off-by: "Saheed O. Bolarinwa" --- arch/m68k/coldfire/pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/m68k/coldfire/pci.c b/arch/m68k/coldfire/pci.c index 84eab0f5e00a..ecd11a19487a 100644 --- a/arch/m68k/coldfire/pci.c +++ b/arch/m68k/coldfire/pci.c @@ -64,7 +64,7 @@ static int mcf_pci_readconfig(struct pci_bus *bus, unsigned int devfn, if (bus->number == 0) { if (mcf_host_slot2sid[PCI_SLOT(devfn)] == 0) - return PCIBIOS_SUCCESSFUL; + return 0; } addr = mcf_mk_pcicar(bus->number, devfn, where); @@ -86,7 +86,7 @@ static int mcf_pci_readconfig(struct pci_bus *bus, unsigned int devfn, __raw_writel(0, PCICAR); __raw_readl(PCICAR); - return PCIBIOS_SUCCESSFUL; + return 0; } static int mcf_pci_writeconfig(struct pci_bus *bus, unsigned int devfn, @@ -96,7 +96,7 @@ static int mcf_pci_writeconfig(struct pci_bus *bus, unsigned int devfn, if (bus->number == 0) { if (mcf_host_slot2sid[PCI_SLOT(devfn)] == 0) - return PCIBIOS_SUCCESSFUL; + return 0; } addr = mcf_mk_pcicar(bus->number, devfn, where); @@ -118,7 +118,7 @@ static int mcf_pci_writeconfig(struct pci_bus *bus, unsigned int devfn, __raw_writel(0, PCICAR); __raw_readl(PCICAR); - return PCIBIOS_SUCCESSFUL; + return 0; } static struct pci_ops mcf_pci_ops = { -- 2.18.2