From: Tvrtko Ursulin <[email protected]>
Mostly same fixes and cleanups I've sent earlier in the year, but with some
patches dropped and some split into smaller ones as per request.
Tvrtko Ursulin (6):
lib/scatterlist: Use natural long for sgl_alloc(_order) length
parameter
lib/scatterlist: Use consistent types in sgl API
lib/scatterlist: Skip requesting zeroed allocations in sgl_alloc_order
lib/scatterlist: Do not leak pages when high-order allocation fails
lib/scatterlist: Use appropriate type for elem_len in sgl_alloc_order
lib/scatterlist: Fix overflow check in sgl_alloc_order
include/linux/scatterlist.h | 13 +++++++------
lib/scatterlist.c | 33 +++++++++++++++++----------------
2 files changed, 24 insertions(+), 22 deletions(-)
--
2.17.1