Skip to content

Commit 158c129

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree changes from Jiri Kosina: "Summer edition of trivial tree updates" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits) doc: fix two typos in watchdog-api.txt irq-gic: remove file name from heading comment MAINTAINERS: Add miscdevice.h to file list for char/misc drivers. scsi: mvsas: mv_sas.c: Fix for possible null pointer dereference doc: replace "practise" with "practice" in Documentation befs: remove check for CONFIG_BEFS_RW scsi: doc: fix 'SCSI_NCR_SETUP_MASTER_PARITY' drivers/usb/phy/phy.c: remove a leading space mfd: fix comment cpuidle: fix comment doc: hpfall.c: fix missing null-terminate after strncpy call usb: doc: hotplug.txt code typos kbuild: fix comment in Makefile.modinst SH: add proper prompt to SH_MAGIC_PANEL_R2_VERSION ARM: msm: Remove MSM_SCM crypto: Remove MPILIB_EXTRA doc: CN: remove dead link, kerneltrap.org no longer works media: update reference, kerneltrap.org no longer works hexagon: update reference, kerneltrap.org no longer works doc: LSM: update reference, kerneltrap.org no longer works ...
2 parents 172bfe0 + 51a7097 commit 158c129

File tree

18 files changed

+26
-37
lines changed

18 files changed

+26
-37
lines changed

Documentation/PCI/MSI-HOWTO.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ Some devices are known to have faulty MSI implementations. Usually this
576576
is handled in the individual device driver, but occasionally it's necessary
577577
to handle this with a quirk. Some drivers have an option to disable use
578578
of MSI. While this is a convenient workaround for the driver author,
579-
it is not good practise, and should not be emulated.
579+
it is not good practice, and should not be emulated.
580580

581581
5.4. Finding why MSIs are disabled on a device
582582

Documentation/SubmittingDrivers

-4
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ LWN.net:
146146
Porting drivers from prior kernels to 2.6:
147147
http://lwn.net/Articles/driver-porting/
148148

149-
KernelTrap:
150-
Occasional Linux kernel articles and developer interviews
151-
http://kerneltrap.org/
152-
153149
KernelNewbies:
154150
Documentation and assistance for new kernel programmers
155151
http://kernelnewbies.org/

Documentation/SubmittingPatches

+2-2
Original file line numberDiff line numberDiff line change
@@ -396,13 +396,13 @@ you are responsible for last-minute changes. Example :
396396
[lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
397397
Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
398398

399-
This practise is particularly helpful if you maintain a stable branch and
399+
This practice is particularly helpful if you maintain a stable branch and
400400
want at the same time to credit the author, track changes, merge the fix,
401401
and protect the submitter from complaints. Note that under no circumstances
402402
can you change the author's identity (the From header), as it is the one
403403
which appears in the changelog.
404404

405-
Special note to back-porters: It seems to be a common and useful practise
405+
Special note to back-porters: It seems to be a common and useful practice
406406
to insert an indication of the origin of a patch at the top of the commit
407407
message (just after the subject line) to facilitate tracking. For instance,
408408
here's what we see in 2.6-stable :

Documentation/laptops/freefall.c

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ static int set_unload_heads_path(char *device)
3434
if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0)
3535
return -EINVAL;
3636
strncpy(devname, device + 5, sizeof(devname) - 1);
37+
devname[sizeof(devname) - 1] = '\0';
3738
strncpy(device_path, device, sizeof(device_path) - 1);
3839

3940
snprintf(unload_heads_path, sizeof(unload_heads_path) - 1,

Documentation/scsi/ncr53c8xx.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,7 @@ SCSI_NCR_SETUP_FORCE_SYNC_NEGO (default: not defined)
10951095
SCSI_NCR_SETUP_MASTER_PARITY (default: defined)
10961096
If defined, master parity checking is enabled.
10971097

1098-
SCSI_NCR_SETUP_MASTER_PARITY (default: defined)
1098+
SCSI_NCR_SETUP_SCSI_PARITY (default: defined)
10991099
If defined, SCSI parity checking is enabled.
11001100

11011101
SCSI_NCR_PROFILE_SUPPORT (default: not defined)

Documentation/security/LSM.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ system, building their checks on top of the defined capability hooks.
2222
For more details on capabilities, see capabilities(7) in the Linux
2323
man-pages project.
2424

25-
Based on http://kerneltrap.org/Linux/Documenting_Security_Module_Intent,
25+
Based on https://lkml.org/lkml/2007/10/26/215,
2626
a new LSM is accepted into the kernel when its intent (a description of
2727
what it tries to protect against and in what cases one would expect to
2828
use it) has been appropriately documented in Documentation/security/.

Documentation/zh_CN/SubmittingDrivers

-4
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,6 @@ LWN.net:
150150
将旧版内核的驱动程序移植到 2.6 版:
151151
http://lwn.net/Articles/driver-porting/
152152

153-
KernelTrap:
154-
Linux 内核的最新动态以及开发者访谈
155-
http://kerneltrap.org/
156-
157153
内核新手(KernelNewbies):
158154
为新的内核开发者提供文档和帮助
159155
http://kernelnewbies.org/

arch/arm/mach-msm/Kconfig

-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,4 @@ config MSM_GPIOMUX
106106
help
107107
Support for MSM V1 TLMM GPIOMUX architecture.
108108

109-
config MSM_SCM
110-
bool
111-
112109
endif

arch/hexagon/include/asm/cache.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define __cacheline_aligned __aligned(L1_CACHE_BYTES)
2929
#define ____cacheline_aligned __aligned(L1_CACHE_BYTES)
3030

31-
/* See http://kerneltrap.org/node/15100 */
31+
/* See http://lwn.net/Articles/262554/ */
3232
#define __read_mostly
3333

3434
#endif

arch/sh/boards/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ if SH_MAGIC_PANEL_R2
371371
menu "Magic Panel R2 options"
372372

373373
config SH_MAGIC_PANEL_R2_VERSION
374-
int SH_MAGIC_PANEL_R2_VERSION
374+
int "Magic Panel R2 Version"
375375
default "3"
376376
help
377377
Set the version of the Magic Panel R2

drivers/cpuidle/governors/menu.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev)
398398
*
399399
* Any measured amount of time will include the exit latency.
400400
* Since we are interested in when the wakeup begun, not when it
401-
* was completed, we must substract the exit latency. However, if
401+
* was completed, we must subtract the exit latency. However, if
402402
* the measured amount of time is less than the exit latency,
403403
* assume the state was never reached and the exit latency is 0.
404404
*/

