Re: [PATCH] ocfs2: make local header paths relative to C files

From: Andrew Morton
Date: Tue Dec 31 2019 - 17:33:34 EST


On Fri, 27 Dec 2019 02:30:15 +0000 Gang He <GHe@xxxxxxxx> wrote:

> From: Masahiro Yamada <masahiroy@xxxxxxxxxx>
>
> Gang He reports the failure of building fs/ocfs2/ as an external module
> of the kernel installed on the system:
>
> $ cd fs/ocfs2
> $ make -C /lib/modules/`uname -r`/build M=`pwd` modules
>
> If you want to make it work reliably, I'd recommend to remove ccflags-y
> from the Makefiles, and to make header paths relative to the C files.
> I think this is the correct usage of the #include "..." directive.
>
> Reported-by: Gang He <ghe@xxxxxxxx>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> Reviewed-by: Gang He <ghe@xxxxxxxx>

Your signed-off-by should appear here, since you were on the patch
delivery path. I have made that change, OK?