diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-09-08 10:25:08 +0200 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-09-11 07:22:05 +0900 |
commit | 56ce2f25ab0d8830d914e626bc88e45b42e11661 (patch) | |
tree | 0985cfc9cc55b6ef317f1803aa8ebc0029b5b7fa /lib | |
parent | 569dbb88e80deb68974ef6fdd6a13edb9d686261 (diff) | |
download | linux-56ce2f25ab0d8830d914e626bc88e45b42e11661.tar.bz2 |
openrisc: add forward declaration for struct vm_area_struct
After removing linux/vmalloc.h from asm-generic/io.h, the following
warning occurs on openrisc:
In file included from arch/openrisc/include/asm/io.h:33:0,
from include/linux/io.h:25,
from drivers/tty/serial/earlycon.c:19:
arch/openrisc/include/asm/pgtable.h:424:2: warning: 'struct vm_area_struct' declared inside parameter list
unsigned long address, pte_t *pte)
^
arch/openrisc/include/asm/pgtable.h:424:2: warning: its scope is only this definition or declaration, which is probably not what you want
Reported-by: kbuild test robot <lkp@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions