Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp979034ybh; Mon, 13 Jul 2020 06:23:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/Of4t1PQz/FqdvXauRtvJL+di5T8bZHXtWqObmaFT6LJT+SOc929TnWF4rQvRQ1IAI7e8 X-Received: by 2002:aa7:d744:: with SMTP id a4mr90615367eds.94.1594646636357; Mon, 13 Jul 2020 06:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594646636; cv=none; d=google.com; s=arc-20160816; b=RpQe3EtQvPyVsA2no1tABsj9I3mwHE1Q8BgP4w8MgXOAriurVPbf1zjHEEqPOP3wFz n4ftTBJNSQydC5irip5hHtEG+QGoXq6lHnnzMK7slie4mKbH6WqZyURRbg3+D23ssyrZ EcP23/+E1jY74klBGacBpVXO1JfiWdu4pPzVh/Lz4OUcg4vnoB5mB2W7g2rh+CQlhD+I ql2NXg8vBbHzMpUlZ5pgMyNatQCHycz7A/w69z7kerDHIgzKQAfbi0dGdOLvLl/8mAq2 HhYktGHZsTLKVclZzEhS/8Qi0Do0acck2YdwPmkElCeudcbaKgdhBabo+8uFnSPYL7GW pvKA== 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=DdekBSMp1R6DMOi8Ubgu/NKkVYPxPUhZ+i21xkvtPe8=; b=UkX/HB7eTmrh54w8NxnbMWI1nQ83baaiRc+1JFqUboE460ZUC17APkZSZQoZUsS6gh 86pJW69D+rDjzBti8/iBcDnqXgggfekToaMB+a2vs7ha3KzEE0iafswhD/ZrEMuzNKAH 4CIDNwcOl+1OmU+rviGJorBMic3an3LbS6QFxnKaAtmZy5AlPpYars8A02Q1ATi4tcdm u17bV8VBoY4A7yvedrpRvSJX8uVY9lasBHy67CYnV41rZ8SmeDh/6XGUUR5TUKd4HKPr s5GEYUXcoOZcjY22QvAuCsnSQcw2vddG36okMfhX3q0Ft9fsQX2zpEDH6wevTBELvEs2 GP6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FTWOqfbp; 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 d3si10454139edn.145.2020.07.13.06.23.32; Mon, 13 Jul 2020 06:23:56 -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=FTWOqfbp; 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 S1729938AbgGMNW6 (ORCPT + 99 others); Mon, 13 Jul 2020 09:22:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729934AbgGMNW5 (ORCPT ); Mon, 13 Jul 2020 09:22:57 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D2CC08C5DB; Mon, 13 Jul 2020 06:22:56 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id rk21so17148738ejb.2; Mon, 13 Jul 2020 06:22:56 -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=DdekBSMp1R6DMOi8Ubgu/NKkVYPxPUhZ+i21xkvtPe8=; b=FTWOqfbply9IuxFuX4WbClT+NDxhwIxjM5Ro3JMMJvWUF/qmT2QqYgn9mPlI4ZQhXi v2c89Y7pRNNIkGHanZbWp714th0k6d/h/SqBbsn+TQXTvtHl1WfGUK+WeRAROyk9zne2 GtYuFQG89vv7dtXuHtwkzzKJDhwHfvwWHwTbjCOUd9cUdw41wUN78Ov22kBOR8YHFYQ5 wrBmxb1+4kdpnw2QV/j7UQp6iZ+bvCdiStFmNnTvD3pP+jCsVYww9Dxnz3+0lznY6oNv 4kZM5mNHRH1z1WUnoN3xGqKrYKvdrXbBTYmFSue4FHdg/I3vdUFls2hkGjyHozP9urHc yikA== 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=DdekBSMp1R6DMOi8Ubgu/NKkVYPxPUhZ+i21xkvtPe8=; b=Hb66iLzcPP5/VN/JkQf0oHFgTnJE6iguXdh4t5DZ6iB7KtIY3P8fZB6iWD0QQUqHPT r1057jW4kzk70Wetq0VQmMKyFYJF4x2tGcHqyEDbwhqulE2RIfjBpkdlxfYc8rwA1pNT qhXIIHLKQe6Z17e+ha4q2YY37pWR14M5F3ADolIu3lFwIFpbjzLVyLR0Yrw6OVa47ewx D3QKpbAY83Nm6wBmo/DsB1L96LMAqvglFeajQk55cOUiH9GxxiHkfx/leDVYE4N1v8wj KqyJzAEt+4TtL4Yt7sS4mIX/9uaw18MP3zIQK59LlY2eSrPZtGWQ0CIiJO9xHeocsOmO 0TjQ== X-Gm-Message-State: AOAM532CrijCQKWeWHNsopkjCFie0C4Vvlhj2wEXZSl7ztulhij3a48l uigWF7P1RSJl8HgyhzUbsKU= X-Received: by 2002:a17:906:6606:: with SMTP id b6mr77145046ejp.102.1594646575134; Mon, 13 Jul 2020 06:22:55 -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.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 06:22:54 -0700 (PDT) From: "Saheed O. Bolarinwa" To: helgaas@kernel.org, Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman 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, linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH 13/35] cxl: Change PCIBIOS_SUCCESSFUL to 0 Date: Mon, 13 Jul 2020 14:22:25 +0200 Message-Id: <20200713122247.10985-14-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. There scope should be limited within arch/x86. Change all PCIBIOS_SUCCESSFUL to 0 Signed-off-by: "Saheed O. Bolarinwa" --- drivers/misc/cxl/vphb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/cxl/vphb.c b/drivers/misc/cxl/vphb.c index 1cf320e2a415..1264253cc07b 100644 --- a/drivers/misc/cxl/vphb.c +++ b/drivers/misc/cxl/vphb.c @@ -150,7 +150,7 @@ static int cxl_pcie_read_config(struct pci_bus *bus, unsigned int devfn, out: cxl_afu_configured_put(afu); - return rc ? PCIBIOS_DEVICE_NOT_FOUND : PCIBIOS_SUCCESSFUL; + return rc ? PCIBIOS_DEVICE_NOT_FOUND : 0; } static int cxl_pcie_write_config(struct pci_bus *bus, unsigned int devfn, @@ -184,7 +184,7 @@ static int cxl_pcie_write_config(struct pci_bus *bus, unsigned int devfn, out: cxl_afu_configured_put(afu); - return rc ? PCIBIOS_SET_FAILED : PCIBIOS_SUCCESSFUL; + return rc ? PCIBIOS_SET_FAILED : 0; } static struct pci_ops cxl_pcie_pci_ops = -- 2.18.2