lkml.org 
[lkml]   [2004]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH 2.6 IrDA] irlan - change handle_filter_request to irlan_filter_request
From
irXXX_irlan_handle_filter.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [FEATURE] Change name of handle_filter_request to
irlan_filter_request to avoid namespace pollution.


diff -Nru a/include/net/irda/irlan_filter.h b/include/net/irda/irlan_filter.h
--- a/include/net/irda/irlan_filter.h Fri Mar 19 11:29:21 2004
+++ b/include/net/irda/irlan_filter.h Fri Mar 19 11:29:21 2004
@@ -27,7 +27,7 @@

void irlan_check_command_param(struct irlan_cb *self, char *param,
char *value);
-void handle_filter_request(struct irlan_cb *self, struct sk_buff *skb);
+void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb);
int irlan_print_filter(struct seq_file *seq, int filter_type);

#endif /* IRLAN_FILTER_H */
diff -Nru a/net/irda/irlan/irlan_filter.c b/net/irda/irlan/irlan_filter.c
--- a/net/irda/irlan/irlan_filter.c Fri Mar 19 11:29:21 2004
+++ b/net/irda/irlan/irlan_filter.c Fri Mar 19 11:29:21 2004
@@ -29,12 +29,12 @@
#include <net/irda/irlan_common.h>

/*
- * Function handle_filter_request (self, skb)
+ * Function irlan_filter_request (self, skb)
*
* Handle filter request from client peer device
*
*/
-void handle_filter_request(struct irlan_cb *self, struct sk_buff *skb)
+void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb)
{
ASSERT(self != NULL, return;);
ASSERT(self->magic == IRLAN_MAGIC, return;);
diff -Nru a/net/irda/irlan/irlan_provider.c b/net/irda/irlan/irlan_provider.c
--- a/net/irda/irlan/irlan_provider.c Fri Mar 19 11:29:21 2004
+++ b/net/irda/irlan/irlan_provider.c Fri Mar 19 11:29:21 2004
@@ -358,7 +358,7 @@
12);
break;
case CMD_FILTER_OPERATION:
- handle_filter_request(self, skb);
+ irlan_filter_request(self, skb);
break;
default:
IRDA_DEBUG(2, "%s(), Unknown command!\n", __FUNCTION__ );
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.019 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site