From 86ce85b3a6b7c5c55da629d274a9089abe9c16e9 Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Wed, 10 Sep 2025 10:12:52 +0000 Subject: [PATCH] zipl/boot: Fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Mikhail Zaslonko Reviewed-by: Stefan Haberland Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- zipl/boot/cio.h | 2 +- zipl/boot/eckd2dump_sv.c | 2 +- zipl/boot/eckd2dump_zlib.c | 2 +- zipl/boot/sclp_stage3.c | 2 +- zipl/boot/stage2dump.c | 4 ++-- zipl/boot/tape0.S | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/zipl/boot/cio.h b/zipl/boot/cio.h index b73f1316..67e9c181 100644 --- a/zipl/boot/cio.h +++ b/zipl/boot/cio.h @@ -93,7 +93,7 @@ struct pmcw { uint32_t intparm; /* interruption parameter */ uint32_t qf:1; uint32_t w:1; - uint32_t isc:3; /* interruption sublass */ + uint32_t isc:3; /* interruption subclass */ uint32_t res5:3; /* reserved zeros */ uint32_t ena:1; /* enabled */ uint32_t lm:2; /* limit mode */ diff --git a/zipl/boot/eckd2dump_sv.c b/zipl/boot/eckd2dump_sv.c index 2ee132b0..5823cd95 100644 --- a/zipl/boot/eckd2dump_sv.c +++ b/zipl/boot/eckd2dump_sv.c @@ -102,7 +102,7 @@ static unsigned long dt_dump_mem_compressed(unsigned long addr, if (zlib_deflateInit2(&strm, 1, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY) != Z_OK) { /* - * Could not allocate or initialyze a workarea for zlib deflate, + * Could not allocate or initialize a workarea for zlib deflate, * continue dumping without compression. */ printf("Deflate initialization failed! Dumping without compression"); diff --git a/zipl/boot/eckd2dump_zlib.c b/zipl/boot/eckd2dump_zlib.c index 61b35897..b85b8ed8 100644 --- a/zipl/boot/eckd2dump_zlib.c +++ b/zipl/boot/eckd2dump_zlib.c @@ -159,7 +159,7 @@ unsigned long write_compressed_dump_segment(unsigned long blk, segm->entry_count++; segm->entry_offset[i] = (uint32_t)offset; /* - * Compression was ineffective or compression error ocurred, + * Compression was ineffective or compression error occurred, * data chunk has benn written uncompressed. */ if (rc == UNCOMPRESSED || rc == COMPRESSION_ERROR) diff --git a/zipl/boot/sclp_stage3.c b/zipl/boot/sclp_stage3.c index 9acb6700..a97edfa0 100644 --- a/zipl/boot/sclp_stage3.c +++ b/zipl/boot/sclp_stage3.c @@ -145,7 +145,7 @@ void sclp_hsa_copy_init(void *dest_addr) __sclp_hsa_copy(sccb, dest_addr, 2, 1); /* Check buffer that was filled by sclp_hsa_copy */ if (sccb->evbuf.event_status != 0) { - /* Use synchonous mode */ + /* Use synchronous mode */ hsa_sync_mode = 1; free_page((unsigned long) sccb); return; diff --git a/zipl/boot/stage2dump.c b/zipl/boot/stage2dump.c index 9a40cf35..260ffed1 100644 --- a/zipl/boot/stage2dump.c +++ b/zipl/boot/stage2dump.c @@ -157,7 +157,7 @@ unsigned long find_dump_segment(unsigned long start, unsigned long end, unsigned long addr, limit; memset(dump_segm, 0, sizeof(*dump_segm)); - /* Check the input values for MB alingment */ + /* Check the input values for MB alignment */ if (!IS_ALIGNED(start, MIB) || !IS_ALIGNED(max_len, MIB)) panic(EINTERNAL, "start or max_len not MB aligned"); /* Search for dump segment start */ @@ -298,7 +298,7 @@ static void copy_lowcore_64(void) prefix = S390_lowcore.prefixreg_save_area; - /* Need memcpy because of aligment problem of members */ + /* Need memcpy because of alignment problem of members */ memcpy(&cpu_cnt, real_cpu_cnt_ptr, sizeof(cpu_cnt)); cpu_cnt++; memcpy(real_cpu_cnt_ptr, &cpu_cnt, sizeof(cpu_cnt)); diff --git a/zipl/boot/tape0.S b/zipl/boot/tape0.S index 8a068897..8722273d 100644 --- a/zipl/boot/tape0.S +++ b/zipl/boot/tape0.S @@ -208,7 +208,7 @@ iplstart: clc 0(3,%r12),.L_hdr # if it is HDRx bz .Lagain0 # skip dataset header clc 0(3,%r12),.L_eof # if it is EOFx - bz .Lagain0 # skip dateset trailer + bz .Lagain0 # skip dataset trailer st %r2,.Lkernsize # store size for later use @@ -247,7 +247,7 @@ iplstart: clc 0(3,%r4),.L_hdr # if it is HDRx bz .Lagain1 # skip dataset header clc 0(3,%r4),.L_eof # if it is EOFx - bz .Lagain1 # skip dateset trailer + bz .Lagain1 # skip dataset trailer l %r3,MAX_COMMAND_LINE_SIZE-PARMAREA+4(%r12) ltr %r3,%r3