lib/scatterlist: sgl API fixes and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | lib/scatterlist: Use natural long for sgl_alloc(_order) length parameterinclude/ lib/ | +9 | 1 reply | |
| 2/6 | lib/scatterlist: Use consistent types in sgl APIinclude/ lib/ | +8 | 1 reply | |
| 3/6 | lib/scatterlist: Skip requesting zeroed allocations in sgl_alloc_orderlib/ | +1 | 1 reply | |
| 4/6 | lib/scatterlist: Do not leak pages when high-order allocation failslib/ | +4 | 1 reply | |
| 5/6 | lib/scatterlist: Use appropriate type for elem_len in sgl_alloc_orderlib/ | +2 | 1 reply | |
| 6/6 | lib/scatterlist: Fix overflow check in sgl_alloc_orderlib/ | +1 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Bart Van Assche |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] lib/scatterlist: sgl API fixes and cleanups
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(-)
Signature · 1 line
2.17.1