lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1517420134-7665-1-git-send-email-matthias.lange@kernkonzept.com>
Date:   Wed, 31 Jan 2018 18:35:34 +0100
From:   Matthias Lange <matthias.lange@...nkonzept.com>
To:     linux@...linux.org.uk
Cc:     linux-kernel@...r.kernel.org,
        Matthias Lange <matthias.lange@...nkonzept.com>
Subject: [PATCH] Fix copy and paste typo in documentation

It's 'optional' instead of 'optinal'.

Signed-off-by: Matthias Lange <matthias.lange@...nkonzept.com>
---
 arch/arm/include/asm/dma-mapping.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h
index daf8374..34d8d3e 100644
--- a/arch/arm/include/asm/dma-mapping.h
+++ b/arch/arm/include/asm/dma-mapping.h
@@ -147,7 +147,7 @@ static inline void dma_mark_clean(void *addr, size_t size) { }
  * @dev: valid struct device pointer, or NULL for ISA and EISA-like devices
  * @size: required memory size
  * @handle: bus-specific DMA address
- * @attrs: optinal attributes that specific mapping properties
+ * @attrs: optional attributes that specific mapping properties
  *
  * Allocate some memory for a device for performing DMA.  This function
  * allocates pages, and will return the CPU-viewed address, and sets @handle
@@ -162,7 +162,7 @@ extern void *arm_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
  * @size: size of memory originally requested in dma_alloc_coherent
  * @cpu_addr: CPU-view address returned from dma_alloc_coherent
  * @handle: device-view address returned from dma_alloc_coherent
- * @attrs: optinal attributes that specific mapping properties
+ * @attrs: optional attributes that specific mapping properties
  *
  * Free (and unmap) a DMA buffer previously allocated by
  * arm_dma_alloc().
@@ -180,7 +180,7 @@ extern void arm_dma_free(struct device *dev, size_t size, void *cpu_addr,
  * @cpu_addr: kernel CPU-view address returned from dma_alloc_coherent
  * @handle: device-view address returned from dma_alloc_coherent
  * @size: size of memory originally requested in dma_alloc_coherent
- * @attrs: optinal attributes that specific mapping properties
+ * @attrs: optional attributes that specific mapping properties
  *
  * Map a coherent DMA buffer previously allocated by dma_alloc_coherent
  * into user space.  The coherent DMA buffer must not be freed by the
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