]> git.baikalelectronics.ru Git - kernel.git/commit
kfifo: add explicit error checking in all the examples
authorAndrea Righi <arighi@develer.com>
Thu, 19 Aug 2010 21:13:30 +0000 (14:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Aug 2010 16:34:54 +0000 (09:34 -0700)
commitcd25d9b13f625db127c22f23a7f4c42382efcbbb
tree207c392483a80d7b21fdb92289c5c1b3e49c961a
parent3234547d4277412398e5829f8b4e1d90ee78fd81
kfifo: add explicit error checking in all the examples

Provide a check in all the kfifo examples to validate the correct
execution of each testcase.

Signed-off-by: Andrea Righi <arighi@develer.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
samples/kfifo/bytestream-example.c
samples/kfifo/dma-example.c
samples/kfifo/inttype-example.c
samples/kfifo/record-example.c