linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH (trivial)] Fix wrong identifier name in Documentation/kref.txt
@ 2007-05-04 14:25 Satyam Sharma
  2007-05-04 18:49 ` Corey Minyard
  0 siblings, 1 reply; 3+ messages in thread
From: Satyam Sharma @ 2007-05-04 14:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, minyard

Here's another trivial one I've been meaning to send since ... a long 
time back.

Cheers,
Satyam

---

There's a typo / wrong identifier name in Documentation/kref.txt. Fix it.

 	Signed-off-by: Satyam Sharma <ssatyam@cse.iitk.ac.in>

---

diff -ruNp linux-2.6.21.1/Documentation/kref.txt linux-2.6.21.1~patch/Documentation/kref.txt
--- linux-2.6.21.1/Documentation/kref.txt	2007-05-04 19:40:01.000000000 +0530
+++ linux-2.6.21.1~patch/Documentation/kref.txt	2007-05-04 19:41:04.000000000 +0530
@@ -67,7 +67,7 @@ void more_data_handling(void *cb_data)
  	.
  	. do stuff with data here
  	.
-	kref_put(data, data_release);
+	kref_put(&data->refcount, data_release);
  }

  int my_data_handler(void)


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

end of thread, other threads:[~2007-05-10  4:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04 14:25 [PATCH (trivial)] Fix wrong identifier name in Documentation/kref.txt Satyam Sharma
2007-05-04 18:49 ` Corey Minyard
2007-05-09 21:20   ` Satyam Sharma

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).