aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-11-03 16:17:51 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-11-06 08:01:21 +0000
commitde4dfbccbc00633d86e20c844687487efde2ab08 (patch)
treed81f3058044703bb7cc2bd8f59fd49dce88224c8
parent7c2c8a529aeacc370310faaaf8a265a90dad8e61 (diff)
downloadsrc-de4dfbccbc00633d86e20c844687487efde2ab08.tar.gz
src-de4dfbccbc00633d86e20c844687487efde2ab08.zip
ocs_fs: Fix two typos in source code comments
- s/maxium/maximum/ - s/maxiumum/maximum/ (cherry picked from commit 7b56cb0462c39cb190fc23e0e1190bdc89c163c8)
-rw-r--r--sys/dev/ocs_fc/ocs_os.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ocs_fc/ocs_os.h b/sys/dev/ocs_fc/ocs_os.h
index b59e242b3456..26da70cc3207 100644
--- a/sys/dev/ocs_fc/ocs_os.h
+++ b/sys/dev/ocs_fc/ocs_os.h
@@ -100,7 +100,7 @@
#define OCS_RSVD_INI_IO 8
#define OCS_MIN_DMA_ALIGNMENT 16
-#define OCS_MAX_DMA_ALLOC (64*1024) /* maxium DMA allocation that is expected to reliably succeed */
+#define OCS_MAX_DMA_ALLOC (64*1024) /* maximum DMA allocation that is expected to reliably succeed */
/*
* Macros used to size the CQ hash table. We want to round up to the next
@@ -466,7 +466,7 @@ typedef struct ocs_dma_s {
* Return maximum supported DMA allocation size, given alignment
* requirement.
*
- * @return maxiumum supported DMA allocation size
+ * @return maximum supported DMA allocation size
*/
static inline uint32_t ocs_max_dma_alloc(ocs_os_handle_t os, size_t align)
{