mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [TRIVIAL] fix documentation in include_asm-i386_bitops.h
@ 2002-11-08  7:51 Rusty Trivial Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Trivial Russell @ 2002-11-08  7:51 UTC (permalink / raw)
  To: torvalds, linux-kernel

From:  "Vitezslav Samel" <samel@mail.cz>

    Whean I was searching for prototype for set_bit() I found IMHO wrong doc
  entries in include/asm-i386/bitops.h. Please consider applying.
  
  	Cheers,
  		Vita

--- trivial-2.5-bk/include/asm-i386/bitops.h.orig	2002-11-08 18:46:34.000000000 +1100
+++ trivial-2.5-bk/include/asm-i386/bitops.h	2002-11-08 18:46:34.000000000 +1100
@@ -89,7 +89,7 @@
 
 /**
  * __change_bit - Toggle a bit in memory
- * @nr: the bit to set
+ * @nr: the bit to change
  * @addr: the address to start counting from
  *
  * Unlike change_bit(), this function is non-atomic and may be reordered.
@@ -106,7 +106,7 @@
 
 /**
  * change_bit - Toggle a bit in memory
- * @nr: Bit to clear
+ * @nr: Bit to change
  * @addr: Address to start counting from
  *
  * change_bit() is atomic and may not be reordered.
@@ -162,7 +162,7 @@
 
 /**
  * test_and_clear_bit - Clear a bit and return its old value
- * @nr: Bit to set
+ * @nr: Bit to clear
  * @addr: Address to count from
  *
  * This operation is atomic and cannot be reordered.  
@@ -181,7 +181,7 @@
 
 /**
  * __test_and_clear_bit - Clear a bit and return its old value
- * @nr: Bit to set
+ * @nr: Bit to clear
  * @addr: Address to count from
  *
  * This operation is non-atomic and can be reordered.  
@@ -213,7 +213,7 @@
 
 /**
  * test_and_change_bit - Change a bit and return its new value
- * @nr: Bit to set
+ * @nr: Bit to change
  * @addr: Address to count from
  *
  * This operation is atomic and cannot be reordered.  
-- 
  Don't blame me: the Monkey is driving
  File: "Vitezslav Samel" <samel@mail.cz>: fix documentation in include_asm-i386_bitops.h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-08  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-08  7:51 [TRIVIAL] fix documentation in include_asm-i386_bitops.h Rusty Trivial Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®