Skip to content
Commit 2aaf2092 authored by Andrea Righi's avatar Andrea Righi Committed by Linus Torvalds
Browse files

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: default avatarAndrea Righi <arighi@develer.com>
Cc: Stefani Seibold <stefani@seibold.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5ddf8391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment