diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-07-27 01:37:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-07-27 04:38:03 +0200 |
commit | fa3fc2ad99b4f025446d1cff589a8d2dd7db92f2 (patch) | |
tree | 756d260e63d203bcfdd57e30efe084e1ad687308 /Documentation/docutils.conf | |
parent | mm: fix vma_is_anonymous() false-positives (diff) | |
download | linux-fa3fc2ad99b4f025446d1cff589a8d2dd7db92f2.tar.xz linux-fa3fc2ad99b4f025446d1cff589a8d2dd7db92f2.zip |
include/linux/eventfd.h: include linux/errno.h
The new gasket staging driver ran into a randconfig build failure when
CONFIG_EVENTFD is disabled:
In file included from drivers/staging/gasket/gasket_interrupt.h:11,
from drivers/staging/gasket/gasket_interrupt.c:4:
include/linux/eventfd.h: In function 'eventfd_ctx_fdget':
include/linux/eventfd.h:51:9: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration]
I can't see anything wrong with including eventfd.h before err.h, so the
easiest fix is to make it possible to do this by including the file
where it is needed.
Link: http://lkml.kernel.org/r/20180724110737.3985088-1-arnd@arndb.de
Fixes: 9a69f5087ccc ("drivers/staging: Gasket driver framework + Apex driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/docutils.conf')
0 files changed, 0 insertions, 0 deletions