Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2422828rdh; Sun, 29 Oct 2023 15:58:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzQCTKg94uthu+4AxOv+IEE0WhrQU5fSXy0g4umOmwH9RPcHHOQ91wqP8+/iHxD8Y0etDv X-Received: by 2002:a05:6358:881f:b0:168:ea15:f193 with SMTP id hv31-20020a056358881f00b00168ea15f193mr11248940rwb.23.1698620301233; Sun, 29 Oct 2023 15:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698620301; cv=none; d=google.com; s=arc-20160816; b=bFxP+8EWW1EBp8pI8ynjaeYcKD1ze9ockYVVTUVOpOmm7kDosg162A0TM7Q0Rq9cZP UQ4HjlRsKcvyO1Pi3FZ+8keRWhfL+GYKC8BNi8CXgbtxTOtAWpGJiP/IKzRpvKxzmDy3 ZOHbUU7nPYFmSoL9GjYb6/vZQq+31jCeeqm5d0u3On48GcyXeI1MlYNsgxzEtnfTVSpU HXvKlscCewrHSA/T8c7U7qe8RkRq2nso3oaW+/iieVrIJht+Ivs/NrN6Rvl2GjZx+NoK kUGvq+j2Y0Palk3BOHaSknzXiRwDB3mDhL/Hg6ok+QmG7mQh3S9qoNDG8KEtUdlfJp2C 7xYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Dspyh8HntSsPJXTXlBMQqDQaC3jt4+Otey4hZlmCOIQ=; fh=errjRqkLT0nwOOtxusLwfEKPrXUzNv/93C0M/ZeuLWo=; b=T7g5SJlsQgOfangIBmDieHtfJcobX/1+tmlZe+ocHGwEfD1fJEqPc4IElvWuEFE4p5 FYDWFDFdeqeRAj2NChN73DC7raWezOzfgAqu2cTUhIdH97a4M9U1PfrxCzcHdNc94jZ0 FUR6G9hgHo47RcV1LT5syPpVU4QchzzN0ymIdYhK+onLj8gP4LRhZDHQgKxA7jXUN3+K ngtqtI4OUIM5hAvE3Uyp77pmQmmGPiWrMaFaYp6cvBwnlmyKBNUovkxxSyXBx+xq4xvA DncWHdSEmRHsgOS043gM4HwIHO5kvO61t7i1JJ5h7ijHuL8lsG/CSOo36VNCbbc8g27w dcxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e2l269XN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id j4-20020a170902da8400b001ca85b797c9si1137008plx.624.2023.10.29.15.58.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 15:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e2l269XN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 915018057D91; Sun, 29 Oct 2023 15:58:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231321AbjJ2W6K (ORCPT + 99 others); Sun, 29 Oct 2023 18:58:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231484AbjJ2W5z (ORCPT ); Sun, 29 Oct 2023 18:57:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32FA32D46; Sun, 29 Oct 2023 15:56:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB375C433CB; Sun, 29 Oct 2023 22:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698620154; bh=92atpQovPf8dUEyPgtOqbb4csWrmpJaDoIHvo6WYpNo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e2l269XNEiRwoZ1blLTJ38RxlqH9ZnG4UnyybdO/8l3fV60TUoNvRc7zda65thKIU +3TDqMuLbVIfwM5h7dqpX3Km7ySo6YWNoVutSHY4jFSkcMmiAeEkyDUJ1Bra9eiMqj aeEuVe66RmfRj7UtoZDElDWWdAYxcpJbsb3BJ9rWpR+qmSnXETRxn8cDqkRLHS0raH g3uFRqBuyCi2W9LmM90dzlslkUCT5/TjbyiMSe7hKND+vZF8Bi6Ca46XdnGh+yn/AD wS1upwby3h7FgMnOMsFCDHXQgYToHEt+hwdGaCkJDPgfT2NOU+jWMMxeFYLYHl8VFm K8AfssMMnwJkw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dan Carpenter , Helge Deller , Sasha Levin , sam@ravnborg.org, tzimmermann@suse.de, xu.panda@zte.com.cn, mielkesteven@icloud.com, u.kleine-koenig@pengutronix.de, linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 6.5 32/52] fbdev: omapfb: fix some error codes Date: Sun, 29 Oct 2023 18:53:19 -0400 Message-ID: <20231029225441.789781-32-sashal@kernel.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231029225441.789781-1-sashal@kernel.org> References: <20231029225441.789781-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.5.9 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 29 Oct 2023 15:58:18 -0700 (PDT) From: Dan Carpenter [ Upstream commit dc608db793731426938baa2f0e75a4a3cce5f5cf ] Return negative -ENXIO instead of positive ENXIO. Signed-off-by: Dan Carpenter Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- drivers/video/fbdev/omap/omapfb_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/omap/omapfb_main.c b/drivers/video/fbdev/omap/omapfb_main.c index ad65554b33c35..0be95b4e14fdb 100644 --- a/drivers/video/fbdev/omap/omapfb_main.c +++ b/drivers/video/fbdev/omap/omapfb_main.c @@ -1648,13 +1648,13 @@ static int omapfb_do_probe(struct platform_device *pdev, } fbdev->int_irq = platform_get_irq(pdev, 0); if (fbdev->int_irq < 0) { - r = ENXIO; + r = -ENXIO; goto cleanup; } fbdev->ext_irq = platform_get_irq(pdev, 1); if (fbdev->ext_irq < 0) { - r = ENXIO; + r = -ENXIO; goto cleanup; } -- 2.42.0