diff mbox series

[1/1] efi_loader: define all known warning status codes

Message ID 20200103215707.10780-1-xypron.glpk@gmx.de
State New
Headers show
Series [1/1] efi_loader: define all known warning status codes | expand

Commit Message

Heinrich Schuchardt Jan. 3, 2020, 9:57 p.m. UTC
Of all warning status codes up to now only EFI_WARN_DELETE_FAILURE is
defined.

The patch adds the missing definitions for later usage.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 .mailmap      | 1 +
 include/efi.h | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

--
2.24.1

Comments

Fabio Estevam Jan. 4, 2020, 1:35 p.m. UTC | #1
Hi Heinrich,

On Sat, Jan 4, 2020 at 8:25 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Of all warning status codes up to now only EFI_WARN_DELETE_FAILURE is
> defined.
>
> The patch adds the missing definitions for later usage.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  .mailmap      | 1 +
>  include/efi.h | 8 +++++++-
>  2 files changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/.mailmap b/.mailmap
> index 98d2131e97..dec2abeffa 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -24,6 +24,7 @@ Boris Brezillon <bbrezillon at kernel.org> <boris.brezillon at bootlin.com>
>  Boris Brezillon <bbrezillon at kernel.org> <boris.brezillon at free-electrons.com>
>  Dirk Behme <dirk.behme at googlemail.com>
>  Fabio Estevam <fabio.estevam at nxp.com>
> +Heinrich Schuchardt <xypron.glpk at gmx.de>

This is an unrelated change.
diff mbox series

Patch

diff --git a/.mailmap b/.mailmap
index 98d2131e97..dec2abeffa 100644
--- a/.mailmap
+++ b/.mailmap
@@ -24,6 +24,7 @@  Boris Brezillon <bbrezillon at kernel.org> <boris.brezillon at bootlin.com>
 Boris Brezillon <bbrezillon at kernel.org> <boris.brezillon at free-electrons.com>
 Dirk Behme <dirk.behme at googlemail.com>
 Fabio Estevam <fabio.estevam at nxp.com>
+Heinrich Schuchardt <xypron.glpk at gmx.de>
 Jagan Teki <402jagan at gmail.com>
 Jagan Teki <jaganna at gmail.com>
 Jagan Teki <jaganna at xilinx.com>
diff --git a/include/efi.h b/include/efi.h
index 5f415a99cc..e12697a5d5 100644
--- a/include/efi.h
+++ b/include/efi.h
@@ -91,7 +91,13 @@  typedef struct {
 #define EFI_IP_ADDRESS_CONFLICT		(EFI_ERROR_MASK | 34)
 #define EFI_HTTP_ERROR			(EFI_ERROR_MASK | 35)

-#define EFI_WARN_DELETE_FAILURE	2
+#define EFI_WARN_UNKNOWN_GLYPH		1
+#define EFI_WARN_DELETE_FAILURE		2
+#define EFI_WARN_WRITE_FAILURE		3
+#define EFI_WARN_BUFFER_TOO_SMALL	4
+#define EFI_WARN_STALE_DATA		5
+#define EFI_WARN_FILE_SYSTEM		6
+#define EFI_WARN_RESET_REQUIRED		7

 typedef unsigned long efi_status_t;
 typedef u64 efi_physical_addr_t;