diff options
author | Andrea Righi <arighi@develer.com> | 2010-08-19 14:13:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-20 09:34:54 -0700 |
commit | 2aaf2092c168fc02df0645415f524b357ee7ec2e (patch) | |
tree | 998b8c3f82abb46a5a1c297a20ea0d5c4a7c0408 /samples/kfifo/dma-example.c | |
parent | 5ddf83912c8b49a24ab0841f6d77f33781dcf10f (diff) | |
download | linux-3.10-2aaf2092c168fc02df0645415f524b357ee7ec2e.tar.gz linux-3.10-2aaf2092c168fc02df0645415f524b357ee7ec2e.tar.bz2 linux-3.10-2aaf2092c168fc02df0645415f524b357ee7ec2e.zip |
kfifo: add explicit error checking in byte stream example
Provide a static array of expected items that kfifo should contain at the
end of the test to validate it.
Signed-off-by: Andrea Righi <arighi@develer.com>
Cc: Stefani Seibold <stefani@seibold.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples/kfifo/dma-example.c')
0 files changed, 0 insertions, 0 deletions