Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/git/jikos/trivial

Pull trivial branch from Jiri Kosina:
 "Usual stuff -- comment/printk typo fixes, documentation updates, dead
  code elimination."

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
  HOWTO: fix double words typo
  x86 mtrr: fix comment typo in mtrr_bp_init
  propagate name change to comments in kernel source
  doc: Update the name of profiling based on sysfs
  treewide: Fix typos in various drivers
  treewide: Fix typos in various Kconfig
  wireless: mwifiex: Fix typo in wireless/mwifiex driver
  messages: i2o: Fix typo in messages/i2o
  scripts/kernel-doc: check that non-void fcts describe their return value
  Kernel-doc: Convention: Use a "Return" section to describe return values
  radeon: Fix typo and copy/paste error in comments
  doc: Remove unnecessary declarations from Documentation/accounting/getdelays.c
  various: Fix spelling of "asynchronous" in comments.
  Fix misspellings of "whether" in comments.
  eisa: Fix spelling of "asynchronous".
  various: Fix spelling of "registered" in comments.
  doc: fix quite a few typos within Documentation
  target: iscsi: fix comment typos in target/iscsi drivers
  treewide: fix typo of "suport" in various comments and Kconfig
  treewide: fix typo of "suppport" in various comments
  ...
  • Loading branch information
torvalds committed Dec 13, 2012
2 parents dadfab4 + 106f9d9 commit a2013a1
Show file tree
Hide file tree
Showing 181 changed files with 273 additions and 240 deletions.
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/dev-kmsg
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Description: The /dev/kmsg character device node provides userspace access
The flags field carries '-' by default. A 'c' indicates a
fragment of a line. All following fragments are flagged with
'+'. Note, that these hints about continuation lines are not
neccessarily correct, and the stream could be interleaved with
necessarily correct, and the stream could be interleaved with
unrelated messages, but merging the lines in the output
usually produces better human readable results. A similar
logic is used internally when messages are printed to the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-devices-power
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ Contact: Rafael J. Wysocki <rjw@sisk.pl>
Description:
The /sys/devices/.../wakeup_prevent_sleep_time_ms attribute
contains the total time the device has been preventing
opportunistic transitions to sleep states from occuring.
opportunistic transitions to sleep states from occurring.
This attribute is read-only. If the device is not enabled to
wake up the system from sleep states, this attribute is not
present.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/ABI/testing/sysfs-driver-ppi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Contact: xiaoyan.zhang@intel.com
Description:
This folder includes the attributes related with PPI (Physical
Presence Interface). Only if TPM is supported by BIOS, this
folder makes sence. The folder path can be got by command
folder makes sense. The folder path can be got by command
'find /sys/ -name 'pcrs''. For the detail information of PPI,
please refer to the PPI specification from
http://www.trustedcomputinggroup.org/
Expand Down
6 changes: 3 additions & 3 deletions Documentation/ABI/testing/sysfs-profiling
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
What: /sys/kernel/profile
What: /sys/kernel/profiling
Date: September 2008
Contact: Dave Hansen <dave@linux.vnet.ibm.com>
Description:
/sys/kernel/profile is the runtime equivalent
/sys/kernel/profiling is the runtime equivalent
of the boot-time profile= option.

You can get the same effect running:

echo 2 > /sys/kernel/profile
echo 2 > /sys/kernel/profiling

as you would by issuing profile=2 on the boot
command line.
2 changes: 1 addition & 1 deletion Documentation/HOWTO
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ Differences between the kernel community and corporate structures

The kernel community works differently than most traditional corporate
development environments. Here are a list of things that you can try to
do to try to avoid problems:
do to avoid problems:
Good things to say regarding your proposed changes:
- "This solves multiple problems."
- "This deletes 2000 lines of code."
Expand Down
1 change: 0 additions & 1 deletion Documentation/accounting/getdelays.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ int dbg;
int print_delays;
int print_io_accounting;
int print_task_context_switch_counts;
__u64 stime, utime;

#define PRINTF(fmt, arg...) { \
if (dbg) { \
Expand Down
4 changes: 2 additions & 2 deletions Documentation/dma-buf-sharing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ Being able to mmap an export dma-buf buffer object has 2 main use-cases:
leaving the cpu domain and flushing caches at fault time. Note that all the
dma_buf files share the same anon inode, hence the exporter needs to replace
the dma_buf file stored in vma->vm_file with it's own if pte shootdown is
requred. This is because the kernel uses the underlying inode's address_space
required. This is because the kernel uses the underlying inode's address_space
for vma tracking (and hence pte tracking at shootdown time with
unmap_mapping_range).

Expand All @@ -388,7 +388,7 @@ Being able to mmap an export dma-buf buffer object has 2 main use-cases:
Exporters that shoot down mappings (for any reasons) shall not do any
synchronization at fault time with outstanding device operations.
Synchronization is an orthogonal issue to sharing the backing storage of a
buffer and hence should not be handled by dma-buf itself. This is explictly
buffer and hence should not be handled by dma-buf itself. This is explicitly
mentioned here because many people seem to want something like this, but if
different exporters handle this differently, buffer sharing can fail in
interesting ways depending upong the exporter (if userspace starts depending
Expand Down
1 change: 0 additions & 1 deletion Documentation/dontdiff
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ modversions.h*
nconf
ncscope.*
offset.h
offsets.h
oui.c*
page-types
parse.c
Expand Down
4 changes: 2 additions & 2 deletions Documentation/fault-injection/notifier-error-inject.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Notifier error injection
========================

Notifier error injection provides the ability to inject artifical errors to
Notifier error injection provides the ability to inject artificial errors to
specified notifier chain callbacks. It is useful to test the error handling of
notifier call chain failures which is rarely executed. There are kernel
modules that can be used to test the following notifiers.
Expand All @@ -14,7 +14,7 @@ modules that can be used to test the following notifiers.
CPU notifier error injection module
-----------------------------------
This feature can be used to test the error handling of the CPU notifiers by
injecting artifical errors to CPU notifier chain callbacks.
injecting artificial errors to CPU notifier chain callbacks.

If the notifier call chain should be failed with some events notified, write
the error code to debugfs interface
Expand Down
2 changes: 1 addition & 1 deletion Documentation/hid/uhid.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ the request was handled successfully.
UHID_FEATURE_ANSWER:
If you receive a UHID_FEATURE request you must answer with this request. You
must copy the "id" field from the request into the answer. Set the "err" field
to 0 if no error occured or to EIO if an I/O error occurred.
to 0 if no error occurred or to EIO if an I/O error occurred.
If "err" is 0 then you should fill the buffer of the answer with the results
of the feature request and set "size" correspondingly.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/hwmon/pmbus
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Sysfs entries

When probing the chip, the driver identifies which PMBus registers are
supported, and determines available sensors from this information.
Attribute files only exist if respective sensors are suported by the chip.
Attribute files only exist if respective sensors are supported by the chip.
Labels are provided to inform the user about the sensor associated with
a given sysfs entry.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/input/alps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ number of contacts (f1 and f0 in the table below).

This packet only appears after a position packet with the mt bit set, and
usually only appears when there are two or more contacts (although
occassionally it's seen with only a single contact).
occasionally it's seen with only a single contact).

The final v3 packet type is the trackstick packet.

Expand Down
2 changes: 1 addition & 1 deletion Documentation/kbuild/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ build.

Sometimes, an external module uses exported symbols from
another external module. kbuild needs to have full knowledge of
all symbols to avoid spitting out warnings about undefined
all symbols to avoid spliitting out warnings about undefined
symbols. Three solutions exist for this situation.

NOTE: The method with a top-level kbuild file is recommended
Expand Down
13 changes: 10 additions & 3 deletions Documentation/kernel-doc-nano-HOWTO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ Example kernel-doc function comment:
* comment lines.
*
* The longer description can have multiple paragraphs.
*
* Return: Describe the return value of foobar.
*/

The short description following the subject can span multiple lines
Expand All @@ -78,6 +80,8 @@ If a function parameter is "..." (varargs), it should be listed in
kernel-doc notation as:
* @...: description

The return value, if any, should be described in a dedicated section
named "Return".

Example kernel-doc data structure comment.

Expand Down Expand Up @@ -222,6 +226,9 @@ only a "*").
"section header:" names must be unique per function (or struct,
union, typedef, enum).

Use the section header "Return" for sections describing the return value
of a function.

Avoid putting a spurious blank line after the function name, or else the
description will be repeated!

Expand All @@ -237,21 +244,21 @@ patterns, which are highlighted appropriately.
NOTE 1: The multi-line descriptive text you provide does *not* recognize
line breaks, so if you try to format some text nicely, as in:

Return codes
Return:
0 - cool
1 - invalid arg
2 - out of memory

this will all run together and produce:

Return codes 0 - cool 1 - invalid arg 2 - out of memory
Return: 0 - cool 1 - invalid arg 2 - out of memory

NOTE 2: If the descriptive text you provide has lines that begin with
some phrase followed by a colon, each of those phrases will be taken as
a new section heading, which means you should similarly try to avoid text
like:

Return codes:
Return:
0: cool
1: invalid arg
2: out of memory
Expand Down
4 changes: 2 additions & 2 deletions Documentation/misc-devices/mei/mei-amt-version.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static ssize_t mei_send_msg(struct mei *me, const unsigned char *buffer,
}

/***************************************************************************
* Intel Advanced Management Technolgy ME Client
* Intel Advanced Management Technology ME Client
***************************************************************************/

#define AMT_MAJOR_VERSION 1
Expand Down Expand Up @@ -256,7 +256,7 @@ struct amt_code_versions {
} __attribute__((packed));

/***************************************************************************
* Intel Advanced Management Technolgy Host Interface
* Intel Advanced Management Technology Host Interface
***************************************************************************/

struct amt_host_if_msg_header {
Expand Down
2 changes: 1 addition & 1 deletion Documentation/video4linux/bttv/Cards
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Very nice card if you only have satellite TV but several tuners connected
to the card via composite.

Many thanks to Matrix-Vision for giving us 2 cards for free which made
Bt848a/Bt849 single crytal operation support possible!!!
Bt848a/Bt849 single crystal operation support possible!!!



Expand Down
2 changes: 1 addition & 1 deletion Documentation/video4linux/bttv/Sound-FAQ
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ card installed, you might to check out if you can read these registers
values used by the windows driver. A tool to do this is available
from ftp://telepresence.dmem.strath.ac.uk/pub/bt848/winutil, but it
does'nt work with bt878 boards according to some reports I received.
Another one with bt878 suport is available from
Another one with bt878 support is available from
http://btwincap.sourceforge.net/Files/btspy2.00.zip

You might also dig around in the *.ini files of the Windows applications.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/vm/frontswap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ faster.
or maybe swap-over-nbd/NFS)?

No. First, the existing swap subsystem doesn't allow for any kind of
swap hierarchy. Perhaps it could be rewritten to accomodate a hierarchy,
swap hierarchy. Perhaps it could be rewritten to accommodate a hierarchy,
but this would require fairly drastic changes. Even if it were
rewritten, the existing swap subsystem uses the block I/O layer which
assumes a swap device is fixed size and any page in it is linearly
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3596,7 +3596,7 @@ S: Maintained
F: drivers/input/touchscreen/htcpen.c

HUGETLB FILESYSTEM
M: William Irwin <wli@holomorphy.com>
M: Nadia Yvette Chambers <nyc@holomorphy.com>
S: Maintained
F: fs/hugetlbfs/

Expand Down
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ CONFIGURING the kernel:
with questions already answered.
Additionally updates the dependencies.

"make olddefconfig"
Like above, but sets new symbols to their default
values without prompting.

"make defconfig" Create a ./.config file by using the default
symbol values from either arch/$ARCH/defconfig
or arch/$ARCH/configs/${PLATFORM}_defconfig,
Expand Down
2 changes: 1 addition & 1 deletion arch/alpha/include/asm/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ PLAT_NODE_DATA_LOCALNR(unsigned long p, int n)
((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \
<< PAGE_SHIFT))

/* XXX: FIXME -- wli */
/* XXX: FIXME -- nyc */
#define kern_addr_valid(kaddr) (0)

#define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
Expand Down
12 changes: 4 additions & 8 deletions arch/alpha/kernel/pci_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ static dma_addr_t alpha_pci_map_page(struct device *dev, struct page *page,
struct pci_dev *pdev = alpha_gendev_to_pci(dev);
int dac_allowed;

if (dir == PCI_DMA_NONE)
BUG();
BUG_ON(dir == PCI_DMA_NONE);

dac_allowed = pdev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0;
return pci_map_single_1(pdev, (char *)page_address(page) + offset,
Expand All @@ -378,8 +377,7 @@ static void alpha_pci_unmap_page(struct device *dev, dma_addr_t dma_addr,
struct pci_iommu_arena *arena;
long dma_ofs, npages;

if (dir == PCI_DMA_NONE)
BUG();
BUG_ON(dir == PCI_DMA_NONE);

if (dma_addr >= __direct_map_base
&& dma_addr < __direct_map_base + __direct_map_size) {
Expand Down Expand Up @@ -662,8 +660,7 @@ static int alpha_pci_map_sg(struct device *dev, struct scatterlist *sg,
dma_addr_t max_dma;
int dac_allowed;

if (dir == PCI_DMA_NONE)
BUG();
BUG_ON(dir == PCI_DMA_NONE);

dac_allowed = dev ? pci_dac_dma_supported(pdev, pdev->dma_mask) : 0;

Expand Down Expand Up @@ -742,8 +739,7 @@ static void alpha_pci_unmap_sg(struct device *dev, struct scatterlist *sg,
dma_addr_t max_dma;
dma_addr_t fbeg, fend;

if (dir == PCI_DMA_NONE)
BUG();
BUG_ON(dir == PCI_DMA_NONE);

if (! alpha_mv.mv_pci_tbi)
return;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/kernel/kprobes-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,7 @@ static int __init run_all_tests(void)
{
int ret = 0;

pr_info("Begining kprobe tests...\n");
pr_info("Beginning kprobe tests...\n");

#ifndef CONFIG_THUMB2_KERNEL

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-netx/xc.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int xc_request_firmware(struct xc *x)
if (head->magic != 0x4e657458) {
if (head->magic == 0x5874654e) {
dev_err(x->dev,
"firmware magic is 'XteN'. Endianess problems?\n");
"firmware magic is 'XteN'. Endianness problems?\n");
ret = -ENODEV;
goto exit_release_firmware;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/include/mach/bast-map.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@


/* 0xE0000000 contains the IO space that is split by speed and
* wether the access is for 8 or 16bit IO... this ensures that
* whether the access is for 8 or 16bit IO... this ensures that
* the correct access is made
*
* 0x10000000 of space, partitioned as so:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/include/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ enum s3c2410_dma_state {
*
* This represents the state of the DMA engine, wrt to the loaded / running
* transfers. Since we don't have any way of knowing exactly the state of
* the DMA transfers, we need to know the state to make decisions on wether
* the DMA transfers, we need to know the state to make decisions on whether
* we can
*
* S3C2410_DMA_NONE
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/include/mach/vr1000-map.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#define VR1000_VA_PC104_IRQMASK VR1000_IOADDR(0x00600000)

/* 0xE0000000 contains the IO space that is split by speed and
* wether the access is for 8 or 16bit IO... this ensures that
* whether the access is for 8 or 16bit IO... this ensures that
* the correct access is made
*
* 0x10000000 of space, partitioned as so:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void s3c_pm_configure_extint(void)
int pin;

/* for each of the external interrupts (EINT0..EINT15) we
* need to check wether it is an external interrupt source,
* need to check whether it is an external interrupt source,
* and then configure it as an input if it is not
*/

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ config TEGRA_AHB
help
Adds AHB configuration functionality for NVIDIA Tegra SoCs,
which controls AHB bus master arbitration and some
perfomance parameters(priority, prefech size).
performance parameters(priority, prefech size).

config TEGRA_EMC_SCALING_ENABLE
bool "Enable scaling the memory frequency"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/plat-s3c24xx/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static int s3c2410_dma_start(struct s3c2410_dma_chan *chan)

chan->state = S3C2410_DMA_RUNNING;

/* check wether there is anything to load, and if not, see
/* check whether there is anything to load, and if not, see
* if we can find anything to load
*/

Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf609/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ config SEC_IRQ_PRIORITY_LEVELS
default 7
range 0 7
help
Devide the total number of interrupt priority levels into sub-levels.
Divide the total number of interrupt priority levels into sub-levels.
There is 2 ^ (SEC_IRQ_PRIORITY_LEVELS + 1) different levels.

endmenu
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mm/sram-alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static irqreturn_t l2_ecc_err(int irq, void *dev_id)
{
int status;

printk(KERN_ERR "L2 ecc error happend\n");
printk(KERN_ERR "L2 ecc error happened\n");
status = bfin_read32(L2CTL0_STAT);
if (status & 0x1)
printk(KERN_ERR "Core channel error type:0x%x, addr:0x%x\n",
Expand Down
Loading

0 comments on commit a2013a1

Please sign in to comment.