@@ -23,7 +23,7 @@
is used which is setup by the platform code.
This file is never modular so this symbol is always
- accessile to the board support files.
+ accessible to the board support files.
*/
struct scoop_pcmcia_config *platform_scoop_config;
EXPORT_SYMBOL(platform_scoop_config);
@@ -861,7 +861,7 @@ static void __init request_standard_resources(const struct machine_desc *mdesc)
/*
* In memblock, end points to the first byte after the
- * range while in resourses, end points to the last byte in
+ * range while in resources, end points to the last byte in
* the range.
*/
res_end = end - 1;
@@ -27,7 +27,7 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
return -EINVAL;
/*
- * Function graph tracer state gets incosistent when the kernel
+ * Function graph tracer state gets inconsistent when the kernel
* calls functions that never return (aka suspend finishers) hence
* disable graph tracing during their execution.
*/
@@ -474,7 +474,7 @@ asmlinkage long sys_oabi_sendmsg(int fd, struct user_msghdr __user *msg, unsigne
* we should do for what is actually a transitional
* compatibility layer. This already has known flaws with
* a few ioctls that we don't intend to fix. Therefore
- * consider this blatent hack as another one... and take care
+ * consider this blatant hack as another one... and take care
* to run for cover. In most cases it will "just work fine".
* If it doesn't, well, tough.
*/
@@ -120,7 +120,7 @@ static const struct unwind_idx *search_index(unsigned long addr,
/* positive offsets: [origin; stop) */
start = origin;
- /* prel31 for address relavive to start */
+ /* prel31 for address relative to start */
addr_prel31 = (addr - (unsigned long)start) & 0x7fffffff;
while (start < stop - 1) {
@@ -68,7 +68,7 @@ struct elfinfo {
};
/* Cached result of boot-time check for whether the arch timer exists,
- * and if so, whether the virtual counter is useable.
+ * and if so, whether the virtual counter is usable.
*/
bool cntvct_ok __ro_after_init;
@@ -932,7 +932,7 @@ static u32 cache_id_part_number_from_dt;
/**
* l2x0_cache_size_of_parse() - read cache size parameters from DT
* @np: the device tree node for the l2 cache
- * @aux_val: pointer to machine-supplied auxilary register value, to
+ * @aux_val: pointer to machine-supplied auxiliary register value, to
* be augmented by the call (bits to be set to 1)
* @aux_mask: pointer to machine-supplied auxilary register mask, to
* be augmented by the call (bits to be set to 0)
@@ -1380,7 +1380,7 @@ static void aurora_pa_range(unsigned long start, unsigned long end,
unsigned long flags;
/*
- * round start and end adresses up to cache line size
+ * round start and end addresses up to cache line size
*/
start &= ~(CACHE_LINE_SIZE - 1);
end = ALIGN(end, CACHE_LINE_SIZE);
@@ -454,7 +454,7 @@ do_translation_fault(unsigned long addr, unsigned int fsr,
* On ARM one Linux PGD entry contains two hardware entries (see page
* tables layout in pgtable.h). We normally guarantee that we always
* fill both L1 entries. But create_mapping() doesn't follow the rule.
- * It can create inidividual L1 entries, so here we have to call
+ * It can create individual L1 entries, so here we have to call
* pmd_none() check for the entry really corresponded to address, not
* for the first of pair.
*/
@@ -426,7 +426,7 @@ probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi,
* stack_space is initialized to 0 here. Checker functions
* should update is value if they find this is a stack store
* instruction: positive value means bytes of stack usage,
- * negitive value means unable to determine stack usage
+ * negative value means unable to determine stack usage
* statically. For instruction doesn't store to stack, checker
* do nothing with it.
*/
@@ -216,7 +216,7 @@ int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *or
* (0xff800000 << 2) = 0xfe000000 = -0x2000000
*
* We can simply check (rel & 0xfe000003):
- * if rel is positive, (rel & 0xfe000000) shoule be 0
+ * if rel is positive, (rel & 0xfe000000) should be 0
* if rel is negitive, (rel & 0xfe000000) should be 0xfe000000
* the last '3' is used for alignment checking.
*/
@@ -309,7 +309,7 @@ void __kprobes arch_optimize_kprobes(struct list_head *oplist)
/*
* Make it a conditional branch if replaced insn
- * is consitional
+ * is conditional
*/
insn = (__mem_to_opcode_arm(
op->optinsn.copied_insn[0]) & 0xf0000000) |
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> --- arch/arm/common/scoop.c | 2 +- arch/arm/kernel/setup.c | 2 +- arch/arm/kernel/suspend.c | 2 +- arch/arm/kernel/sys_oabi-compat.c | 2 +- arch/arm/kernel/unwind.c | 2 +- arch/arm/kernel/vdso.c | 2 +- arch/arm/mm/cache-l2x0.c | 4 ++-- arch/arm/mm/fault.c | 2 +- arch/arm/probes/decode.c | 2 +- arch/arm/probes/kprobes/opt-arm.c | 4 ++-- 10 files changed, 12 insertions(+), 12 deletions(-)