git: 49951297d20f - main - libefivar: Clean up source files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Feb 2022 16:47:45 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=49951297d20fdecc05e659e9c857cb7dd19551e6 commit 49951297d20fdecc05e659e9c857cb7dd19551e6 Author: Jose Luis Duran <jlduran@gmail.com> AuthorDate: 2022-02-25 14:03:55 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-02-27 16:12:55 +0000 libefivar: Clean up source files 1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Adapted according to FreeBSD-update instructions, with the sole purpose of reducing the differences with upstream sources. Obtained from: https://github.com/tianocore/edk2/commit/9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107 Pull Request: https://github.com/freebsd/freebsd-src/pull/581 --- lib/libefivar/efivar-dp-format.c | 1 - lib/libefivar/efivar-dp-parse.c | 1 - lib/libefivar/uefi-dplib.h | 5 ++--- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/libefivar/efivar-dp-format.c b/lib/libefivar/efivar-dp-format.c index bc21ba54a098..2256a2013ad4 100644 --- a/lib/libefivar/efivar-dp-format.c +++ b/lib/libefivar/efivar-dp-format.c @@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$"); /* * Taken from MdePkg/Library/UefiDevicePathLib/DevicePathToText.c - * hash a11928f3310518ab1c6fd34e8d0fdbb72de9602c 2017-Mar-01 * heavily modified: * wide strings converted to narrow * Low level printing code redone for narrow strings diff --git a/lib/libefivar/efivar-dp-parse.c b/lib/libefivar/efivar-dp-parse.c index 5d5d0dfb7baa..82e003b98229 100644 --- a/lib/libefivar/efivar-dp-parse.c +++ b/lib/libefivar/efivar-dp-parse.c @@ -58,7 +58,6 @@ __FBSDID("$FreeBSD$"); /* * Taken from MdePkg/Library/UefiDevicePathLib/DevicePathFromText.c - * hash a11928f3310518ab1c6fd34e8d0fdbb72de9602c 2017-Mar-01 */ /** @file diff --git a/lib/libefivar/uefi-dplib.h b/lib/libefivar/uefi-dplib.h index 10f145086697..097b78ff0d64 100644 --- a/lib/libefivar/uefi-dplib.h +++ b/lib/libefivar/uefi-dplib.h @@ -27,13 +27,12 @@ /* * Taken from MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.h - * hash a11928f3310518ab1c6fd34e8d0fdbb72de9602c 2017-Mar-01 */ /** @file Definition for Device Path library. -Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR> +Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR> 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 @@ -549,7 +548,7 @@ static inline void * AllocateCopyPool(size_t l, const void *p) { void *rv; - + rv = malloc(l); if (rv == NULL) return NULL;