Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2016 10:03:33 +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: r310583 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201612261003.uBQA3XnI031401@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Mon Dec 26 10:03:33 2016
New Revision: 310583
URL: https://svnweb.freebsd.org/changeset/base/310583

Log:
  Fix LINT build.
  
  Found by:	mmel @
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

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

Modified: head/sys/compat/linuxkpi/common/include/linux/fs.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/fs.h	Mon Dec 26 10:02:02 2016	(r310582)
+++ head/sys/compat/linuxkpi/common/include/linux/fs.h	Mon Dec 26 10:03:33 2016	(r310583)
@@ -217,7 +217,7 @@ static inline dev_t
 iminor(struct inode *inode)
 {
 
-	return (MINOR(dev2unit(inode->v_rdev)));
+	return (minor(dev2unit(inode->v_rdev)));
 }
 
 static inline struct inode *



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