Skip to contentSkip to conversation

net/appletalk/aarp.c typo

PATCH New Jasper Spaans 1 participant 1 message Sep 10, 2003 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/appletalk/aarp.c typo

Hello,

The patch recently applied to net/appletalk/aarp.c has a typo in it; line 944 in bk currently reads

      return *pos ? iter_next(iter, pos) : SEQ_START_TOKEN);

which will not compile.

The following patch fixes that; please apply.

# 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.1175 -> 1.1176
# net/appletalk/aarp.c 1.17 -> 1.18
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/10 [email protected] 1.1176
# Fix up typo in net/appletalk/aarp.c to make it compile again. # --------------------------------------------
#

net/appletalk/aarp.c +1 -1
diff -Nru a/net/appletalk/aarp.c b/net/appletalk/aarp.c
@@ -941,7 +941,7 @@
 	iter->table     = resolved;
 	iter->bucket    = 0;
 
-	return *pos ? iter_next(iter, pos) : SEQ_START_TOKEN);
+	return *pos ? iter_next(iter, pos) : SEQ_START_TOKEN;
 }
 
 static void *aarp_seq_next(struct seq_file *seq, void *v, loff_t *pos)

Bye,

Signature · 2 lines
Jasper Spaans                http://jsp.vs19.net/
 21:03:46 up 9702 days, 11:50, 0 users, load average: 12.41 6.76 3.53