From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 DFACF81D4D for ; Fri, 28 Oct 2016 03:44:47 -0700 (PDT) Received: by mail-wm0-x236.google.com with SMTP id n67so105685025wme.1 for ; Fri, 28 Oct 2016 03:44:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/E+Kf7FA/ctUeowo/k6lxcPn7fB/k1Yc+SJa+zEojSA=; b=ABvXHWrR/HM6QORMIlOPW7WNLYxWP90MQckYS9gbNwJOvaHYlbl+23AtafDcpG33rl zvI1FIMyZndbScDRAPvWtPJ3BSMb/HLGX/R+yG3upNJ6w0Skll/DwKCAJOLXxSx41LGu Mzs0WzuhMI87p/IG2L6RT4MwT0Yfpn/w7Lols= 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=/E+Kf7FA/ctUeowo/k6lxcPn7fB/k1Yc+SJa+zEojSA=; b=dhuzS6h1t1Ch/nnMOzDlBQ3JBXppEm3A55VEeVhNyBBGVMV+Zk8yAWlhTsVfcqkg4N 6li84ME8ePYo+ugbHFEf0MqeYEer2tmogNaTUo/boPlsA08P8p3e6Kw7tqNLhu3QJR3I bq12ktbahjsWbMbOrr3+CNdJd5h8/jbXsKXMOHl6R3ykLkm7hNnq4fraCGtHXpQC1lT0 WZzmMgOdRjJxPINY8rUOCbjw5JPkE+mxa1CDHcwQUkNgXXrMA0u7NmdtTFCy3/JbbTUo PxvhJMZekIKgEwgUICemwrkm08h6GCLlo0/dMkJbILKHb3zm0WH0NNmcFPYWxmIC0WLf f5fg== X-Gm-Message-State: ABUngvfHDgc5/yUbssSOKxZg6vma78H4JNmDgQD9tjf4N4LM0OmbxAFm/E8boj0nhVqj1ZcF X-Received: by 10.194.152.167 with SMTP id uz7mr10850877wjb.178.1477651486903; Fri, 28 Oct 2016 03:44:46 -0700 (PDT) Received: from localhost.localdomain ([105.150.227.229]) by smtp.gmail.com with ESMTPSA id 184sm57730wms.4.2016.10.28.03.44.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Oct 2016 03:44:46 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Cc: lersek@redhat.com, ryan.harkin@linaro.org, Ard Biesheuvel Date: Fri, 28 Oct 2016 11:44:29 +0100 Message-Id: <1477651478-16830-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH v2 0/9] EmbeddedPkg: eliminate calls to deprecated functions X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 10:44:48 -0000 This series prepares EmbeddedPkg for building with the preprocess symbol DISABLE_NEW_DEPRECATED_INTERFACES defined, by adding missing components to EmbeddedPkg (#3), fixing broken code or code that relies on deprecated functionality (#1 - #2, #4 - #8), and finally adds -DDISABLE_NEW_DEPRECATED_INTERFACES to the CC flags for all build types, toolchains and architectures. v2: - incorporated Laszlo's feedback - add some R-b's Again, a *big* thank you to Laszlo for taking the time to review these patches. I do apologize for not being as thorough as I could have been, resulting in issues in the code that Laszlo spotted in his review. Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=164 Ard Biesheuvel (9): EmbeddedPkg/AndroidFastbootTransportTcpDxe: remove broken hostname handling EmbeddedPkg: remove unused PrePiHobListPointerLib EmbeddedPkg: add missing modules EmbeddedPkg/GdbDebugAgent: fix VOID* cast of incorrect size EmbeddedPkg/AndroidFastboot: eliminate deprecated string function calls EmbeddedPkg/Ebl: eliminate deprecated string function calls EmbeddedPkg/EfiFileLib: eliminate deprecated string function calls EmbeddedPkg/MmcDxe: eliminate deprecated string function calls EmbeddedPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES EmbeddedPkg/Application/AndroidFastboot/AndroidBootImg.c | 3 +- EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c | 11 ++-- EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcp.c | 23 ------- EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/FastbootTransportTcpDxe.inf | 3 - EmbeddedPkg/Ebl/Command.c | 2 +- EmbeddedPkg/Ebl/Dir.c | 4 +- EmbeddedPkg/Ebl/EfiDevice.c | 11 ++-- EmbeddedPkg/Ebl/Main.c | 8 +-- EmbeddedPkg/Ebl/Variable.c | 17 +++-- EmbeddedPkg/EmbeddedPkg.dec | 1 - EmbeddedPkg/EmbeddedPkg.dsc | 13 +++- EmbeddedPkg/Library/EfiFileLib/EfiFileLib.c | 42 ++++++------ EmbeddedPkg/Library/GdbDebugAgent/Arm/Processor.c | 2 +- EmbeddedPkg/Library/PrePiHobListPointerLib/PrePiHobListPointer.c | 69 -------------------- EmbeddedPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf | 38 ----------- EmbeddedPkg/Universal/MmcDxe/Diagnostics.c | 4 +- Omap35xxPkg/Omap35xxPkg.dsc | 1 - 17 files changed, 69 insertions(+), 183 deletions(-) delete mode 100644 EmbeddedPkg/Library/PrePiHobListPointerLib/PrePiHobListPointer.c delete mode 100644 EmbeddedPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf -- 2.7.4