]> bbs.cooldavid.org Git - net-next-2.6.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)
commita25effa4d265eb5028c7d4a92a0ddd9267c3c43d
tree207c392483a80d7b21fdb92289c5c1b3e49c961a
parentd83a71c4219191a9a881318ae5ca9b39aa1d0540
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