Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 13:11:07 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r319321 - head/sys/compat/linuxkpi/common/src
Message-ID:  <201705311311.v4VDB7Ug037218@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705311311.v4VDB7Ug037218>