headers_check fix: nfsd/syscall.h

fix the following 'make headers_check' warnings:

  usr/include/linux/nfsd/syscall.h:12: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/linux/nfsd/syscall.h:104: found __[us]{8,16,32,64} type without #include <linux/types.h>
Signed-off-by: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
parent 9e87b1e5
...@@ -9,9 +9,8 @@ ...@@ -9,9 +9,8 @@
#ifndef NFSD_SYSCALL_H #ifndef NFSD_SYSCALL_H
#define NFSD_SYSCALL_H #define NFSD_SYSCALL_H
#include <asm/types.h>
#ifdef __KERNEL__
# include <linux/types.h> # include <linux/types.h>
#ifdef __KERNEL__
# include <linux/in.h> # include <linux/in.h>
#endif #endif
#include <linux/posix_types.h> #include <linux/posix_types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment