aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2021-02-15 14:15:10 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-02-15 20:49:50 +0100
commit449e4dc9fc8d9b9ff8e37749f85b6c89b401df97 (patch)
tree9cf7029c0abade615509c111a761aa1c110f7129
parent86f733b4d884ae620f042ebefea872d0ab193362 (diff)
downloadman-pages-449e4dc9fc8d9b9ff8e37749f85b6c89b401df97.tar.gz
s390_pci_mmio_write.2: SYNOPSIS: Add 'const' qualifier
s390_pci_mmio_write() uses 'const void *' instead of 'void *'. Fix it. ...... .../linux$ grep_syscall s390_pci_mmio_write arch/s390/pci/pci_mmio.c:119: SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr, const void __user *, user_buffer, size_t, length) .../linux$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/s390_pci_mmio_write.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/s390_pci_mmio_write.2 b/man2/s390_pci_mmio_write.2
index a9088c25f0..9bee6a21ff 100644
--- a/man2/s390_pci_mmio_write.2
+++ b/man2/s390_pci_mmio_write.2
@@ -30,10 +30,10 @@ MMIO memory page
.nf
.B #include <asm/unistd.h>
.PP
-.BI "int s390_pci_mmio_write(unsigned long " mmio_addr ","
-.BI " void *" user_buffer ", size_t " length ");"
-.BI "int s390_pci_mmio_read(unsigned long " mmio_addr ","
-.BI " void *" user_buffer ", size_t " length ");"
+.BI "int s390_pci_mmio_write(unsigned long " mmio_addr ,
+.BI " const void *" user_buffer ", size_t " length );
+.BI "int s390_pci_mmio_read(unsigned long " mmio_addr ,
+.BI " void *" user_buffer ", size_t " length );
.fi
.PP
.IR Note :