Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2016 11:42:37 +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: r299664 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201605131142.u4DBgbXM024724@repo.freebsd.org>

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



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