Skip to content

Commit e6ebf0d

Browse files
committed
s390: Fix various typos
Run codespell on arch/s390 and drivers/s390 and fix all typos. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent 8c58a22 commit e6ebf0d

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

arch/s390/boot/startup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ void startup_kernel(void)
480480
* __vmlinux_relocs_64_end as the lower range address. However,
481481
* .amode31 section is written to by the decompressed kernel - at
482482
* that time the contents of .vmlinux.relocs is not needed anymore.
483-
* Conversly, .vmlinux.relocs is read only by the decompressor, even
483+
* Conversely, .vmlinux.relocs is read only by the decompressor, even
484484
* before the kernel started. Therefore, in case the two sections
485485
* overlap there is no risk of corrupting any data.
486486
*/

arch/s390/include/uapi/asm/dasd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ struct dasd_snid_ioctl_data {
294294
/********************************************************************************
295295
* SECTION: Definition of IOCTLs
296296
*
297-
* Here ist how the ioctl-nr should be used:
297+
* Here is how the ioctl-nr should be used:
298298
* 0 - 31 DASD driver itself
299299
* 32 - 239 still open
300300
* 240 - 255 reserved for EMC

arch/s390/kernel/debug.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838

3939
typedef struct file_private_info {
4040
loff_t offset; /* offset of last read in file */
41-
int act_area; /* number of last formated area */
41+
int act_area; /* number of last formatted area */
4242
int act_page; /* act page in given area */
43-
int act_entry; /* last formated entry (offset */
43+
int act_entry; /* last formatted entry (offset */
4444
/* relative to beginning of last */
45-
/* formated page) */
45+
/* formatted page) */
4646
size_t act_entry_offset; /* up to this offset we copied */
47-
/* in last read the last formated */
47+
/* in last read the last formatted */
4848
/* entry to userland */
4949
char temp_buf[2048]; /* buffer for output */
5050
debug_info_t *debug_info_org; /* original debug information */
@@ -63,7 +63,7 @@ typedef struct {
6363
long args[];
6464
} debug_sprintf_entry_t;
6565

66-
/* internal function prototyes */
66+
/* internal function prototypes */
6767

6868
static int debug_init(void);
6969
static ssize_t debug_output(struct file *file, char __user *user_buf,
@@ -380,7 +380,7 @@ static void debug_info_put(debug_info_t *db_info)
380380

381381
/*
382382
* debug_format_entry:
383-
* - format one debug entry and return size of formated data
383+
* - format one debug entry and return size of formatted data
384384
*/
385385
static int debug_format_entry(file_private_info_t *p_info)
386386
{
@@ -449,7 +449,7 @@ static inline int debug_next_entry(file_private_info_t *p_info)
449449
/*
450450
* debug_output:
451451
* - called for user read()
452-
* - copies formated debug entries to the user buffer
452+
* - copies formatted debug entries to the user buffer
453453
*/
454454
static ssize_t debug_output(struct file *file, /* file descriptor */
455455
char __user *user_buf, /* user buffer */
@@ -523,7 +523,7 @@ static ssize_t debug_input(struct file *file, const char __user *user_buf,
523523
/*
524524
* debug_open:
525525
* - called for user open()
526-
* - copies formated output to private_data area of the file
526+
* - copies formatted output to private_data area of the file
527527
* handle
528528
*/
529529
static int debug_open(struct inode *inode, struct file *file)
@@ -1513,7 +1513,7 @@ int debug_dflt_header_fn(debug_info_t *id, struct debug_view *view,
15131513
EXPORT_SYMBOL(debug_dflt_header_fn);
15141514

15151515
/*
1516-
* prints debug data sprintf-formated:
1516+
* prints debug data sprintf-formatted:
15171517
* debug_sprinf_event/exception calls must be used together with this view
15181518
*/
15191519

arch/s390/kernel/os_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ static void os_info_old_init(void)
180180
}
181181

182182
/*
183-
* Return pointer to os infor entry and its size
183+
* Return pointer to os info entry and its size
184184
*/
185185
void *os_info_old_entry(int nr, unsigned long *size)
186186
{

arch/s390/kernel/perf_cpum_cf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ static void cpumf_pmu_del(struct perf_event *event, int flags)
10541054
*
10551055
* When a new perf event has been added but not yet started, this can
10561056
* clear enable control and resets all counters in a set. Therefore,
1057-
* cpumf_pmu_start() always has to reenable a counter set.
1057+
* cpumf_pmu_start() always has to re-enable a counter set.
10581058
*/
10591059
for (i = CPUMF_CTR_SET_BASIC; i < CPUMF_CTR_SET_MAX; ++i)
10601060
if (!atomic_read(&cpuhw->ctr_set[i]))
@@ -1863,7 +1863,7 @@ static const struct attribute_group *cfdiag_attr_groups[] = {
18631863
/* Performance monitoring unit for event CF_DIAG. Since this event
18641864
* is also started and stopped via the perf_event_open() system call, use
18651865
* the same event enable/disable call back functions. They do not
1866-
* have a pointer to the perf_event strcture as first parameter.
1866+
* have a pointer to the perf_event structure as first parameter.
18671867
*
18681868
* The functions XXX_add, XXX_del, XXX_start and XXX_stop are also common.
18691869
* Reuse them and distinguish the event (always first parameter) via

arch/s390/kvm/pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static int zpci_reset_aipb(u8 nisc)
103103
/*
104104
* AEN registration can only happen once per system boot. If
105105
* an aipb already exists then AEN was already registered and
106-
* we can re-use the aipb contents. This can only happen if
106+
* we can reuse the aipb contents. This can only happen if
107107
* the KVM module was removed and re-inserted. However, we must
108108
* ensure that the same forwarding ISC is used as this is assigned
109109
* during KVM module load.

arch/s390/mm/pgtable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ static inline void pudp_idte_global(struct mm_struct *mm,
525525
else
526526
/*
527527
* Invalid bit position is the same for pmd and pud, so we can
528-
* re-use _pmd_csp() here
528+
* reuse _pmd_csp() here
529529
*/
530530
__pmdp_csp((pmd_t *) pudp);
531531
}

arch/s390/purgatory/head.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ SYM_CODE_START(purgatory_start)
156156
agr %r10,%r9
157157

158158
/* Buffer location (in crash memory) and size. As the purgatory is
159-
* behind the point of no return it can re-use the stack as buffer.
159+
* behind the point of no return it can reuse the stack as buffer.
160160
*/
161161
larl %r11,purgatory_end
162162
larl %r12,stack

0 commit comments

Comments
 (0)