Fix a few misspellings in comments

Reported by kernel's checkpatch.pl script.
This commit is contained in:
Дмитрий Левин 2017-06-16 22:54:04 +00:00
parent 3d42386923
commit 7f2b636a22
7 changed files with 8 additions and 8 deletions

4
NEWS
View File

@ -847,7 +847,7 @@ Changes in 4.4
==============
* Fix Linux/ia64 support, looks like someone renamed a few things on us
* Fix the ioctl setup for Linux, turned out it did not really work.
Improve the ioctl extracter as well so we decode some more ones.
Improve the ioctl extractor as well so we decode some more ones.
Changes in 4.3.1
================
@ -939,7 +939,7 @@ New Features in version 3.0
===========================
* non-ascii strings can be optionally printed entirely in hex
* the output format is readable when mutiple processes are generating output
* the output format is readable when multiple processes are generating output
* exit values are printed in an alignment column
* is is possible to suppress messages about attaching and detaching
* various tracing features can be enabled on a per syscall/signal/desc basis

View File

@ -90,7 +90,7 @@ struct ptp_sys_offset {
#define PTP_SYS_OFFSET _IOW(PTP_CLK_MAGIC, 5, struct ptp_sys_offset)
struct ptp_extts_event {
struct ptp_clock_time t; /* Time event occured. */
struct ptp_clock_time t; /* Time event occurred. */
unsigned int index; /* Which channel produced the event. */
unsigned int flags; /* Reserved for future use. */
unsigned int rsv[2]; /* Reserved for future use. */

View File

@ -2413,7 +2413,7 @@ next_event(int *pstatus, siginfo_t *si)
* Is this post-attach SIGSTOP?
* Interestingly, the process may stop
* with STOPSIG equal to some other signal
* than SIGSTOP if we happend to attach
* than SIGSTOP if we happened to attach
* just before the process takes a signal.
*/
if (sig == SIGSTOP && (tcp->flags & TCB_IGNORE_ONE_SIGSTOP)) {

View File

@ -847,7 +847,7 @@ syscall_exiting_trace(struct tcb *tcp, struct timeval tv, int res)
/* FIXME: not_failing_only (IOW, option -z) is broken:
* failure of syscall is known only after syscall return.
* Thus we end up with something like this on, say, ENOENT:
* open("doesnt_exist", O_RDONLY <unfinished ...>
* open("does_not_exist", O_RDONLY <unfinished ...>
* {next syscall decode}
* whereas the intended result is that open(...) line
* is not shown at all.

View File

@ -1,7 +1,7 @@
/*
* This demonstrates races: kernel may actually open other file
* than you read in the strace output.
* If you see a successfull open of /etc/shadow,
* If you see a successful open of /etc/shadow,
* you know you've seen a race.
*
* $ gcc -Wall -O0 skodic.c -o skodic

View File

@ -73,7 +73,7 @@ struct u64_val_str {
const char *str;
};
/* In order to avoid endianess-specific hackery */
/* In order to avoid endianness-specific hackery. */
struct pea_flags {
uint64_t disabled :1,
inherit :1,

View File

@ -66,7 +66,7 @@ void skip_if_unavailable(const char *);
/*
* Allocate memory that ends on the page boundary.
* Pages allocated by this call are preceeded by an unmapped page
* Pages allocated by this call are preceded by an unmapped page
* and followed also by an unmapped page.
*/
void *tail_alloc(const size_t)