Skip to content

Commit e1c0506

Browse files
masahir0yJiri Kosina
authored and
Jiri Kosina
committed
treewide: fix typos in comment blocks
Looks like the word "contiguous" is often mistyped. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent 6ade977 commit e1c0506

File tree

12 files changed

+18
-18
lines changed

12 files changed

+18
-18
lines changed

arch/mips/kernel/setup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ static void __init bootmem_init(void)
476476
* o bootmem_init()
477477
* o sparse_init()
478478
* o paging_init()
479-
* o dma_continguous_reserve()
479+
* o dma_contiguous_reserve()
480480
*
481481
* At this stage the bootmem allocator is ready to use.
482482
*

drivers/gpio/gpiolib-acpi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static int acpi_gpiochip_find(struct gpio_chip *gc, void *data)
6868
* GPIO controller driver.
6969
*
7070
* Typically the returned offset is same as @pin, but if the GPIO
71-
* controller uses pin controller and the mapping is not contigous the
71+
* controller uses pin controller and the mapping is not contiguous the
7272
* offset might be different.
7373
*/
7474
static int acpi_gpiochip_pin_to_gpio_offset(struct gpio_chip *chip, int pin)

drivers/gpu/drm/via/via_dmablit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ via_lock_all_dma_pages(drm_via_sg_info_t *vsg, drm_via_dmablit_t *xfer)
260260
/*
261261
* Allocate DMA capable memory for the blit descriptor chain, and an array that keeps track of the
262262
* pages we allocate. We don't want to use kmalloc for the descriptor chain because it may be
263-
* quite large for some blits, and pages don't need to be contingous.
263+
* quite large for some blits, and pages don't need to be contiguous.
264264
*/
265265

266266
static int

