commit | 2aaf2092c168fc02df0645415f524b357ee7ec2e | [log] [tgz] |
---|---|---|
author | Andrea Righi <arighi@develer.com> | Thu Aug 19 14:13:29 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Aug 20 09:34:54 2010 -0700 |
tree | 998b8c3f82abb46a5a1c297a20ea0d5c4a7c0408 | |
parent | 5ddf83912c8b49a24ab0841f6d77f33781dcf10f [diff] |
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>