]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/kfifo.c
kfifo: document everywhere that size has to be power of two
[karo-tx-linux.git] / kernel / kfifo.c
index 7384f120be876a18fc22e61518d451c4649968b8..32c5c15d750ded28b7f92e752ec3ec1fbb8445b2 100644 (file)
@@ -41,7 +41,7 @@ static void _kfifo_init(struct kfifo *fifo, void *buffer,
  * kfifo_init - initialize a FIFO using a preallocated buffer
  * @fifo: the fifo to assign the buffer
  * @buffer: the preallocated buffer to be used.
- * @size: the size of the internal buffer, this have to be a power of 2.
+ * @size: the size of the internal buffer, this has to be a power of 2.
  *
  */
 void kfifo_init(struct kfifo *fifo, void *buffer, unsigned int size)