WSL2-Linux-Kernel/samples/kfifo
Logan Gunthorpe 9263969a46 kfifo: clean up example to not use page_link
This is a layering violation so we replace the uses with calls to
sg_page().  This is a prep patch for replacing page_link and this is one
of the very few uses outside of scatterlist.h.

Link: http://lkml.kernel.org/r/1495663199-22234-1-git-send-email-logang@deltatee.com
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Stephen Bates <sbates@raithlin.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
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>
2017-07-12 16:26:01 -07:00
..
Makefile kfifo: add example files to the kernel sample directory 2010-08-11 08:59:23 -07:00
bytestream-example.c kfifo API type safety 2013-11-15 09:32:23 +09:00
dma-example.c kfifo: clean up example to not use page_link 2017-07-12 16:26:01 -07:00
inttype-example.c kfifo API type safety 2013-11-15 09:32:23 +09:00
record-example.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00