Re: [PATCH 4/7] kfifo: rename kfifo_put... into kfifo_in... andkfifo_get... into kfifo_out...

From: stefani
Date: Thu Aug 20 2009 - 06:03:23 EST



Zitat von David Vrabel <david.vrabel@xxxxxxx>:

Joe Perches wrote:
On Wed, 2009-08-19 at 23:00 +0200, Stefani Seibold wrote:
rename kfifo_put... into kfifo_in... to prevent miss use of old non in kernel-tree drivers
ditto for kfifo_get... -> kfifo_out...

I would have thought
kfifo_put -> kfifo_out
kfifo_get -> kfifo_in
but maybe that's just me.

Use push and pull instead? In and out (whichever way) isn't obvious enough.

David


As i wrote before: FIFO means first in/first out not first pushed/first pulled nor first put/first get
It it logical.

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