Re: [PATCH v4 26/35] s390/diag: Unpoison diag224() output buffer
From: Alexander Potapenko
Date: Tue Jun 18 2024 - 06:56:28 EST
On Thu, Jun 13, 2024 at 5:40 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote:
>
> Diagnose 224 stores 4k bytes, which currently cannot be deduced from
> the inline assembly constraints. This leads to KMSAN false positives.
>
> Fix the constraints by using a 4k-sized struct instead of a raw
> pointer. While at it, prettify them too.
>
> Suggested-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>