summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorStefani Seibold <stefani@seibold.net>2009-12-21 14:37:33 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-22 14:17:57 -0800
commit7801edb0b8b66e83c13623b483bc2e846c007c9d (patch)
treee536d39689ca4e25145aeeb84abf7335162c34c8 /fs/char_dev.c
parent86d4880313603810901f639ccb5c88ff13d4ad3c (diff)
downloadop-kernel-dev-7801edb0b8b66e83c13623b483bc2e846c007c9d.zip
op-kernel-dev-7801edb0b8b66e83c13623b483bc2e846c007c9d.tar.gz
media video cx23888 driver: ported to new kfifo API
Fix the cx23888 driver to use the new kfifo API. Using kfifo_reset() may result in a possible race conditions. This patch fixes it by using a spinlock around the kfifo_reset() function. Signed-off-by: Stefani Seibold <stefani@seibold.net> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Reviewed-by: Andy Walls <awalls@radix.net> Acked-by: Andy Walls <awalls@radix.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud