]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
selftests/filesystems: devpts_pts included wrong header
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 18 Apr 2018 07:52:55 +0000 (09:52 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 1 Mar 2019 13:21:03 +0000 (14:21 +0100)
commit5457a034df811472519fc0025dde9b6ff40c8243
treec9bda2ee600e48e07fa8e533dc0f94bbcd6f60da
parentf661dc9e009d6b16b2426d21c893298145717e92
selftests/filesystems: devpts_pts included wrong header

BugLink: http://bugs.launchpad.net/bugs/1815234
[ Upstream commit dd4b16b4f9b1b7d9f4a185cb8222e42f3a5daf00 ]

We were picking up the wrong header should use asm/ioctls.h form the kernel
and not the header from the system (sys/ioctl.h). In the current code we
added the correct include and we added the kernel headers path to the CFLAGS.

Fixes: ce290a19609d ("selftests: add devpts selftests")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
tools/testing/selftests/filesystems/Makefile
tools/testing/selftests/filesystems/devpts_pts.c