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>
Showing
- samples/kfifo/bytestream-example.c 6 additions, 1 deletionsamples/kfifo/bytestream-example.c
- samples/kfifo/dma-example.c 67 additions, 39 deletionssamples/kfifo/dma-example.c
- samples/kfifo/inttype-example.c 35 additions, 8 deletionssamples/kfifo/inttype-example.c
- samples/kfifo/record-example.c 36 additions, 3 deletionssamples/kfifo/record-example.c
Loading
Please register or sign in to comment