Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp392040rdb; Mon, 22 Jan 2024 07:25:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGUbnLVBSk6VztA9RcdhTdM3lMTitdOuA1Onvxbdgfg1UlcplRN9Ul7TLj75U50ryUgbERQ X-Received: by 2002:a05:6a20:d49a:b0:19b:7ff8:8a58 with SMTP id im26-20020a056a20d49a00b0019b7ff88a58mr5874440pzb.24.1705937149299; Mon, 22 Jan 2024 07:25:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705937149; cv=pass; d=google.com; s=arc-20160816; b=hN3b5KWqQrDxQIip/g15XV0rLfF7BziVwFJ6JZpMPempPZn5nSNe68i3H1IpFsQgul 2WitScO8tpzuipp7b4eDnyRQvhw0YK4H5Ec6PhQfcemXZHowikgHT842C4MSz7EYzEBN 4+AtytUv0I5p1eaDunOhWOzokMVpn8B94YW3bk68xY/Ry+wTCqPNKQcEMRdfLFxlZCx6 ADua3zEMyAXuyZ26ZOuIzL4pNKX4zSPUMN4T5oU01gBnkfGLjahFRQXqUlSOtB6D/cCK W3glq80fCqR64wTwI7N4nF0gOx++U5FeQMuxcwJrPBIuGYW7Kg4Gk+idsQ9lwD9okMpZ czgQ== 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=E17upilaSjnwFfpd18b2bJnV0wDpRo+i3c0jkMQabdk=; fh=y2vPN8/BXvvIzcZi483OzhqjGGezYU0x2pzbvpPoxpg=; b=F6hDMl6bQhDHtMokjddWQ/XY7G4HvIwXW+XaXuWfW5emBMVj0UTEZSq8215S09kFzg 1NzQIkJ8zcA7KCgC6VQoXgz6YuTqMhXeMoF5OO5Cyjfp9MlyX2j2lw8yF+kou90CbeNj 052CJiJ9HTqu1nDsF+BPG+eXyn1GSc7womwfmTCTkqCWGT3U2dAKTrTLEt40M34nLTsM R3UaKxeYYMIDizs3GDzp3hQq5Ha2zF/oy/tzVoUP5MMU5kF9bzJmW/MizDZhzQObOj1p eatjwYOupB40qWTOqvujoAdZna7jk8ki+Mbdj2QHrFV1HTIVQUi4TCWO2Ad0nBJs8qxx EPjQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sietirHh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33267-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j22-20020a63e756000000b005cec9314a24si8083243pgk.394.2024.01.22.07.25.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 07:25:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33267-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sietirHh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33267-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0F96728CE4A for ; Mon, 22 Jan 2024 15:18:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C103F57303; Mon, 22 Jan 2024 14:58:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sietirHh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E52A15787A; Mon, 22 Jan 2024 14:58:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935525; cv=none; b=UDkiIScX5Q4340F6CGLgXpHv+vNUWK6E36N8dPAY73fKrS9agSDMRa9vZli3dtRbE+TZ03UxkiUtwkKdKPnCw9NeCK6icC6djJyN1oaIWs5kR1uOIw16qNiuyrXYk7G2dvjobKydl3mtw0k6+CDqn2ruiNFrEMobYlK3aQOHkic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935525; c=relaxed/simple; bh=Mak+Lj5rUfA9eGs0UEJTZqDvCPi0Bu/m7ejQSQMOZKE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mCNmmyBsIPjRCUo9pyzPQV3rSOcG6aaP3KgonY/xPdq5cDKMPSoFJho0hR6A2TwV/KO5Oh4BBA3LBHcgNA2R/qxrdUSu7o8OOtSQGryo1bTHuCtoauMW+/iWsI19rVZlqOy8EitLMQtJWCLjbj4hMs/EpcHYZsnD2YiMmkv9lpU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sietirHh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97FB2C43390; Mon, 22 Jan 2024 14:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705935524; bh=Mak+Lj5rUfA9eGs0UEJTZqDvCPi0Bu/m7ejQSQMOZKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sietirHhmJDSYyRtAjSfjov9Fyp5uytr+fm6JuQzaEDh5aL+DVhKVaAgTkqTxLnQM I25PV6k5Rkjx2D8mF1Wx4qc0e/ZhffFAEuoIuKavj+F/QDqz0g1d7UQwWSS2d07+Yn 8y+3u5m2OKWXgn8oin9bhJ1oouvFSw9Mz8SwJP6kY27ZiNXRVOXazndTgy9dZBfXnZ Gf8MTvy+FW58yBS9cAnq14zt50E58lZnvmunlO+T/9WTw2IHtm/1mocf6dOJIoOuAJ U6YFvkFsh4Fe7O9/DPOCmAEonmTzZhMvKmyTh98dQzh2n+ndpNsNALDvRzsVEQmlKC vl9N/6q1kQWrA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Su Hui , Hans Verkuil , Sasha Levin , mchehab@kernel.org, linux-media@vger.kernel.org Subject: [PATCH AUTOSEL 6.7 47/88] media: ddbridge: fix an error code problem in ddb_probe Date: Mon, 22 Jan 2024 09:51:20 -0500 Message-ID: <20240122145608.990137-47-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122145608.990137-1-sashal@kernel.org> References: <20240122145608.990137-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.7.1 Content-Transfer-Encoding: 8bit From: Su Hui [ Upstream commit 09b4195021be69af1e1936cca995712a6d0f2562 ] Error code is assigned to 'stat', return 'stat' rather than '-1'. Signed-off-by: Su Hui Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- drivers/media/pci/ddbridge/ddbridge-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ddbridge/ddbridge-main.c b/drivers/media/pci/ddbridge/ddbridge-main.c index 91733ab9f58c..363badab7cf0 100644 --- a/drivers/media/pci/ddbridge/ddbridge-main.c +++ b/drivers/media/pci/ddbridge/ddbridge-main.c @@ -238,7 +238,7 @@ static int ddb_probe(struct pci_dev *pdev, ddb_unmap(dev); pci_set_drvdata(pdev, NULL); pci_disable_device(pdev); - return -1; + return stat; } /****************************************************************************/ -- 2.43.0