From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::241; helo=mail-wm0-x241.google.com; envelope-from=julien.grall@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 B6BB6220F3C40 for ; Fri, 24 Nov 2017 08:16:18 -0800 (PST) Received: by mail-wm0-x241.google.com with SMTP id v186so23575540wma.2 for ; Fri, 24 Nov 2017 08:20:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C7XI33g3MwrgAHJ0EsONmW08cWz4i9g9hQH+kFHrLnk=; b=dFpGt32on4kqsCoWszBCzkE/+wye097UcoKrrPq/tVPL/zyVc2MoInfqMRsXLPWp/b ObCnZKgnbTNElP2YI2iN9l6eCuSTaXF5uT4RYp3+ZiGummZc0BJvr8LFGbZWUg4uKR0s mHxIszIpNCu4jU9jFP4LyURKrwlnPLisZBlf8= 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=C7XI33g3MwrgAHJ0EsONmW08cWz4i9g9hQH+kFHrLnk=; b=FWl7NynUsIOLXjyqRM+3tqUwX/36heQFUNwH6Vp1YdgV6jZJp58NbwHJqzHi36mpjg 1ooKCGPkTBOgBMl1HkTdVLtqv20BuVZZy+nIgZDIap/1zrZrXytjOevz8X6d7znDtAQS QKstlYqruLSJXTme47iylabZw6yntO0GDfqC9oex6FPsasOmAr8dvSsYFWNf5qhVfS1y fMbjnDKN9Ld1HVqkD7uBZmSzp65f86NAvTwg+5GxGoIEp5jPlt88hvPX29kUzdfVxw1b q9ZGIfXLJHaraUwb6D9+ptFQaXsQWks8EWepLPxn1yh7Tb4JmDFex9E2Kjx2+dDdGEHk K++A== X-Gm-Message-State: AJaThX6zAuOQbi9TYHZDyWHcuB889FfYsKxQXwRd9vWKrChvHU7ajWM7 2hvUq0QKrtXDduTLTITlysZL2w== X-Google-Smtp-Source: AGs4zMYCRQ6+OY3YqMyXXCHBChanXYNcLV+93heutyA7rsXOM/8kFgkGYeZW7qc32Ck5ox1QBjRRNg== X-Received: by 10.28.157.7 with SMTP id g7mr9540080wme.99.1511540436029; Fri, 24 Nov 2017 08:20:36 -0800 (PST) Received: from e108454-lin.cambridge.arm.com ([2001:41d0:1:6c23::1]) by smtp.gmail.com with ESMTPSA id k30sm38803840wrf.63.2017.11.24.08.20.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Nov 2017 08:20:35 -0800 (PST) From: Julien Grall To: star.zeng@intel.com, eric.dong@intel.com, pankaj.bansal@nxp.com, lersek@redhat.com, leif.lindholm@linaro.org Cc: edk2-devel@lists.01.org, Julien Grall Date: Fri, 24 Nov 2017 16:20:28 +0000 Message-Id: <20171124162030.31156-2-julien.grall@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171124162030.31156-1-julien.grall@linaro.org> References: <20171124162030.31156-1-julien.grall@linaro.org> Subject: [PATCH v2 1/3] MdeModulePkg/SerialDxe: Describe correctly EFI_DEVICE_ERROR for SetAttributes 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: , X-List-Received-Date: Fri, 24 Nov 2017 16:16:19 -0000 Per the UEFIv2.7 spec, EFI_DEVICE_ERROR is returned when the serial device is not functioning correctly. Update the description to avoid confusion. Contributed-under: Tianocore Contribution Agreement 1.1 Signed-off-by: Julien Grall --- MdeModulePkg/Universal/SerialDxe/SerialIo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/SerialDxe/SerialIo.c b/MdeModulePkg/Universal/SerialDxe/SerialIo.c index 964d0329f4..5946a6e2f3 100644 --- a/MdeModulePkg/Universal/SerialDxe/SerialIo.c +++ b/MdeModulePkg/Universal/SerialDxe/SerialIo.c @@ -265,7 +265,7 @@ SerialReset ( stop bits. @retval EFI_SUCCESS The device was reset. - @retval EFI_DEVICE_ERROR The serial device could not be reset. + @retval EFI_DEVICE_ERROR The serial device is not functioning correctly. **/ EFI_STATUS -- 2.11.0