]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kfifo: clean up example to not use page_link
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 12 Jul 2017 21:34:22 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jul 2017 23:26:01 +0000 (16:26 -0700)
commit9263969a46fc899092ba4f8c4206fa2340c9a64e
treeb1c5f949d67f56e897e08018cfa59274d0962248
parent46d10a094353c05144f3b0530516bdac3ce7c435
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>
samples/kfifo/dma-example.c