* [PATCH] doc: fix some typos in documentations
@ 2013-09-18 3:45 Xishi Qiu
2013-10-01 10:24 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Xishi Qiu @ 2013-09-18 3:45 UTC (permalink / raw)
To: rob, johannes, Andrew Morton; +Cc: linux-doc, LKML, linux-wireless, Xishi Qiu
Fix some typos in five documentations, no functional change.
Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
---
Documentation/md.txt | 2 +-
Documentation/rfkill.txt | 2 +-
Documentation/rt-mutex-design.txt | 2 +-
Documentation/static-keys.txt | 4 ++--
Documentation/sysfs-rules.txt | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/md.txt b/Documentation/md.txt
index fbb2fcb..f925666 100644
--- a/Documentation/md.txt
+++ b/Documentation/md.txt
@@ -533,7 +533,7 @@ also have
found. The count in 'mismatch_cnt' is the number of sectors
that were re-written, or (for 'check') would have been
re-written. As most raid levels work in units of pages rather
- than sectors, this my be larger than the number of actual errors
+ than sectors, this may be larger than the number of actual errors
by a factor of the number of sectors in a page.
bitmap_set_bits
diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt
index 03c9d92..f430004 100644
--- a/Documentation/rfkill.txt
+++ b/Documentation/rfkill.txt
@@ -71,7 +71,7 @@ To create an rfkill driver, driver's Kconfig needs to have
depends on RFKILL || !RFKILL
to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL
-case allows the driver to be built when rfkill is not configured, which which
+case allows the driver to be built when rfkill is not configured, which
case all rfkill API can still be used but will be provided by static inlines
which compile to almost nothing.
diff --git a/Documentation/rt-mutex-design.txt b/Documentation/rt-mutex-design.txt
index a5bcd7f..8666070 100644
--- a/Documentation/rt-mutex-design.txt
+++ b/Documentation/rt-mutex-design.txt
@@ -30,7 +30,7 @@ is something called unbounded priority inversion. That is when the high
priority process is prevented from running by a lower priority process for
an undetermined amount of time.
-The classic example of unbounded priority inversion is were you have three
+The classic example of unbounded priority inversion is where you have three
processes, let's call them processes A, B, and C, where A is the highest
priority process, C is the lowest, and B is in between. A tries to grab a lock
that C owns and must wait and lets C run to release the lock. But in the
diff --git a/Documentation/static-keys.txt b/Documentation/static-keys.txt
index 9f5263d..c4407a4 100644
--- a/Documentation/static-keys.txt
+++ b/Documentation/static-keys.txt
@@ -116,7 +116,7 @@ The branch(es) can then be switched via:
static_key_slow_dec(&key);
Thus, 'static_key_slow_inc()' means 'make the branch true', and
-'static_key_slow_dec()' means 'make the the branch false' with appropriate
+'static_key_slow_dec()' means 'make the branch false' with appropriate
reference counting. For example, if the key is initialized true, a
static_key_slow_dec(), will switch the branch to false. And a subsequent
static_key_slow_inc(), will change the branch back to true. Likewise, if the
@@ -236,7 +236,7 @@ label case adds:
If we then include the padding bytes, the jump label code saves, 16 total bytes
of instruction memory for this small function. In this case the non-jump label
-function is 80 bytes long. Thus, we have have saved 20% of the instruction
+function is 80 bytes long. Thus, we have saved 20% of the instruction
footprint. We can in fact improve this even further, since the 5-byte no-op
really can be a 2-byte no-op since we can reach the branch with a 2-byte jmp.
However, we have not yet implemented optimal no-op sizes (they are currently
diff --git a/Documentation/sysfs-rules.txt b/Documentation/sysfs-rules.txt
index c1a1fd6..a5f985e 100644
--- a/Documentation/sysfs-rules.txt
+++ b/Documentation/sysfs-rules.txt
@@ -47,7 +47,7 @@ versions of the sysfs interface.
at device creation and removal
- the unique key to the device at that point in time
- the kernel's path to the device directory without the leading
- /sys, and always starting with with a slash
+ /sys, and always starting with a slash
- all elements of a devpath must be real directories. Symlinks
pointing to /sys/devices must always be resolved to their real
target and the target path must be used to access the device.
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] doc: fix some typos in documentations
2013-09-18 3:45 [PATCH] doc: fix some typos in documentations Xishi Qiu
@ 2013-10-01 10:24 ` Johannes Berg
2013-10-08 1:52 ` Xishi Qiu
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2013-10-01 10:24 UTC (permalink / raw)
To: Xishi Qiu; +Cc: rob, Andrew Morton, linux-doc, LKML, linux-wireless
On Wed, 2013-09-18 at 11:45 +0800, Xishi Qiu wrote:
>
> to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL
> -case allows the driver to be built when rfkill is not configured, which which
> +case allows the driver to be built when rfkill is not configured, which
> case all rfkill API can still be used but will be provided by static inlines
> which compile to almost nothing.
It looks like this was intended to say "in which" instead of the "which
which" you remove, rather than just "which".
johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] doc: fix some typos in documentations
2013-10-01 10:24 ` Johannes Berg
@ 2013-10-08 1:52 ` Xishi Qiu
0 siblings, 0 replies; 3+ messages in thread
From: Xishi Qiu @ 2013-10-08 1:52 UTC (permalink / raw)
To: Johannes Berg; +Cc: rob, Andrew Morton, linux-doc, LKML, linux-wireless
On 2013/10/1 18:24, Johannes Berg wrote:
> On Wed, 2013-09-18 at 11:45 +0800, Xishi Qiu wrote:
>>
>> to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL
>> -case allows the driver to be built when rfkill is not configured, which which
>> +case allows the driver to be built when rfkill is not configured, which
>> case all rfkill API can still be used but will be provided by static inlines
>> which compile to almost nothing.
>
> It looks like this was intended to say "in which" instead of the "which
> which" you remove, rather than just "which".
>
> johannes
>
Yes, "in which" seems to be better.
Thanks,
Xishi Qiu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-08 1:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-18 3:45 [PATCH] doc: fix some typos in documentations Xishi Qiu
2013-10-01 10:24 ` Johannes Berg
2013-10-08 1:52 ` Xishi Qiu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).