Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 183ff22b authored by Simon Arlott's avatar Simon Arlott Committed by Adrian Bunk
Browse files

spelling fixes: mm/



Spelling fixes in mm/.

Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent 676b1855
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1017,7 +1017,7 @@ static long region_chg(struct list_head *head, long f, long t)


	/* If we are below the current region then a new region is required.
	/* If we are below the current region then a new region is required.
	 * Subtle, allocate a new region at the position but make it zero
	 * Subtle, allocate a new region at the position but make it zero
	 * size such that we can guarentee to record the reservation. */
	 * size such that we can guarantee to record the reservation. */
	if (&rg->link == head || t < rg->from) {
	if (&rg->link == head || t < rg->from) {
		nrg = kmalloc(sizeof(*nrg), GFP_KERNEL);
		nrg = kmalloc(sizeof(*nrg), GFP_KERNEL);
		if (!nrg)
		if (!nrg)
+1 −1
Original line number Original line Diff line number Diff line
@@ -2713,7 +2713,7 @@ int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, in
		return 0;
		return 0;


	down_read(&mm->mmap_sem);
	down_read(&mm->mmap_sem);
	/* ignore errors, just check how much was sucessfully transfered */
	/* ignore errors, just check how much was successfully transferred */
	while (len) {
	while (len) {
		int bytes, ret, offset;
		int bytes, ret, offset;
		void *maddr;
		void *maddr;
+1 −1
Original line number Original line Diff line number Diff line
@@ -121,7 +121,7 @@ int __add_pages(struct zone *zone, unsigned long phys_start_pfn,
		err = __add_section(zone, i << PFN_SECTION_SHIFT);
		err = __add_section(zone, i << PFN_SECTION_SHIFT);


		/*
		/*
		 * EEXIST is finally dealed with by ioresource collision
		 * EEXIST is finally dealt with by ioresource collision
		 * check. see add_memory() => register_memory_resource()
		 * check. see add_memory() => register_memory_resource()
		 * Warning will be printed if there is collision.
		 * Warning will be printed if there is collision.
		 */
		 */
+1 −1
Original line number Original line Diff line number Diff line
@@ -299,7 +299,7 @@ EXPORT_SYMBOL(mempool_free_slab);


/*
/*
 * A commonly used alloc and free fn that kmalloc/kfrees the amount of memory
 * A commonly used alloc and free fn that kmalloc/kfrees the amount of memory
 * specfied by pool_data
 * specified by pool_data
 */
 */
void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data)
void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data)
{
{
+1 −1
Original line number Original line Diff line number Diff line
@@ -989,7 +989,7 @@ int __set_page_dirty_no_writeback(struct page *page)
 * mapping is pinned by the vma's ->vm_file reference.
 * mapping is pinned by the vma's ->vm_file reference.
 *
 *
 * We take care to handle the case where the page was truncated from the
 * We take care to handle the case where the page was truncated from the
 * mapping by re-checking page_mapping() insode tree_lock.
 * mapping by re-checking page_mapping() inside tree_lock.
 */
 */
int __set_page_dirty_nobuffers(struct page *page)
int __set_page_dirty_nobuffers(struct page *page)
{
{
Loading