drivers/gpu/drm/vmwgfx/vmwgfx_drv.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ enum vmw_dma_map_mode {
227227
* device-specific information.
228228
*
229229
* @sgt: Pointer to a struct sg_table with binding information
230-
* @num_regions: Number of regions with device-address contigous pages
230+
* @num_regions: Number of regions with device-address contiguous pages
231231
*/
232232
struct vmw_sg_table {
233233
enum vmw_dma_map_mode mode;

drivers/media/platform/exynos4-is/fimc-m2m.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static int fimc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt,
188188
if (IS_ERR(f))
189189
return PTR_ERR(f);
190190
/*
191-
* Return number of non-contigous planes (plane buffers)
191+
* Return number of non-contiguous planes (plane buffers)
192192
* depending on the configured color format.
193193
*/
194194
if (!f->fmt)

drivers/media/v4l2-core/videobuf2-memops.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ int vb2_get_contig_userptr(unsigned long vaddr, unsigned long size,
125125
}
126126

127127
/*
128-
* Memory is contigous, lock vma and return to the caller
128+
* Memory is contiguous, lock vma and return to the caller
129129
*/
130130
*res_vma = vb2_get_vma(vma);
131131
if (*res_vma == NULL)

drivers/net/ethernet/amd/xgbe/xgbe.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140

141141
#define XGBE_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
142142

143-
/* Descriptors required for maximum contigous TSO/GSO packet */
143+
/* Descriptors required for maximum contiguous TSO/GSO packet */
144144
#define XGBE_TX_MAX_SPLIT ((GSO_MAX_SIZE / XGBE_TX_MAX_BUF_SIZE) + 1)
145145

146146
/* Maximum possible descriptors needed for an SKB:

drivers/net/wireless/ath/ath6kl/wmi.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct ath6kl_vif *ath6kl_get_vif_by_index(struct ath6kl *ar, u8 if_idx)
154154
}
155155

156156
/* Performs DIX to 802.3 encapsulation for transmit packets.
157-
* Assumes the entire DIX header is contigous and that there is
157+
* Assumes the entire DIX header is contiguous and that there is
158158
* enough room in the buffer for a 802.3 mac header and LLC+SNAP headers.
159159
*/
160160
int ath6kl_wmi_dix_2_dot3(struct wmi *wmi, struct sk_buff *skb)
@@ -449,7 +449,7 @@ int ath6kl_wmi_dot11_hdr_remove(struct wmi *wmi, struct sk_buff *skb)
449449

450450
/*
451451
* Performs 802.3 to DIX encapsulation for received packets.
452-
* Assumes the entire 802.3 header is contigous.
452+
* Assumes the entire 802.3 header is contiguous.
453453
*/
454454
int ath6kl_wmi_dot3_2_dix(struct sk_buff *skb)
455455
{

drivers/usb/gadget/udc/bdc/bdc.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ struct bdc_sr {
290290
__le32 offset[4];
291291
};
292292

293-
/* bd_table: contigous bd's in a table */
293+
/* bd_table: contiguous bd's in a table */
294294
struct bd_table {
295295
struct bdc_bd *start_bd;
296296
/* dma address of start bd of table*/

fs/ocfs2/ocfs2_fs.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
/* Refcount tree support */
169169
#define OCFS2_FEATURE_INCOMPAT_REFCOUNT_TREE 0x1000
170170

171-
/* Discontigous block groups */
171+
/* Discontiguous block groups */
172172
#define OCFS2_FEATURE_INCOMPAT_DISCONTIG_BG 0x2000
173173

174174
/*
@@ -939,7 +939,7 @@ struct ocfs2_group_desc
939939
/*
940940
* Block groups may be discontiguous when
941941
* OCFS2_FEATURE_INCOMPAT_DISCONTIG_BG is set.
942-
* The extents of a discontigous block group are
942+
* The extents of a discontiguous block group are
943943
* stored in bg_list. It is a flat list.
944944
* l_tree_depth must always be zero. A
945945
* discontiguous group is signified by a non-zero

include/media/videobuf-core.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct videobuf_queue;
3737
*
3838
* about the mmap helpers (videobuf_mmap_*):
3939
*
40-
* The mmaper function allows to map any subset of contingous buffers.
40+
* The mmaper function allows to map any subset of contiguous buffers.
4141
* This includes one mmap() call for all buffers (which the original
4242
* video4linux API uses) as well as one mmap() for every single buffer
4343
* (which v4l2 uses).

mm/nommu.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,12 @@ long vwrite(char *buf, char *addr, unsigned long count)
324324
}
325325

326326
/*
327-
* vmalloc - allocate virtually continguos memory
327+
* vmalloc - allocate virtually contiguous memory
328328
*
329329
* @size: allocation size
330330
*
331331
* Allocate enough pages to cover @size from the page level
332-
* allocator and map them into continguos kernel virtual space.
332+
* allocator and map them into contiguous kernel virtual space.
333333
*
334334
* For tight control over page level allocator and protection flags
335335
* use __vmalloc() instead.
@@ -341,12 +341,12 @@ void *vmalloc(unsigned long size)
341341
EXPORT_SYMBOL(vmalloc);
342342

343343
/*
344-
* vzalloc - allocate virtually continguos memory with zero fill
344+
* vzalloc - allocate virtually contiguous memory with zero fill
345345
*
346346
* @size: allocation size
347347
*
348348
* Allocate enough pages to cover @size from the page level
349-
* allocator and map them into continguos kernel virtual space.
349+
* allocator and map them into contiguous kernel virtual space.
350350
* The memory allocated is set to zero.
351351
*
352352
* For tight control over page level allocator and protection flags
@@ -420,7 +420,7 @@ void *vmalloc_exec(unsigned long size)
420420
* @size: allocation size
421421
*
422422
* Allocate enough 32bit PA addressable pages to cover @size from the
423-
* page level allocator and map them into continguos kernel virtual space.
423+
* page level allocator and map them into contiguous kernel virtual space.
424424
*/
425425
void *vmalloc_32(unsigned long size)
426426
{

0 commit comments

Comments
 (0)