drivers/gpu/drm/gma500/mid_bios.c

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ static void mid_get_fuse_settings(struct drm_device *dev)
3939
#define FB_REG06 0xD0810600
4040
#define FB_MIPI_DISABLE (1 << 11)
4141
#define FB_REG09 0xD0810900
42-
#define FB_REG09 0xD0810900
4342
#define FB_SKU_MASK 0x7000
4443
#define FB_SKU_SHIFT 12
4544
#define FB_SKU_100 0

drivers/irqchip/irq-gic.c

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* linux/arch/arm/common/gic.c
3-
*
42
* Copyright (C) 2002 ARM Limited, All Rights Reserved.
53
*
64
* This program is free software; you can redistribute it and/or modify

drivers/mfd/intel_msic.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
/*
2929
* MSIC interrupt tree is readable from SRAM at INTEL_MSIC_IRQ_PHYS_BASE.
30-
* Since IRQ block starts from address 0x002 we need to substract that from
30+
* Since IRQ block starts from address 0x002 we need to subtract that from
3131
* the actual IRQ status register address.
3232
*/
3333
#define MSIC_IRQ_STATUS(x) (INTEL_MSIC_IRQ_PHYS_BASE + ((x) - 2))

drivers/scsi/mvsas/mv_sas.c

+14-10
Original file line numberDiff line numberDiff line change
@@ -1344,19 +1344,23 @@ void mvs_dev_gone_notify(struct domain_device *dev)
13441344
{
13451345
unsigned long flags = 0;
13461346
struct mvs_device *mvi_dev = dev->lldd_dev;
1347-
struct mvs_info *mvi = mvi_dev->mvi_info;
1348-
1349-
spin_lock_irqsave(&mvi->lock, flags);
1347+
struct mvs_info *mvi;
13501348

1351-
if (mvi_dev) {
1352-
mv_dprintk("found dev[%d:%x] is gone.\n",
1353-
mvi_dev->device_id, mvi_dev->dev_type);
1354-
mvs_release_task(mvi, dev);
1355-
mvs_free_reg_set(mvi, mvi_dev);
1356-
mvs_free_dev(mvi_dev);
1357-
} else {
1349+
if (!mvi_dev) {
13581350
mv_dprintk("found dev has gone.\n");
1351+
return;
13591352
}
1353+
1354+
mvi = mvi_dev->mvi_info;
1355+
1356+
spin_lock_irqsave(&mvi->lock, flags);
1357+
1358+
mv_dprintk("found dev[%d:%x] is gone.\n",
1359+
mvi_dev->device_id, mvi_dev->dev_type);
1360+
mvs_release_task(mvi, dev);
1361+
mvs_free_reg_set(mvi, mvi_dev);
1362+
mvs_free_dev(mvi_dev);
1363+
13601364
dev->lldd_dev = NULL;
13611365
mvi_dev->sas_device = NULL;
13621366

drivers/usb/phy/phy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ struct usb_phy *usb_get_phy(enum usb_phy_type type)
147147
}
148148
EXPORT_SYMBOL_GPL(usb_get_phy);
149149

150-
/**
150+
/**
151151
* devm_usb_get_phy_by_phandle - find the USB PHY by phandle
152152
* @dev - device that requests this phy
153153
* @phandle - name of the property holding the phy phandle value

fs/befs/linuxvfs.c

-2
Original file line numberDiff line numberDiff line change
@@ -799,13 +799,11 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
799799

800800
befs_debug(sb, "---> %s", __func__);
801801

802-
#ifndef CONFIG_BEFS_RW
803802
if (!(sb->s_flags & MS_RDONLY)) {
804803
befs_warning(sb,
805804
"No write support. Marking filesystem read-only");
806805
sb->s_flags |= MS_RDONLY;
807806
}
808-
#endif /* CONFIG_BEFS_RW */
809807

810808
/*
811809
* Set dummy blocksize to read super block.

scripts/Makefile.modinst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ $(modules):
3131

3232

3333
# Declare the contents of the .PHONY variable as phony. We keep that
34-
# information in a variable se we can use it in if_changed and friends.
34+
# information in a variable so we can use it in if_changed and friends.
3535

3636
.PHONY: $(PHONY)

0 commit comments

Comments
 (0)