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

Commit 550116d2 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Torvalds
Browse files

scripts/spelling.txt: add "aligment" pattern and fix typo instances

Fix typos and add the following to the scripts/spelling.txt:

  aligment||alignment

I did not touch the "N_BYTE_ALIGMENT" macro in
drivers/net/wireless/realtek/rtlwifi/wifi.h to avoid unpredictable
impact.

I fixed "_aligment_handler" in arch/openrisc/kernel/entry.S because
it is surrounded by #if 0 ... #endif.  It is surely safe and I
confirmed "_alignment_handler" is correct.

I also fixed the "controler" I found in the same hunk in
arch/openrisc/kernel/head.S.

Link: http://lkml.kernel.org/r/1481573103-11329-8-git-send-email-yamada.masahiro@socionext.com


Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8ab102d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1051,9 +1051,9 @@ int arc_unwind(struct unwind_frame_info *frame)
		++ptr;
	}
	if (cie != NULL) {
		/* get code aligment factor */
		/* get code alignment factor */
		state.codeAlign = get_uleb128(&ptr, end);
		/* get data aligment factor */
		/* get data alignment factor */
		state.dataAlign = get_sleb128(&ptr, end);
		if (state.codeAlign == 0 || state.dataAlign == 0 || ptr >= end)
			cie = NULL;
+2 −2
Original line number Diff line number Diff line
@@ -319,7 +319,7 @@ EXCEPTION_ENTRY(_timer_handler)
	l.j    _ret_from_intr
	 l.nop

/* ---[ 0x600: Aligment exception ]-------------------------------------- */
/* ---[ 0x600: Alignment exception ]-------------------------------------- */

EXCEPTION_ENTRY(_alignment_handler)
	CLEAR_LWA_FLAG(r3)
@@ -331,7 +331,7 @@ EXCEPTION_ENTRY(_alignment_handler)
	 l.nop

#if 0
EXCEPTION_ENTRY(_aligment_handler)
EXCEPTION_ENTRY(_alignment_handler)
//        l.mfspr r2,r0,SPR_EEAR_BASE     /* Load the efective addres */
	l.addi	r2,r4,0
//        l.mfspr r5,r0,SPR_EPCR_BASE     /* Load the insn address */
+3 −3
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ _dispatch_do_ipage_fault:
    .org 0x500
	EXCEPTION_HANDLE(_timer_handler)

/* ---[ 0x600: Aligment exception ]-------------------------------------- */
/* ---[ 0x600: Alignment exception ]-------------------------------------- */
    .org 0x600
	EXCEPTION_HANDLE(_alignment_handler)

@@ -640,8 +640,8 @@ _flush_tlb:

/* ========================================[ cache ]=== */

	/* aligment here so we don't change memory offsets with
	 * memory controler defined
	/* alignment here so we don't change memory offsets with
	 * memory controller defined
	 */
	.align 0x2000

+2 −2
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@

/* TODO
 *		- clean up __offset & stuff
 *		- change all 8192 aligment to PAGE !!!
 *		- recheck if all aligments are really needed
 *		- change all 8192 alignment to PAGE !!!
 *		- recheck if all alignments are really needed
 */

#  define LOAD_OFFSET  PAGE_OFFSET
+3 −3
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@
#define HW_ASSISTED_I2C_STATUS_FAILURE     2
#define HW_ASSISTED_I2C_STATUS_SUCCESS     1

#pragma pack(1)                                       // BIOS data must use byte aligment
#pragma pack(1)                                       // BIOS data must use byte alignment

// Define offset to location of ROM header.
#define OFFSET_TO_POINTER_TO_ATOM_ROM_HEADER         0x00000048L
@@ -9180,7 +9180,7 @@ typedef struct _ATOM_POWERPLAY_INFO_V3

/*********************************************************************************/

#pragma pack() // BIOS data must use byte aligment
#pragma pack() // BIOS data must use byte alignment

#pragma pack(1)

@@ -9211,7 +9211,7 @@ typedef struct _ATOM_SERVICE_INFO



#pragma pack() // BIOS data must use byte aligment
#pragma pack() // BIOS data must use byte alignment

//
// AMD ACPI Table
Loading