From 96e94ca9a0ccf66fefcd47620fc5aa957c9744fe Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Jul 17 2013 22:31:23 +0000 Subject: compile fix kernel/modsign_uefi.c: In function ‘get_cert_list’: kernel/modsign_uefi.c:23:2: error: implicit declaration of function ‘kmalloc’ [-Werror=implicit-function-declaration] db = kmalloc(lsize, GFP_KERNEL); ^ kernel/modsign_uefi.c:23:5: warning: assignment makes pointer from integer without a cast [enabled by default] db = kmalloc(lsize, GFP_KERNEL); ^ kernel/modsign_uefi.c:31:3: error: implicit declaration of function ‘kfree’ [-Werror=implicit-function-declaration] kfree(db); ^ --- diff --git a/secure-boot-20130218.patch b/secure-boot-20130218.patch index 29ac46c..9b57173 100644 --- a/secure-boot-20130218.patch +++ b/secure-boot-20130218.patch @@ -713,12 +713,13 @@ new file mode 100644 index 0000000..b9237d7 --- /dev/null +++ b/kernel/modsign_uefi.c -@@ -0,0 +1,90 @@ +@@ -0,0 +1,91 @@ +#include +#include +#include +#include +#include ++#include +#include +#include "module-internal.h" +