aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-02-16 20:48:14 -0400
committerHeiko Carstens <[email protected]>2024-02-21 15:07:46 +0100
commit723a2cc8d69d4342b47dfddbfe6c19f1b135f09b (patch)
tree491c908b186057e03ae0ad087a42c1faab6407ff /lib/test_fortify/write_overflow-strncpy-src.c
parent124468af7e769a52d27c3290007ac6e2ba346ccd (diff)
s390: use the correct count for __iowrite64_copy()
The signature for __iowrite64_copy() requires the number of 64 bit quantities, not bytes. Multiple by 8 to get to a byte length before invoking zpci_memcpy_toio() Fixes: 87bc359b9822 ("s390/pci: speed up __iowrite64_copy by using pci store block insn") Acked-by: Niklas Schnelle <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions