netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][ATM]: [lanai] ioctl only meant for debugging (from mitch@sfgoth.com)
@ 2003-09-22 17:03 chas williams
  2003-09-22 17:07 ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: chas williams @ 2003-09-22 17:03 UTC (permalink / raw)
  To: davem; +Cc: netdev

pleae apply to 2.4. --thanks

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1115  -> 1.1116 
#	 drivers/atm/lanai.c	1.4     -> 1.5    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/22	chas@relax.cmf.nrl.navy.mil	1.1116
# [ATM]: [lanai] ioctl only meant for debugging (from mitch@sfgoth.com)
# --------------------------------------------
#
diff -Nru a/drivers/atm/lanai.c b/drivers/atm/lanai.c
--- a/drivers/atm/lanai.c	Mon Sep 22 13:01:23 2003
+++ b/drivers/atm/lanai.c	Mon Sep 22 13:01:23 2003
@@ -2574,6 +2574,7 @@
 /* NOTE: these are all DEBUGGING ONLY currently */
 static int lanai_ioctl(struct atm_dev *atmdev, unsigned int cmd, void *arg)
 {
+#if 0
 	int result = 0;
 	struct lanai_dev *lanai = (struct lanai_dev *) atmdev->dev_data;
 	switch(cmd) {
@@ -2653,6 +2654,10 @@
 			result = -EINVAL;
 	}
 	return result;
+#else /* !0 */
+	(void) atmdev; (void) cmd; (void) arg;  /* no compiler warnings */
+	return -ENOIOCTLCMD;
+#endif /* 0 */
 }
 
 static int lanai_send(struct atm_vcc *atmvcc, struct sk_buff *skb)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-09-23 11:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-22 17:03 [PATCH][ATM]: [lanai] ioctl only meant for debugging (from mitch@sfgoth.com) chas williams
2003-09-22 17:07 ` Christoph Hellwig
2003-09-22 17:55   ` chas williams
2003-09-22 18:00     ` Christoph Hellwig
2003-09-23  4:45       ` Mitchell Blank Jr
2003-09-23 10:57     ` David S. Miller
2003-09-23 11:42       ` chas williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).