From nobody Wed Dec 25 14:19:53 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1509121963697373.28796727365796; Fri, 27 Oct 2017 09:32:43 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id AD41421CEB140; Fri, 27 Oct 2017 09:28:52 -0700 (PDT) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BB4702034A873 for ; Fri, 27 Oct 2017 09:28:51 -0700 (PDT) Received: by mail-lf0-x243.google.com with SMTP id n69so8032194lfn.2 for ; Fri, 27 Oct 2017 09:32:39 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h3sm1569222lfj.26.2017.10.27.09.32.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Oct 2017 09:32:36 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::243; helo=mail-lf0-x243.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=62MZxKGrLwDNAL7VVdwiAB+eOx/7pEIj1NCX96CROZs=; b=ocQk3KjTJGTBp1Eo9mPp/MDsk7hq5B2FjC8JInTPiLFnRSC6W2LwUzbC73SOqmGa4+ MKGF53Q85XTAtSHmpvLWheeD525X2OmitnswGVUgcijyms9+DIWSS/6KL8K6C/2alOTZ Di4kU9GOrEbjZEeWguPZazWUXxCsTg4fVWtNpzeyhkdOED2Ctk+/0R4tlaJMNMf6G/+k U+fd/nP+hwUDD634IqXP26ss8VvZT/X+NUH7Q/XmR1QLQbx6Ev6lgDhygTq79FBKRPbo 13YbT7BdyCttOsi82GAE0fgRTjLFUmPConMZ5obl570ds6yPMN0QB4WMdWp+QiT7eKTC 0mrw== 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=62MZxKGrLwDNAL7VVdwiAB+eOx/7pEIj1NCX96CROZs=; b=cunan0vNwWBtZKOE7YzMI6GZHDbNYvV9iBAPlyUk007NR61B/paZhO0fcvwFT5Rq49 2Ez+gLm6UKn0fzMIq7dtRTWmK7IpAf/57d3JysVD0PCTnzvbDVyDbRmkx0JVPL0FtJHO 04Jt5iOTXuJlCPnkv2SYWn8ZFer7R5BT/FH973/ngo0Jjm2MXViWTe16q3tZtPQoK3Zo yWvTPLo53oEBMpElgFI1a88wH22JaHbpRFqiQQtXVz9GN+k7pJHJFnFx8/uz8v2Lhdx9 lxq8Can1VsMcbSfZ0JAO+2oNum8i+sC2iptxCi60nfhp09UTvmQD/lZC3TO9DeoRiESG ZQVA== X-Gm-Message-State: AMCzsaUI9ZAfTBCMZwLSnYFYuqtqVdAwj3m/IEJolesfz+mbgGIBhawj 2UzrdPwcDzGvMf9O4FTla/lrOic7yPE= X-Google-Smtp-Source: ABhQp+QByB7KFyvCP0zulcwuPMHCy5kXs8jFla7qB2GPfxLy648P9fxptZ5K0ZoCiv6zPjNeluXLXQ== X-Received: by 10.25.165.212 with SMTP id o203mr355924lfe.204.1509121957110; Fri, 27 Oct 2017 09:32:37 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Fri, 27 Oct 2017 18:31:45 +0200 Message-Id: <1509121913-12937-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509121913-12937-1-git-send-email-mw@semihalf.com> References: <1509121913-12937-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v3 02/10] Marvell/Drivers: MvI2cDxe: Fix returning status in MvI2cStartRequest X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" In MvI2cStartRequest the status was assigned to the variable without dereferencing a pointer. Fix it. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c b/Platform/Ma= rvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c index b4599d2..a62383f 100755 --- a/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c +++ b/Platform/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c @@ -627,7 +627,7 @@ MvI2cStartRequest ( } =20 if (I2cStatus !=3D NULL) - I2cStatus =3D EFI_SUCCESS; + *I2cStatus =3D EFI_SUCCESS; if (Event !=3D NULL) gBS->SignalEvent(Event); return EFI_SUCCESS; --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel