svn commit: r299664 - head/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Fri May 13 11:42:38 UTC 2016


Author: hselasky
Date: Fri May 13 11:42:36 2016
New Revision: 299664
URL: https://svnweb.freebsd.org/changeset/base/299664

Log:
  Define _IOC_SIZE() in the LinuxKPI.
  
  Obtained from:	kmacy @
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/ioctl.h

Modified: head/sys/compat/linuxkpi/common/include/linux/ioctl.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/ioctl.h	Fri May 13 11:30:56 2016	(r299663)
+++ head/sys/compat/linuxkpi/common/include/linux/ioctl.h	Fri May 13 11:42:36 2016	(r299664)
@@ -2,7 +2,7 @@
  * Copyright (c) 2010 Isilon Systems, Inc.
  * Copyright (c) 2010 iX Systems, Inc.
  * Copyright (c) 2010 Panasas, Inc.
- * Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
+ * Copyright (c) 2013-2016 Mellanox Technologies, Ltd.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -33,4 +33,6 @@
 
 #include <sys/ioccom.h>
 
+#define	_IOC_SIZE(cmd) IOCPARM_LEN(cmd)
+
 #endif	/* _LINUX_IOCTL_H_ */


More information about the svn-src-all mailing list