Message ID | 20240208120959.2513-3-ilpo.jarvinen@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-58028-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp118320dyd; Thu, 8 Feb 2024 04:10:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXPIULSYCIzsyxwr7Uviy+6Ykm+NSYQj+2ezUjmXO3Mzm9zLmBoouV0yOuaOvjBPjnUsst3kmnPRWoXNA6ucbPppPcrdQ== X-Google-Smtp-Source: AGHT+IFjMbtEiLqun6mXs6sYaR/2/vxGSdBUnY0H69/w1uG2Q01265jusE72rY3lyUoQoowse7NC X-Received: by 2002:a05:6402:391:b0:55f:e8b4:4f7c with SMTP id o17-20020a056402039100b0055fe8b44f7cmr6053370edv.5.1707394253554; Thu, 08 Feb 2024 04:10:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707394253; cv=pass; d=google.com; s=arc-20160816; b=D9ZGr1laQy+BabmKKzYWdr6yIvY48dIfxVeMvdV0WG5oauCzA12JgT9kcK7kpjUijJ HjTq6RjZCP9QAWx3w6DlB2zHWOYZHVsu8wmUpL3meeeBMUUqkjNtwnGZ9wmoNpUAQzaP CxLKh+ZdSxA4aAGmJlO5PezexcU2k+luRSkgSCJRN4WfRUyKSEwkkcu4PScisjHNKsMT SrKuzoFFborXi6+pYgdKdMhdKJBcoDypkPLBtHvQXVQ1uY6dW6AcbZMceTYqa/hm4g6u a/W+BiKdMr8PcU9ojVzKO2vsFWR2//k5A+6nU8u+P1TwiBEPBs6MmPMrUZ4Sj6Q/RnXF Phfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=s3YtR86Ahs7XAzb0WxFtdnkMBqawwkqpRrlefVDRBcA=; fh=0gviIJdIoWlOjRvQibp2OlSqidEgiU05//lBS57LNI8=; b=QdzPJsNNsilcNQ6nwH1+mAPQz2nfIQlHiUG8O8z8oxGBvZdkTmo2iSN19RVSnMWf16 IHysblvfx6oFYZY5J2ZmtYWrZxbxUeuvkgGiFIXUL3fbTiyuGgayiLMvng1O1QbBkgI6 rPjz+Bh3/fDkWyDZJFW1QVgP35pacXlgj/nP70S5TDjHaJkSmGwVxibJ7ygL/bCFc3R+ cf84W2lS0/DsbfpY6Q7QJlkR1WOhUrL4biAedlRxQRfVN0aokj5nJJe+fFqCdCr6nBk2 N6zva6OrnbgZSvZcHiDVCIiIe5aGRM904cldDX4ZAjHJijHN0SRvXAXsWzB25DImrwof Q8fg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CW1SfG+j; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58028-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58028-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXRZYKVEyAwjK8ODnuGkMYsr5Q7376CT9+6ykMwOcmhwpzeTJPW5U8ExVyHAoQ6uhP1Um7str8pteuIxjjTMWBVfZ842g== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id co3-20020a0564020c0300b005611242acf3si382221edb.531.2024.02.08.04.10.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 04:10:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58028-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CW1SfG+j; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-58028-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58028-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2D3E41F29272 for <ouuuleilei@gmail.com>; Thu, 8 Feb 2024 12:10:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6692074E19; Thu, 8 Feb 2024 12:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CW1SfG+j" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6142F71B41; Thu, 8 Feb 2024 12:10:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707394224; cv=none; b=sBxfaK5aI392R31TMTnCxIZpaDBIFTzUHQqq01h9hIvgtSLcd06WCq7qrseVD/40BGwITrPnnjYwVahNfJX0jnWSKaAtfMfs0NS7hutMYLuG1VmtbHMmIVstzGILBChhruiP47XhzBJ8VipS8qZ9xVYgbqjJZ/loXYaflXvGCLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707394224; c=relaxed/simple; bh=JPdk+Lb9y/P3Nc1X0LzlAL+t7jsIt4F4AidZQorL+eU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=mEB6kCqdZu5yebB4xOSrDbw0SxG/DoB+S+du5eFzTKH6LtCAzM9zpo98528Rq4ppO2dLDkOjlp6scwmzuh3P2QXlUgJlk6yQs0JLWNAdhIUQ/mDHnWyCICU9b+UlOdM9ydvZr+IWlus47WV3ZJc3jQKWIZmY5SvcTBbtcDtg0UY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CW1SfG+j; arc=none smtp.client-ip=198.175.65.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707394223; x=1738930223; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JPdk+Lb9y/P3Nc1X0LzlAL+t7jsIt4F4AidZQorL+eU=; b=CW1SfG+jfDU1PP14CM2wroyUCTmSr7SCkhTgBk/SaEyVQrSl8R3jD5/j 5Pngr7RKaQNmZ95cCV84lYDJsBdQXBd7XiCJEJU9LldffxQDGXe/R7GSc 2Nm75ZgVsSBqLyPq0gZdk5Q1gR9MWT4o0pYHTEQdyhLgkqlH7dT5uT/HI Ttbmi3EqGtSg3kxEW0UtVndx1fg8lLR0SdgHxOkxV0IiAqPfK0r3d+ywE OaypUek0AQPzw3tNABnNv56lyyBWjKVjsSPQDe2AOTvKvEVNk0gulpXZd V+GNG/Z3gsj8bHTMmzNqyPqeR/3IjPU6myp5wp+vchd0VpGPDWiHG2R7v g==; X-IronPort-AV: E=McAfee;i="6600,9927,10977"; a="1341322" X-IronPort-AV: E=Sophos;i="6.05,253,1701158400"; d="scan'208";a="1341322" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 04:10:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,253,1701158400"; d="scan'208";a="1625945" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.246.52.95]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2024 04:10:20 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Sergio Paracuellos <sergio.paracuellos@gmail.com> Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Subject: [PATCH v2 2/4] MIPS: ath79: Don't return PCIBIOS_* code from pcibios_enable_device() Date: Thu, 8 Feb 2024 14:09:57 +0200 Message-Id: <20240208120959.2513-3-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240208120959.2513-1-ilpo.jarvinen@linux.intel.com> References: <20240208120959.2513-1-ilpo.jarvinen@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790332636845558869 X-GMAIL-MSGID: 1790332636845558869 |
Series |
[v2,1/4] MIPS: lantiq: Remove unused function pointer variables
|
|
Commit Message
Ilpo Järvinen
Feb. 8, 2024, 12:09 p.m. UTC
pcibios_plat_dev_init() is called from pcibios_enable_device() that
should return normal errnos, not PCIBIOS return codes. In this case the
impact is only cosmetic because PCIBIOS_SUCCESSFUL equals 0 that is
success code with errnos as well. Nonetheless, remove the inconsistency
by replacing the PCIBIOS_SUCCESSFUL with 0.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
---
arch/mips/pci/fixup-ath79.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/pci/fixup-ath79.c b/arch/mips/pci/fixup-ath79.c index 09a4ce53424f..6a6c4f58f7f4 100644 --- a/arch/mips/pci/fixup-ath79.c +++ b/arch/mips/pci/fixup-ath79.c @@ -9,7 +9,7 @@ int pcibios_plat_dev_init(struct pci_dev *dev) { - return PCIBIOS_SUCCESSFUL; + return 0; } int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)