kfifo: cleanup namespace
change name of __kfifo_* functions to kfifo_*, because the prefix __kfifo should be reserved for internal functions only. Signed-off-by: Stefani Seibold <stefani@seibold.net> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Acked-by: Andi Kleen <ak@linux.intel.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committato da
Linus Torvalds

parent
c1e13f2567
commit
e64c026dd0
@@ -2107,7 +2107,7 @@ static int sonypi_misc_open(struct inode *inode, struct file *file)
|
||||
spin_lock_irqsave(&sonypi_compat.fifo_lock, flags);
|
||||
|
||||
if (atomic_inc_return(&sonypi_compat.open_count) == 1)
|
||||
__kfifo_reset(&sonypi_compat.fifo);
|
||||
kfifo_reset(&sonypi_compat.fifo);
|
||||
|
||||
spin_unlock_irqrestore(&sonypi_compat.fifo_lock, flags);
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user