lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue,  4 Sep 2012 17:28:08 +0100
From:	Ian Abbott <abbotti@....co.uk>
To:	Rob Landley <rob@...dley.net>, linux-doc@...r.kernel.org
Cc:	lkml <linux-kernel@...r.kernel.org>, Ian Abbott <abbotti@....co.uk>
Subject: [PATCH 1/3] Documentation/rbtree.txt: Fix possible typo in example

The example code for rb_erase() usage has a function call to mysearch().
Presumably this ought to be my_search() to match the example code
earlier in the document.

Signed-off-by: Ian Abbott <abbotti@....co.uk>
---
 Documentation/rbtree.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/rbtree.txt b/Documentation/rbtree.txt
index 8d32d85..d4a31e0 100644
--- a/Documentation/rbtree.txt
+++ b/Documentation/rbtree.txt
@@ -146,7 +146,7 @@ To remove an existing node from a tree, call:
 
 Example:
 
-  struct mytype *data = mysearch(&mytree, "walrus");
+  struct mytype *data = my_search(&mytree, "walrus");
 
   if (data) {
   	rb_erase(&data->node, &mytree);
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