Skip to content

s390/dasd: fix buffer alignment validation

Stefan Haberland linux-block linux-s390 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2s390/dasd: Return BLK_STS_INVAL for EINVAL from do_dasd_requestdrivers/s390/block/dasd.c+7 -50 replies
2/2s390/dasd: enforce dma_alignment to ensure proper buffer validationdrivers/s390/block/dasd.c+5 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchStefan Haberland
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] s390/dasd: fix buffer alignment validation

Hi Jens,

please apply the following two patches that fix buffer alignment handling in the DASD driver.
The first patch corrects the error mapping for misaligned requests, and the second enforces proper alignment validation in the block layer.

Jaehoon Kim (2):
s390/dasd: Return BLK_STS_INVAL for EINVAL from do_dasd_request s390/dasd: enforce dma_alignment to ensure proper buffer validation

 drivers/s390/block/dasd.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
Signature · 1 line
2.48.1