Skip to content

Commit 83c1b31

Browse files
jejbtorvalds
authored andcommitted
ramoops: fix compile failure on parisc
Fixes this: drivers/char/ramoops.c: In function 'ramoops_init': drivers/char/ramoops.c:221: error: implicit declaration of function 'IS_ERR' drivers/char/ramoops.c:222: error: implicit declaration of function 'PTR_ERR' If it actually builds on other platforms, it's probably getting linux/err.h via some other #include. Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f85f19d commit 83c1b31

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/char/ramoops.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
2323

2424
#include <linux/kernel.h>
25+
#include <linux/err.h>
2526
#include <linux/module.h>
2627
#include <linux/kmsg_dump.h>
2728
#include <linux/time.h>

0 commit comments

Comments
 (0)