svn commit: r319321 - head/sys/compat/linuxkpi/common/src
Hans Petter Selasky
hselasky at FreeBSD.org
Wed May 31 13:11:08 UTC 2017
Author: hselasky
Date: Wed May 31 13:11:06 2017
New Revision: 319321
URL: https://svnweb.freebsd.org/changeset/base/319321
Log:
Properly set the .d_name field in the cdevsw structure for the
LinuxKPI.
Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys/compat/linuxkpi/common/src/linux_compat.c
Modified: head/sys/compat/linuxkpi/common/src/linux_compat.c
==============================================================================
--- head/sys/compat/linuxkpi/common/src/linux_compat.c Wed May 31 13:07:05 2017 (r319320)
+++ head/sys/compat/linuxkpi/common/src/linux_compat.c Wed May 31 13:11:06 2017 (r319321)
@@ -1011,6 +1011,7 @@ struct cdevsw linuxcdevsw = {
.d_ioctl = linux_dev_ioctl,
.d_mmap_single = linux_dev_mmap_single,
.d_poll = linux_dev_poll,
+ .d_name = "lkpidev",
};
static int
More information about the svn-src-head
mailing list