diff options
author | Santosh Sivaraj <santosh@fossix.org> | 2020-01-14 06:40:51 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-03-31 23:12:32 +0200 |
commit | 1f776799628139d0da47e710ad86eb58d987ff66 (patch) | |
tree | ed87a63dc4ca8977a7456ef89e28ce18e7ba016d /drivers | |
parent | libnvdimm: Out of bounds read in __nd_ioctl() (diff) | |
download | linux-1f776799628139d0da47e710ad86eb58d987ff66.tar.xz linux-1f776799628139d0da47e710ad86eb58d987ff66.zip |
tools/test/nvdimm: Fix out of tree build
Out of tree build using
make M=tools/test/nvdimm O=/tmp/build -C /tmp/build
fails with the following error
make: Entering directory '/tmp/build'
CC [M] tools/testing/nvdimm/test/nfit.o
linux/tools/testing/nvdimm/test/nfit.c:19:10: fatal error: nd-core.h: No such file or directory
19 | #include <nd-core.h>
| ^~~~~~~~~~~
compilation terminated.
That is because the kbuild file uses $(src) which points to
tools/testing/nvdimm, $(srctree) correctly points to root of the linux
source tree.
Reported-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Link: https://lore.kernel.org/r/20200114054051.4115790-1-santosh@fossix.org
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions