Skip to content

Commit da206c9

Browse files
author
Linus Torvalds
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: typo fixes Clean up 'inline is not at beginning' warnings for usb storage Storage class should be first i386: Trivial typo fixes ixj: make ixj_set_tone_off() static spelling fixes fix paniced->panicked typos Spelling fixes for Documentation/atomic_ops.txt move acknowledgment for Mark Adler to CREDITS remove the bouncing email address of David Campbell
2 parents 916d154 + 2e2d0dc commit da206c9

89 files changed

Lines changed: 147 additions & 158 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CREDITS‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ S: C. Negri 6, bl. D3
2424
S: Iasi 6600
2525
S: Romania
2626

27+
N: Mark Adler
28+
E: madler@alumni.caltech.edu
29+
W: http://alumnus.caltech.edu/~madler/
30+
D: zlib decompression
31+
2732
N: Monalisa Agrawal
2833
E: magrawal@nortelnetworks.com
2934
D: Basic Interphase 5575 driver with UBR and ABR support.

‎Documentation/DocBook/kernel-locking.tmpl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,7 @@ the amount of locking which needs to be done.
15901590
<para>
15911591
Our final dilemma is this: when can we actually destroy the
15921592
removed element? Remember, a reader might be stepping through
1593-
this element in the list right now: it we free this element and
1593+
this element in the list right now: if we free this element and
15941594
the <symbol>next</symbol> pointer changes, the reader will jump
15951595
off into garbage and crash. We need to wait until we know that
15961596
all the readers who were traversing the list when we deleted the

‎Documentation/atomic_ops.txt‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ For example, smp_mb__before_atomic_dec() can be used like so:
157157
smp_mb__before_atomic_dec();
158158
atomic_dec(&obj->ref_count);
159159

160-
It makes sure that all memory operations preceeding the atomic_dec()
160+
It makes sure that all memory operations preceding the atomic_dec()
161161
call are strongly ordered with respect to the atomic counter
162-
operation. In the above example, it guarentees that the assignment of
162+
operation. In the above example, it guarantees that the assignment of
163163
"1" to obj->dead will be globally visible to other cpus before the
164164
atomic counter decrement.
165165

166-
Without the explicitl smp_mb__before_atomic_dec() call, the
166+
Without the explicit smp_mb__before_atomic_dec() call, the
167167
implementation could legally allow the atomic counter update visible
168168
to other cpus before the "obj->dead = 1;" assignment.
169169

@@ -173,11 +173,11 @@ ordering with respect to memory operations after an atomic_dec() call
173173
(smp_mb__{before,after}_atomic_inc()).
174174

175175
A missing memory barrier in the cases where they are required by the
176-
atomic_t implementation above can have disasterous results. Here is
177-
an example, which follows a pattern occuring frequently in the Linux
176+
atomic_t implementation above can have disastrous results. Here is
177+
an example, which follows a pattern occurring frequently in the Linux
178178
kernel. It is the use of atomic counters to implement reference
179179
counting, and it works such that once the counter falls to zero it can
180-
be guarenteed that no other entity can be accessing the object:
180+
be guaranteed that no other entity can be accessing the object:
181181

