From patchwork Sun Aug 16 05:50:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinay Simha BN X-Patchwork-Id: 247779 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp2393614ilo; Mon, 17 Aug 2020 00:09:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0XTJqlL3zNOskLGvpN9jXyr7Kj30Zq/PBDlJw2pLzBF2WUy8710VAZwuZOxW98nIJACeY X-Received: by 2002:a17:90a:6d26:: with SMTP id z35mr11176099pjj.164.1597648155972; Mon, 17 Aug 2020 00:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597648155; cv=none; d=google.com; s=arc-20160816; b=FO+BFALZsx40z5Dj90Tnq22MIBk6Nb2qwL0ZOfFIjNrnmotiA1LgSppkG9xxbUsMzZ bwqBVFRxI9Iu7Abyjo9itaeAL5W7spyYx1Y5g1HOxS2EZ5Op4PLkPB61kCsXMDo2iuFP EZiSGEsDx0EmvxD0yv4QULA31Cblqrmyxm6vuII0z3Z2dm22UHRVR21kIWo9H5/qkJ43 +EkAbqckY9KlIPiRlJ1bZOwdKfR/iTPoDwPml7xZpYl+QAnB7ZwchyHGW9aUTsrP3tZP LBxgwrIb4X/6LA2b3Nfog1l6YjY4fTSOleCAUmzkJPXyN5jnKG+KuCL6hQabHtEORe97 FQUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=ndJ7jI6kysuKozJknWNeGPPDCJN1wwTH75h05r+Cr1o=; b=ykQi5EBgfhMD9CQlkuXbAAbYKZhL+TvqhB2lnglrcfRJZhmSgHNbPoVcjJaYN8G1qV yARwSdWcwpGSypDXbTD1N2hM/nA0w6qeRqaRuntOHn0uv8vePWDLqyUkZw2Ll3uWXOAG 6xKVGfTzzMNHGbszi14MofdAr7KFu2okJ6503llE74qcC6qU3OwhxOm/z+qq+AqR2ugG YmEcwEW1lZpDmvu5mGTClto9qzLN1U625yjLqO7K52C7jtXlCXYmgJ68yZtpZJToY3FW tM5edLMdaALNTy2Dn9euLv3ViCNw+dYw7sghRJdGHhzQLxIaF3WIeowMXR72+BuQoIFY qnVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LqDQw0LG; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id u3si12009266pjx.80.2020.08.17.00.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 00:09:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=LqDQw0LG; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C856C6E527; Mon, 17 Aug 2020 07:07:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3306D6E06B for ; Sun, 16 Aug 2020 05:50:57 +0000 (UTC) Received: by mail-pf1-x442.google.com with SMTP id x25so6559626pff.4 for ; Sat, 15 Aug 2020 22:50:57 -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; bh=y8IbMlSvYeV7TuMHFK5bjwWRDCnF/ixMBMv2DD2BAzY=; b=LqDQw0LGtg9nA50EIOSJkM9B61pEAaPXaGH5qyL7I9qrqz1Nx8wkt+MLpmcLyvNaX/ xnOObUry8iqHpBity5FlQc56RHZUl5crwoygjMZLQJ+Pta5nP+IXJaiQ76qWuVdULIiY 0JgB8aPdi34Ea0xNg3fCR7YS+Wkta7TSnKxr73qYz0m8aTO9cM7uP6yDQYzrCMSL+lna 1xVophSU5jJHQS8Jo43ysexFTF6lwuOvZXuv7F0dOLwX/MUHLskt68N2nnEnwdgwiKOe BlFC9IGWFAXpk8adM16j43T7E2VOtGNs8/nrthEZvIo922lo2mmJb4sZYc7GuJQpX/pb W/cQ== 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; bh=y8IbMlSvYeV7TuMHFK5bjwWRDCnF/ixMBMv2DD2BAzY=; b=BFs3/aYLPsn7YxjBhLcUR6GTQdtw85JeqhfoPxOKeZ44E5DrR7zxRiEUEktBOtkB7O 3XdSdzYyFiKI87w4sCsb3GjIOkOfAf/Ax0GHzbuAZFoDYjqdXKVOq59GmyH/yuNwrFDF eEBGKMmqMAgYknWKzix5J/I+4DpdtlSrPdcBlMCepICbgIvpuW7reTFgShJ84m/HZXWl NUHb79Ek0xhCCv22CNz0iLgtK416EZHVDXqb947hqvoS0EKr+F0j6Exva+dYLnOZ3t9q jgEd7jnpC4cbM8zwtUsgPvc3sxSlfFWBpe7DL7SDQYCSIPAcIGSLbUdxtVtoYHX0pY5F rm2A== X-Gm-Message-State: AOAM533Ydmnj730/HOjqtiMJiG1D7D4TWMF7GaJGfU2CXSciTI8dvkSA Odpawj7Tr5yAJNgQUgXozaY= X-Received: by 2002:aa7:95b8:: with SMTP id a24mr6942242pfk.219.1597557056656; Sat, 15 Aug 2020 22:50:56 -0700 (PDT) Received: from inforce-server-Z9PE-D8-WS.routereb3c90.com ([106.51.138.45]) by smtp.gmail.com with ESMTPSA id x22sm14009310pfn.41.2020.08.15.22.50.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Aug 2020 22:50:56 -0700 (PDT) From: Vinay Simha BN To: Subject: [PATCH] drm/bridge/tc358775: Fix for PTR_ERR Date: Sun, 16 Aug 2020 11:20:41 +0530 Message-Id: <1597557042-5154-1-git-send-email-simhavcs@gmail.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Mon, 17 Aug 2020 07:06:42 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Jonas Karlman , David Airlie , Neil Armstrong , open list , "open list:DRM DRIVERS" , Andrzej Hajda , Laurent Pinchart , Vinay Simha BN MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" passing zero to 'PTR_ERR' Reported-by: kernel test robot Signed-off-by: Vinay Simha BN --- drivers/gpu/drm/bridge/tc358775.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c index 7da15cd..d951cdc 100644 --- a/drivers/gpu/drm/bridge/tc358775.c +++ b/drivers/gpu/drm/bridge/tc358775.c @@ -684,7 +684,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) tc->vdd = devm_regulator_get(dev, "vdd-supply"); if (IS_ERR(tc->vdd)) { - ret = PTR_ERR(tc->vddio); + ret = PTR_ERR(tc->vdd); dev_err(dev, "vdd-supply not found\n"); return ret; }