Skip to content

Commit 7f2b636

Browse files
committed
Fix a few misspellings in comments
Reported by kernel's checkpatch.pl script.
1 parent 3d42386 commit 7f2b636

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

NEWS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ Changes in 4.4
847847
==============
848848
* Fix Linux/ia64 support, looks like someone renamed a few things on us
849849
* Fix the ioctl setup for Linux, turned out it did not really work.
850-
Improve the ioctl extracter as well so we decode some more ones.
850+
Improve the ioctl extractor as well so we decode some more ones.
851851

852852
Changes in 4.3.1
853853
================
@@ -939,7 +939,7 @@ New Features in version 3.0
939939
===========================
940940

941941
* non-ascii strings can be optionally printed entirely in hex
942-
* the output format is readable when mutiple processes are generating output
942+
* the output format is readable when multiple processes are generating output
943943
* exit values are printed in an alignment column
944944
* is is possible to suppress messages about attaching and detaching
945945
* various tracing features can be enabled on a per syscall/signal/desc basis

linux/ptp_clock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ struct ptp_sys_offset {
9090
#define PTP_SYS_OFFSET _IOW(PTP_CLK_MAGIC, 5, struct ptp_sys_offset)
9191

9292
struct ptp_extts_event {
93-
struct ptp_clock_time t; /* Time event occured. */
93+
struct ptp_clock_time t; /* Time event occurred. */
9494
unsigned int index; /* Which channel produced the event. */
9595
unsigned int flags; /* Reserved for future use. */
9696
unsigned int rsv[2]; /* Reserved for future use. */

strace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,7 @@ next_event(int *pstatus, siginfo_t *si)
24132413
* Is this post-attach SIGSTOP?
24142414
* Interestingly, the process may stop
24152415
* with STOPSIG equal to some other signal
2416-
* than SIGSTOP if we happend to attach
2416+
* than SIGSTOP if we happened to attach
24172417
* just before the process takes a signal.
24182418
*/
24192419
if (sig == SIGSTOP && (tcp->flags & TCB_IGNORE_ONE_SIGSTOP)) {

syscall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ syscall_exiting_trace(struct tcb *tcp, struct timeval tv, int res)
847847
/* FIXME: not_failing_only (IOW, option -z) is broken:
848848
* failure of syscall is known only after syscall return.
849849
* Thus we end up with something like this on, say, ENOENT:
850-
* open("doesnt_exist", O_RDONLY <unfinished ...>
850+
* open("does_not_exist", O_RDONLY <unfinished ...>
851851
* {next syscall decode}
852852
* whereas the intended result is that open(...) line
853853
* is not shown at all.

test/skodic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This demonstrates races: kernel may actually open other file
33
* than you read in the strace output.
4-
* If you see a successfull open of /etc/shadow,
4+
* If you see a successful open of /etc/shadow,
55
* you know you've seen a race.
66
*
77
* $ gcc -Wall -O0 skodic.c -o skodic

tests/perf_event_open.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct u64_val_str {
7373
const char *str;
7474
};
7575

76-
/* In order to avoid endianess-specific hackery */
76+
/* In order to avoid endianness-specific hackery. */
7777
struct pea_flags {
7878
uint64_t disabled :1,
7979
inherit :1,

tests/tests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void skip_if_unavailable(const char *);
6666

6767
/*
6868
* Allocate memory that ends on the page boundary.
69-
* Pages allocated by this call are preceeded by an unmapped page
69+
* Pages allocated by this call are preceded by an unmapped page
7070
* and followed also by an unmapped page.
7171
*/
7272
void *tail_alloc(const size_t)

0 commit comments

Comments
 (0)