From patchwork Tue Mar 1 11:34:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shivamurthy Shastri X-Patchwork-Id: 63303 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1764788lbc; Tue, 1 Mar 2016 03:34:27 -0800 (PST) X-Received: by 10.98.14.67 with SMTP id w64mr29699794pfi.154.1456832067045; Tue, 01 Mar 2016 03:34:27 -0800 (PST) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id u27si50008709pfi.159.2016.03.01.03.34.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Mar 2016 03:34:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 19E241A1E5D; Tue, 1 Mar 2016 03:34:34 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (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 A39AB1A1E21 for ; Tue, 1 Mar 2016 03:34:32 -0800 (PST) Received: by mail-pa0-x232.google.com with SMTP id fy10so110583268pac.1 for ; Tue, 01 Mar 2016 03:34:24 -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; bh=nM7OrPUBK1RX9pW3UV4Go2IbO4fcMBSZXYbAoHoHFEg=; b=YngdDCg/BYfjpi0CO9aYywsbc44gEMgyQM5n3RZGlzjpI/2uwy/JSxbIzfzJ2hItyo hjApylS6ICyyl9no1i5NmKCDb9RnHmLVcAvT/gAZVXwnPk1R35gBakwt8ir+TdRuH6Ah gcp1ViIrED7gj+GUeHRKplYHBa2FJyBquf1oQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nM7OrPUBK1RX9pW3UV4Go2IbO4fcMBSZXYbAoHoHFEg=; b=OiV1PsDEF6OVkCU6Fq9Y0DPOhbPmGhTXroYwXiilTBteLL7uDDC9ubMGY4pBEgfwk8 KHP6cxeR7JSmr/IRP+7uAKklgXysSDAwofIzQeTUso/J5vkLBXRtNpOk02pPVF0yrknb AsnC8iTPW8/CCIZbA2KqYouXLd62dudMOV1qxZupqFa/WzCkfRlHhshayUBHggDMZMD0 q3af5ApEikYrE7uk2LG7gLMGW+wNHk32He7DFtZO6tmwlQT9EOSkvbt5OP+7nkh5Kk7+ mf2pbz2X8H13AH45Sd9eBanYdtcRDWB5ZF0+oA/sJGEm1Hk7AScoqWgQo0gZUxbvIItC lXMA== X-Gm-Message-State: AD7BkJKbLZA3TzGF8kMFq2yDyX9dtv44sBDo5OUkFcV7Vl71BhcNPJQsBJt/T1f/tpi9Sui2 X-Received: by 10.66.222.129 with SMTP id qm1mr29357621pac.22.1456832064453; Tue, 01 Mar 2016 03:34:24 -0800 (PST) Received: from localhost.localdomain ([106.51.31.240]) by smtp.gmail.com with ESMTPSA id h2sm11492375pfd.91.2016.03.01.03.34.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Mar 2016 03:34:23 -0800 (PST) From: Shivamurthy Shastri To: edk2-devel@lists.01.org, linaro-uefi@lists.linaro.org Date: Tue, 1 Mar 2016 17:04:02 +0530 Message-Id: <1456832042-7421-1-git-send-email-shivamurthy.shastri@linaro.org> X-Mailer: git-send-email 1.9.1 Cc: fathi.boudra@linaro.org, haojian.zhuang@linaro.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org Subject: [edk2] [PATCH] EmbeddedPkg/AndroidFastbootTransportTcpDxe: Resolved compiler and build warnings X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Resolved below errors: 1. Variable 'gEfiHostnameVariableGuid' used, but not defined GUID. 2. File 'Hostname.h' is included, but it is not available in source. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shivamurthy Shastri --- EmbeddedPkg/EmbeddedPkg.dec | 2 ++ EmbeddedPkg/Include/Guid/Hostname.h | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 EmbeddedPkg/Include/Guid/Hostname.h -- 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec index cd0d96f..2617323 100644 --- a/EmbeddedPkg/EmbeddedPkg.dec +++ b/EmbeddedPkg/EmbeddedPkg.dec @@ -55,6 +55,8 @@ # Include/Guid/FdtHob.h gFdtHobGuid = { 0x16958446, 0x19B7, 0x480B, { 0xB0, 0x47, 0x74, 0x85, 0xAD, 0x3F, 0x71, 0x6D } } gFdtVariableGuid = { 0x25a4fd4a, 0x9703, 0x4ba9, { 0xa1, 0x90, 0xb7, 0xc8, 0x4e, 0xfb, 0x3e, 0x57 } } + # Include/Guid/Hostname.h + gEfiHostnameVariableGuid = { 0xf1851fe8, 0x7d79, 0x43fb, { 0xae, 0x4c, 0x65, 0x7d, 0xd8, 0xd3, 0xc8, 0x80 } } [Protocols.common] gHardwareInterruptProtocolGuid = { 0x2890B3EA, 0x053D, 0x1643, { 0xAD, 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } } diff --git a/EmbeddedPkg/Include/Guid/Hostname.h b/EmbeddedPkg/Include/Guid/Hostname.h new file mode 100644 index 0000000..6789d89 --- /dev/null +++ b/EmbeddedPkg/Include/Guid/Hostname.h @@ -0,0 +1,20 @@ +/** @file +* +* Copyright (c) 2015, Linaro Limited. All rights reserved. +* +* This program and the accompanying materials +* are licensed and made available under the terms and conditions of the BSD License +* which accompanies this distribution. The full text of the license may be found at +* http://opensource.org/licenses/bsd-license.php +* +* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +* +**/ + +#ifndef __HOSTNAME_H__ +#define __HOSTNAME_H__ + +extern EFI_GUID gEfiHostnameVariableGuid; + +#endif /* __HOSTNAME_H__ */