[rds-commits] zab commits r93 - trunk/linux/net/rds

svn-commits@oss.oracle.com svn-commits at oss.oracle.com
Thu Jun 1 14:00:20 CDT 2006


Author: zab
Date: 2006-06-01 14:00:18 -0500 (Thu, 01 Jun 2006)
New Revision: 93

Modified:
   trunk/linux/net/rds/af_rds.c
Log:
Update some KERNEL_HAS ifdefs to help makepatch strip them out


Modified: trunk/linux/net/rds/af_rds.c
===================================================================
--- trunk/linux/net/rds/af_rds.c	2006-06-01 18:56:15 UTC (rev 92)
+++ trunk/linux/net/rds/af_rds.c	2006-06-01 19:00:18 UTC (rev 93)
@@ -127,10 +127,10 @@
 {
 #ifdef KERNEL_HAS_CORE_CALLING_DEV_IOCTL
 	return -ENOIOCTLCMD;
-#endif
+#endif /* KERNEL_HAS_CORE_CALLING_DEV_IOCTL */
 #ifndef KERNEL_HAS_CORE_CALLING_DEV_IOCTL
 	return dev_ioctl(cmd, (void __user *)arg);
-#endif
+#endif /* KERNEL_HAS_CORE_CALLING_DEV_IOCTL */
 }
 
 static int rds_cancel_sent_to(struct rds_sock *rs, char __user *optval,
@@ -347,7 +347,7 @@
 	       "RELEASE THIS.\n");
 	printk(KERN_ERR "!!! No, seriously.\n");
 #endif
-#endif
+#endif /* KERNEL_HAS_NOT_DEFINED */
 
 	ret = rds_conn_init();
 	if (ret)




More information about the rds-commits mailing list