182182
static void obj_list_add(struct obj *obj)
183183
{
@@ -291,19 +291,19 @@ to the size of an "unsigned long" C data type, and are least of that
291291
size. The endianness of the bits within each "unsigned long" are the
292292
native endianness of the cpu.
293293

294-
void set_bit(unsigned long nr, volatils unsigned long *addr);
295-
void clear_bit(unsigned long nr, volatils unsigned long *addr);
296-
void change_bit(unsigned long nr, volatils unsigned long *addr);
294+
void set_bit(unsigned long nr, volatile unsigned long *addr);
295+
void clear_bit(unsigned long nr, volatile unsigned long *addr);
296+
void change_bit(unsigned long nr, volatile unsigned long *addr);
297297

298298
These routines set, clear, and change, respectively, the bit number
299299
indicated by "nr" on the bit mask pointed to by "ADDR".
300300

301301
They must execute atomically, yet there are no implicit memory barrier
302302
semantics required of these interfaces.
303303

304-
int test_and_set_bit(unsigned long nr, volatils unsigned long *addr);
305-
int test_and_clear_bit(unsigned long nr, volatils unsigned long *addr);
306-
int test_and_change_bit(unsigned long nr, volatils unsigned long *addr);
304+
int test_and_set_bit(unsigned long nr, volatile unsigned long *addr);
305+
int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
306+
int test_and_change_bit(unsigned long nr, volatile unsigned long *addr);
307307

308308
Like the above, except that these routines return a boolean which
309309
indicates whether the changed bit was set _BEFORE_ the atomic bit
@@ -335,7 +335,7 @@ subsequent memory operation is made visible. For example:
335335
/* ... */;
336336
obj->killed = 1;
337337

338-
The implementation of test_and_set_bit() must guarentee that
338+
The implementation of test_and_set_bit() must guarantee that
339339
"obj->dead = 1;" is visible to cpus before the atomic memory operation
340340
done by test_and_set_bit() becomes visible. Likewise, the atomic
341341
memory operation done by test_and_set_bit() must become visible before
@@ -474,7 +474,7 @@ Now, as far as memory barriers go, as long as spin_lock()
474474
strictly orders all subsequent memory operations (including
475475
the cas()) with respect to itself, things will be fine.
476476

477-
Said another way, _atomic_dec_and_lock() must guarentee that
477+
Said another way, _atomic_dec_and_lock() must guarantee that
478478
a counter dropping to zero is never made visible before the
479479
spinlock being acquired.
480480

‎Documentation/driver-model/overview.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Traditional driver models implemented some sort of tree-like structure
1818
(sometimes just a list) for the devices they control. There wasn't any
1919
uniformity across the different bus types.
2020

21-
The current driver model provides a comon, uniform data model for describing
21+
The current driver model provides a common, uniform data model for describing
2222
a bus and the devices that can appear under the bus. The unified bus
2323
model includes a set of common attributes which all busses carry, and a set
2424
of common callbacks, such as device discovery during bus probing, bus

‎Documentation/kdump/gdbmacros.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ end
175175
document trapinfo
176176
Run info threads and lookup pid of thread #1
177177
'trapinfo <pid>' will tell you by which trap & possibly
178-
addresthe kernel paniced.
178+
address the kernel panicked.
179179
end
180180

181181

‎Documentation/scsi/ppa.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,3 @@ http://www.torque.net/parport/
1212
Email list for Linux Parport
1313
linux-parport@torque.net
1414

15-
Email for problems with ZIP or ZIP Plus drivers
16-
campbell@torque.net

‎arch/i386/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ config KEXEC
734734
help
735735
kexec is a system call that implements the ability to shutdown your
736736
current kernel, and to start another kernel. It is like a reboot
737-
but it is indepedent of the system firmware. And like a reboot
737+
but it is independent of the system firmware. And like a reboot
738738
you can start any kernel with it, not just Linux.
739739

740740
The name comes from the similiarity to the exec system call.

‎arch/i386/Kconfig.cpu‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ config M386
4141
- "GeodeGX1" for Geode GX1 (Cyrix MediaGX).
4242
- "Geode GX/LX" For AMD Geode GX and LX processors.
4343
- "CyrixIII/VIA C3" for VIA Cyrix III or VIA C3.
44-
- "VIA C3-2 for VIA C3-2 "Nehemiah" (model 9 and above).
44+
- "VIA C3-2" for VIA C3-2 "Nehemiah" (model 9 and above).
4545

4646
If you don't know what to do, choose "386".
4747

‎arch/i386/kernel/cpu/cyrix.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ static void __init init_nsc(struct cpuinfo_x86 *c)
354354
* This function only handles the GX processor, and kicks every
355355
* thing else to the Cyrix init function above - that should
356356
* cover any processors that might have been branded differently
357-
* after NSC aquired Cyrix.
357+
* after NSC acquired Cyrix.
358358
*
359359
* If this breaks your GX1 horribly, please e-mail
360360
* info-linux@ldcmail.amd.com to tell us.

‎arch/i386/kernel/crash.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static void nmi_shootdown_cpus(void)
158158
void machine_crash_shutdown(struct pt_regs *regs)
159159
{
160160
/* This function is only called after the system
161-
* has paniced or is otherwise in a critical state.
161+
* has panicked or is otherwise in a critical state.
162162
* The minimum amount of code to allow a kexec'd kernel
163163
* to run successfully needs to happen here.
164164
*

0 commit comments

Comments
 (0)