aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/boot/compressed/misc.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-04-09 10:08:51 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-04-09 10:08:51 +0100
commit9178caf9649d97e976adbfca1f56477befde28f8 (patch)
tree23499ef52864a885e52431839b9a4b6835deb16b /arch/arm/boot/compressed/misc.c
parentb54290e51accea4f696f5dacef8e609d0ccbe54a (diff)
parent5f8d561fb019a3ebe073c019bf5f797f5b06c55e (diff)
Merge branches 'devel-stable' and 'misc' into for-linus
Diffstat (limited to 'arch/arm/boot/compressed/misc.c')
-rw-r--r--arch/arm/boot/compressed/misc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/misc.c b/arch/arm/boot/compressed/misc.c
index 16a8a804e958..79f56c5a9fe5 100644
--- a/arch/arm/boot/compressed/misc.c
+++ b/arch/arm/boot/compressed/misc.c
@@ -22,9 +22,9 @@ unsigned int __machine_arch_type;
#include <linux/compiler.h> /* for inline */
#include <linux/types.h>
#include <linux/linkage.h>
+#include "misc.h"
static void putstr(const char *ptr);
-extern void error(char *x);
#include CONFIG_UNCOMPRESS_INCLUDE
@@ -167,3 +167,8 @@ decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p,
else
putstr(" done, booting the kernel.\n");
}
+
+void fortify_panic(const char *name)
+{
+ error("detected buffer overflow");
+}