forked from Minki/linux
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree update from Jiri Kosina: "Usual stuff: documentation updates, printk() fixes, etc" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (24 commits) intel_ips: fix a type in error message cpufreq: cpufreq-dt: Move newline to end of error message ps3rom: fix error return code treewide: fix typo in printk and Kconfig ARM: dts: bcm63138: change "interupts" to "interrupts" Replace mentions of "list_struct" to "list_head" kernel: trace: fix printk message scsi: mpt2sas: fix ioctl in comment zbud, zswap: change module author email clocksource: Fix 'clcoksource' typo in comment arm: fix wording of "Crotex" in CONFIG_ARCH_EXYNOS3 help gpio: msm-v1: make boolean argument more obvious usb: Fix typo in usb-serial-simple.c PCI: Fix comment typo 'COMFIG_PM_OPS' powerpc: Fix comment typo 'CONIFG_8xx' powerpc: Fix comment typos 'CONFiG_ALTIVEC' clk: st: Spelling s/stucture/structure/ isci: Spelling s/stucture/structure/ usb: gadget: zero: Spelling s/infrastucture/infrastructure/ treewide: Fix company name in module descriptions ...
This commit is contained in:
commit
a7cb7bb664
@ -11,7 +11,7 @@ Please find an example below:
|
|||||||
|
|
||||||
Clockgen block diagram
|
Clockgen block diagram
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
| Flexgen stucture |
|
| Flexgen structure |
|
||||||
| --------------------------------------------- |
|
| --------------------------------------------- |
|
||||||
| | ------- -------- -------- | |
|
| | ------- -------- -------- | |
|
||||||
clk_sysin | | | | | | | | |
|
clk_sysin | | | | | | | | |
|
||||||
|
@ -172,7 +172,7 @@ ways.
|
|||||||
|
|
||||||
- eh_strategy_handler() callback
|
- eh_strategy_handler() callback
|
||||||
This is one big callback which should perform whole error
|
This is one big callback which should perform whole error
|
||||||
handling. As such, it should do all choirs SCSI midlayer
|
handling. As such, it should do all chores the SCSI midlayer
|
||||||
performs during recovery. This will be discussed in [2-2].
|
performs during recovery. This will be discussed in [2-2].
|
||||||
|
|
||||||
Once recovery is complete, SCSI EH resumes normal operation by
|
Once recovery is complete, SCSI EH resumes normal operation by
|
||||||
@ -428,7 +428,7 @@ scmd->allowed.
|
|||||||
scsi_unjam_host() and it is responsible for whole recovery process.
|
scsi_unjam_host() and it is responsible for whole recovery process.
|
||||||
On completion, the handler should have made lower layers forget about
|
On completion, the handler should have made lower layers forget about
|
||||||
all failed scmds and either ready for new commands or offline. Also,
|
all failed scmds and either ready for new commands or offline. Also,
|
||||||
it should perform SCSI EH maintenance choirs to maintain integrity of
|
it should perform SCSI EH maintenance chores to maintain integrity of
|
||||||
SCSI midlayer. IOW, of the steps described in [2-1-2], all steps
|
SCSI midlayer. IOW, of the steps described in [2-1-2], all steps
|
||||||
except for #1 must be implemented by eh_strategy_handler().
|
except for #1 must be implemented by eh_strategy_handler().
|
||||||
|
|
||||||
|
@ -376,7 +376,7 @@ functions and binds them. This way the whole gadget is bound.
|
|||||||
configured, so config_groups for particular functions are defined
|
configured, so config_groups for particular functions are defined
|
||||||
in the functions implementation files drivers/usb/gadget/f_*.c.
|
in the functions implementation files drivers/usb/gadget/f_*.c.
|
||||||
|
|
||||||
5. Funciton's code is written in such a way that it uses
|
5. Function's code is written in such a way that it uses
|
||||||
|
|
||||||
usb_get_function_instance(), which, in turn, calls request_module.
|
usb_get_function_instance(), which, in turn, calls request_module.
|
||||||
So, provided that modprobe works, modules for particular functions
|
So, provided that modprobe works, modules for particular functions
|
||||||
|
@ -102,7 +102,7 @@
|
|||||||
twd_watchdog: watchdog@1e620 {
|
twd_watchdog: watchdog@1e620 {
|
||||||
compatible = "arm,cortex-a9-twd-wdt";
|
compatible = "arm,cortex-a9-twd-wdt";
|
||||||
reg = <0x1e620 0x20>;
|
reg = <0x1e620 0x20>;
|
||||||
interupts = <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ config ARCH_EXYNOS3
|
|||||||
bool "SAMSUNG EXYNOS3"
|
bool "SAMSUNG EXYNOS3"
|
||||||
select ARM_CPU_SUSPEND if PM
|
select ARM_CPU_SUSPEND if PM
|
||||||
help
|
help
|
||||||
Samsung EXYNOS3 (Crotex-A7) SoC based systems
|
Samsung EXYNOS3 (Cortex-A7) SoC based systems
|
||||||
|
|
||||||
config ARCH_EXYNOS4
|
config ARCH_EXYNOS4
|
||||||
bool "SAMSUNG EXYNOS4"
|
bool "SAMSUNG EXYNOS4"
|
||||||
|
@ -1092,7 +1092,7 @@ static int __init edac_devinit(void)
|
|||||||
name = edac_device_names[i];
|
name = edac_device_names[i];
|
||||||
dev = platform_device_register_simple(name, -1, NULL, 0);
|
dev = platform_device_register_simple(name, -1, NULL, 0);
|
||||||
if (IS_ERR(dev)) {
|
if (IS_ERR(dev)) {
|
||||||
pr_err("Registation of %s failed!\n", name);
|
pr_err("Registration of %s failed!\n", name);
|
||||||
err = PTR_ERR(dev);
|
err = PTR_ERR(dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1103,7 +1103,7 @@ static int __init edac_devinit(void)
|
|||||||
dev = platform_device_register_simple("octeon_lmc_edac",
|
dev = platform_device_register_simple("octeon_lmc_edac",
|
||||||
i, NULL, 0);
|
i, NULL, 0);
|
||||||
if (IS_ERR(dev)) {
|
if (IS_ERR(dev)) {
|
||||||
pr_err("Registation of octeon_lmc_edac %d failed!\n", i);
|
pr_err("Registration of octeon_lmc_edac %d failed!\n", i);
|
||||||
err = PTR_ERR(dev);
|
err = PTR_ERR(dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -708,7 +708,7 @@ static int __init octeon_pci_setup(void)
|
|||||||
|
|
||||||
if (IS_ERR(platform_device_register_simple("octeon_pci_edac",
|
if (IS_ERR(platform_device_register_simple("octeon_pci_edac",
|
||||||
-1, NULL, 0)))
|
-1, NULL, 0)))
|
||||||
pr_err("Registation of co_pci_edac failed!\n");
|
pr_err("Registration of co_pci_edac failed!\n");
|
||||||
|
|
||||||
octeon_pci_dma_init();
|
octeon_pci_dma_init();
|
||||||
|
|
||||||
|
@ -661,7 +661,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type,
|
|||||||
if (unlikely((pr && !(mas3 & MAS3_UX)) ||
|
if (unlikely((pr && !(mas3 & MAS3_UX)) ||
|
||||||
(!pr && !(mas3 & MAS3_SX)))) {
|
(!pr && !(mas3 & MAS3_SX)))) {
|
||||||
pr_err_ratelimited(
|
pr_err_ratelimited(
|
||||||
"%s: Instuction emulation from guest addres %08lx without execute permission\n",
|
"%s: Instruction emulation from guest address %08lx without execute permission\n",
|
||||||
__func__, geaddr);
|
__func__, geaddr);
|
||||||
return EMULATE_AGAIN;
|
return EMULATE_AGAIN;
|
||||||
}
|
}
|
||||||
@ -673,7 +673,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type,
|
|||||||
if (has_feature(vcpu, VCPU_FTR_MMU_V2) &&
|
if (has_feature(vcpu, VCPU_FTR_MMU_V2) &&
|
||||||
unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) {
|
unlikely((mas2 & MAS2_I) || (mas2 & MAS2_W) || !(mas2 & MAS2_M))) {
|
||||||
pr_err_ratelimited(
|
pr_err_ratelimited(
|
||||||
"%s: Instuction emulation from guest addres %08lx mismatches storage attributes\n",
|
"%s: Instruction emulation from guest address %08lx mismatches storage attributes\n",
|
||||||
__func__, geaddr);
|
__func__, geaddr);
|
||||||
return EMULATE_AGAIN;
|
return EMULATE_AGAIN;
|
||||||
}
|
}
|
||||||
@ -686,7 +686,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type,
|
|||||||
|
|
||||||
/* Guard against emulation from devices area */
|
/* Guard against emulation from devices area */
|
||||||
if (unlikely(!page_is_ram(pfn))) {
|
if (unlikely(!page_is_ram(pfn))) {
|
||||||
pr_err_ratelimited("%s: Instruction emulation from non-RAM host addres %08llx is not supported\n",
|
pr_err_ratelimited("%s: Instruction emulation from non-RAM host address %08llx is not supported\n",
|
||||||
__func__, addr);
|
__func__, addr);
|
||||||
return EMULATE_AGAIN;
|
return EMULATE_AGAIN;
|
||||||
}
|
}
|
||||||
|
@ -718,4 +718,4 @@ err3; stb r0,0(r3)
|
|||||||
|
|
||||||
15: addi r1,r1,STACKFRAMESIZE
|
15: addi r1,r1,STACKFRAMESIZE
|
||||||
b exit_vmx_usercopy /* tail call optimise */
|
b exit_vmx_usercopy /* tail call optimise */
|
||||||
#endif /* CONFiG_ALTIVEC */
|
#endif /* CONFIG_ALTIVEC */
|
||||||
|
@ -653,4 +653,4 @@ _GLOBAL(memcpy_power7)
|
|||||||
15: addi r1,r1,STACKFRAMESIZE
|
15: addi r1,r1,STACKFRAMESIZE
|
||||||
ld r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
|
ld r3,-STACKFRAMESIZE+STK_REG(R31)(r1)
|
||||||
b exit_vmx_copy /* tail call optimise */
|
b exit_vmx_copy /* tail call optimise */
|
||||||
#endif /* CONFiG_ALTIVEC */
|
#endif /* CONFIG_ALTIVEC */
|
||||||
|
@ -67,7 +67,7 @@ static inline void _tlbil_va(unsigned long address, unsigned int pid,
|
|||||||
{
|
{
|
||||||
__tlbil_va(address, pid);
|
__tlbil_va(address, pid);
|
||||||
}
|
}
|
||||||
#endif /* CONIFG_8xx */
|
#endif /* CONFIG_8xx */
|
||||||
|
|
||||||
#if defined(CONFIG_PPC_BOOK3E) || defined(CONFIG_PPC_47x)
|
#if defined(CONFIG_PPC_BOOK3E) || defined(CONFIG_PPC_47x)
|
||||||
extern void _tlbivax_bcast(unsigned long address, unsigned int pid,
|
extern void _tlbivax_bcast(unsigned long address, unsigned int pid,
|
||||||
|
@ -220,7 +220,6 @@ config AKEBONO
|
|||||||
select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
|
select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
|
||||||
select MMC_SDHCI
|
select MMC_SDHCI
|
||||||
select MMC_SDHCI_PLTFM
|
select MMC_SDHCI_PLTFM
|
||||||
select MMC_SDHCI_OF_476GTR
|
|
||||||
select ATA
|
select ATA
|
||||||
select SATA_AHCI_PLATFORM
|
select SATA_AHCI_PLATFORM
|
||||||
help
|
help
|
||||||
|
@ -28,7 +28,7 @@ config COMMON_CLK_WM831X
|
|||||||
depends on MFD_WM831X
|
depends on MFD_WM831X
|
||||||
---help---
|
---help---
|
||||||
Supports the clocking subsystem of the WM831x/2x series of
|
Supports the clocking subsystem of the WM831x/2x series of
|
||||||
PMICs from Wolfson Microlectronics.
|
PMICs from Wolfson Microelectronics.
|
||||||
|
|
||||||
source "drivers/clk/versatile/Kconfig"
|
source "drivers/clk/versatile/Kconfig"
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ static int cpufreq_init(struct cpufreq_policy *policy)
|
|||||||
|
|
||||||
ret = allocate_resources(policy->cpu, &cpu_dev, &cpu_reg, &cpu_clk);
|
ret = allocate_resources(policy->cpu, &cpu_dev, &cpu_reg, &cpu_clk);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
pr_err("%s: Failed to allocate resources\n: %d", __func__, ret);
|
pr_err("%s: Failed to allocate resources: %d\n", __func__, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -686,7 +686,7 @@ static int gpio_msm_v1_probe(struct platform_device *pdev)
|
|||||||
irq_set_chained_handler(irq1, msm_gpio_irq_handler);
|
irq_set_chained_handler(irq1, msm_gpio_irq_handler);
|
||||||
irq_set_chained_handler(irq2, msm_gpio_irq_handler);
|
irq_set_chained_handler(irq2, msm_gpio_irq_handler);
|
||||||
irq_set_irq_wake(irq1, 1);
|
irq_set_irq_wake(irq1, 1);
|
||||||
irq_set_irq_wake(irq2, 2);
|
irq_set_irq_wake(irq2, 1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,5 +204,5 @@ static int __init spics_gpio_init(void)
|
|||||||
subsys_initcall(spics_gpio_init);
|
subsys_initcall(spics_gpio_init);
|
||||||
|
|
||||||
MODULE_AUTHOR("Shiraz Hashim <shiraz.linux.kernel@gmail.com>");
|
MODULE_AUTHOR("Shiraz Hashim <shiraz.linux.kernel@gmail.com>");
|
||||||
MODULE_DESCRIPTION("ST Microlectronics SPEAr SPI Chip Select Abstraction");
|
MODULE_DESCRIPTION("STMicroelectronics SPEAr SPI Chip Select Abstraction");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -347,7 +347,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_entry - get the struct for this entry
|
* list_entry - get the struct for this entry
|
||||||
* @ptr: the &struct list_head pointer.
|
* @ptr: the &struct list_head pointer.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_entry(ptr, type, member) \
|
#define list_entry(ptr, type, member) \
|
||||||
container_of(ptr, type, member)
|
container_of(ptr, type, member)
|
||||||
@ -356,7 +356,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_first_entry - get the first element from a list
|
* list_first_entry - get the first element from a list
|
||||||
* @ptr: the list head to take the element from.
|
* @ptr: the list head to take the element from.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Note, that list is expected to be not empty.
|
* Note, that list is expected to be not empty.
|
||||||
*/
|
*/
|
||||||
@ -406,7 +406,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry - iterate over list of given type
|
* list_for_each_entry - iterate over list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry(pos, head, member) \
|
#define list_for_each_entry(pos, head, member) \
|
||||||
for (pos = list_entry((head)->next, typeof(*pos), member); \
|
for (pos = list_entry((head)->next, typeof(*pos), member); \
|
||||||
@ -417,7 +417,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_reverse - iterate backwards over list of given type.
|
* list_for_each_entry_reverse - iterate backwards over list of given type.
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry_reverse(pos, head, member) \
|
#define list_for_each_entry_reverse(pos, head, member) \
|
||||||
for (pos = list_entry((head)->prev, typeof(*pos), member); \
|
for (pos = list_entry((head)->prev, typeof(*pos), member); \
|
||||||
@ -428,7 +428,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue()
|
* list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue()
|
||||||
* @pos: the type * to use as a start point
|
* @pos: the type * to use as a start point
|
||||||
* @head: the head of the list
|
* @head: the head of the list
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Prepares a pos entry for use as a start point in list_for_each_entry_continue().
|
* Prepares a pos entry for use as a start point in list_for_each_entry_continue().
|
||||||
*/
|
*/
|
||||||
@ -439,7 +439,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_continue - continue iteration over list of given type
|
* list_for_each_entry_continue - continue iteration over list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Continue to iterate over list of given type, continuing after
|
* Continue to iterate over list of given type, continuing after
|
||||||
* the current position.
|
* the current position.
|
||||||
@ -453,7 +453,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_continue_reverse - iterate backwards from the given point
|
* list_for_each_entry_continue_reverse - iterate backwards from the given point
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Start to iterate over list of given type backwards, continuing after
|
* Start to iterate over list of given type backwards, continuing after
|
||||||
* the current position.
|
* the current position.
|
||||||
@ -467,7 +467,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_from - iterate over list of given type from the current point
|
* list_for_each_entry_from - iterate over list of given type from the current point
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate over list of given type, continuing from current position.
|
* Iterate over list of given type, continuing from current position.
|
||||||
*/
|
*/
|
||||||
@ -480,7 +480,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry_safe(pos, n, head, member) \
|
#define list_for_each_entry_safe(pos, n, head, member) \
|
||||||
for (pos = list_entry((head)->next, typeof(*pos), member), \
|
for (pos = list_entry((head)->next, typeof(*pos), member), \
|
||||||
@ -493,7 +493,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate over list of given type, continuing after current point,
|
* Iterate over list of given type, continuing after current point,
|
||||||
* safe against removal of list entry.
|
* safe against removal of list entry.
|
||||||
@ -509,7 +509,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate over list of given type from current point, safe against
|
* Iterate over list of given type from current point, safe against
|
||||||
* removal of list entry.
|
* removal of list entry.
|
||||||
@ -524,7 +524,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate backwards over list of given type, safe against removal
|
* Iterate backwards over list of given type, safe against removal
|
||||||
* of list entry.
|
* of list entry.
|
||||||
|
@ -1334,7 +1334,7 @@ init_card(struct l1oip *hc, int pri, int bundle)
|
|||||||
if (id[l1oip_cnt] == 0) {
|
if (id[l1oip_cnt] == 0) {
|
||||||
printk(KERN_WARNING "Warning: No 'id' value given or "
|
printk(KERN_WARNING "Warning: No 'id' value given or "
|
||||||
"0, this is highly unsecure. Please use 32 "
|
"0, this is highly unsecure. Please use 32 "
|
||||||
"bit randmom number 0x...\n");
|
"bit random number 0x...\n");
|
||||||
}
|
}
|
||||||
hc->id = id[l1oip_cnt];
|
hc->id = id[l1oip_cnt];
|
||||||
if (debug & DEBUG_L1OIP_INIT)
|
if (debug & DEBUG_L1OIP_INIT)
|
||||||
|
@ -290,7 +290,7 @@ struct cx18_options {
|
|||||||
* list_entry_is_past_end - check if a previous loop cursor is off list end
|
* list_entry_is_past_end - check if a previous loop cursor is off list end
|
||||||
* @pos: the type * previously used as a loop cursor.
|
* @pos: the type * previously used as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Check if the entry's list_head is the head of the list, thus it's not a
|
* Check if the entry's list_head is the head of the list, thus it's not a
|
||||||
* real entry but was the loop cursor that walked past the end
|
* real entry but was the loop cursor that walked past the end
|
||||||
|
@ -490,7 +490,7 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte
|
|||||||
|
|
||||||
if(detected == 0)
|
if(detected == 0)
|
||||||
printk("budget-patch not detected or saa7146 in non-default state.\n"
|
printk("budget-patch not detected or saa7146 in non-default state.\n"
|
||||||
"try enabling ressetting of 7146 with MASK_31 in MC1 register\n");
|
"try enabling resetting of 7146 with MASK_31 in MC1 register\n");
|
||||||
|
|
||||||
else
|
else
|
||||||
printk("BUDGET-PATCH DETECTED.\n");
|
printk("BUDGET-PATCH DETECTED.\n");
|
||||||
|
@ -48,7 +48,7 @@ MODULE_DEVICE_TABLE(pci, atl1c_pci_tbl);
|
|||||||
|
|
||||||
MODULE_AUTHOR("Jie Yang");
|
MODULE_AUTHOR("Jie Yang");
|
||||||
MODULE_AUTHOR("Qualcomm Atheros Inc., <nic-devel@qualcomm.com>");
|
MODULE_AUTHOR("Qualcomm Atheros Inc., <nic-devel@qualcomm.com>");
|
||||||
MODULE_DESCRIPTION("Qualcom Atheros 100/1000M Ethernet Network Driver");
|
MODULE_DESCRIPTION("Qualcomm Atheros 100/1000M Ethernet Network Driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_VERSION(ATL1C_DRV_VERSION);
|
MODULE_VERSION(ATL1C_DRV_VERSION);
|
||||||
|
|
||||||
|
@ -724,5 +724,5 @@ static int __init plgpio_init(void)
|
|||||||
subsys_initcall(plgpio_init);
|
subsys_initcall(plgpio_init);
|
||||||
|
|
||||||
MODULE_AUTHOR("Viresh Kumar <viresh.kumar@linaro.org>");
|
MODULE_AUTHOR("Viresh Kumar <viresh.kumar@linaro.org>");
|
||||||
MODULE_DESCRIPTION("ST Microlectronics SPEAr PLGPIO driver");
|
MODULE_DESCRIPTION("STMicroelectronics SPEAr PLGPIO driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -593,7 +593,7 @@ static void ips_disable_gpu_turbo(struct ips_driver *ips)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (!ips->gpu_turbo_disable())
|
if (!ips->gpu_turbo_disable())
|
||||||
dev_err(&ips->dev->dev, "failed to disable graphis turbo\n");
|
dev_err(&ips->dev->dev, "failed to disable graphics turbo\n");
|
||||||
else
|
else
|
||||||
ips->__gpu_turbo_on = false;
|
ips->__gpu_turbo_on = false;
|
||||||
}
|
}
|
||||||
|
@ -1090,7 +1090,7 @@ tape_3590_print_io_sim_msg_f1(struct tape_device *device, struct irb *irb)
|
|||||||
"channel path 0x%x on CU",
|
"channel path 0x%x on CU",
|
||||||
sense->fmt.f71.md[1]);
|
sense->fmt.f71.md[1]);
|
||||||
else
|
else
|
||||||
snprintf(service, BUFSIZE, "Repair will disable cannel"
|
snprintf(service, BUFSIZE, "Repair will disable channel"
|
||||||
" paths (0x%x-0x%x) on CU",
|
" paths (0x%x-0x%x) on CU",
|
||||||
sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
|
sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
|
||||||
break;
|
break;
|
||||||
@ -1481,7 +1481,7 @@ tape_3590_irq(struct tape_device *device, struct tape_request *request,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) {
|
if (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) {
|
||||||
DBF_EVENT(2, "cannel end\n");
|
DBF_EVENT(2, "channel end\n");
|
||||||
return TAPE_IO_PENDING;
|
return TAPE_IO_PENDING;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -588,7 +588,7 @@ int isci_task_abort_task(struct sas_task *task)
|
|||||||
|
|
||||||
ret = TMF_RESP_FUNC_COMPLETE;
|
ret = TMF_RESP_FUNC_COMPLETE;
|
||||||
} else {
|
} else {
|
||||||
/* Fill in the tmf stucture */
|
/* Fill in the tmf structure */
|
||||||
isci_task_build_abort_task_tmf(&tmf, isci_tmf_ssp_task_abort,
|
isci_task_build_abort_task_tmf(&tmf, isci_tmf_ssp_task_abort,
|
||||||
old_request);
|
old_request);
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ static void mac_scsi_reset_boot(struct Scsi_Host *instance)
|
|||||||
XXX: Since bus errors in the PDMA routines never happen on my
|
XXX: Since bus errors in the PDMA routines never happen on my
|
||||||
computer, the bus error code is untested.
|
computer, the bus error code is untested.
|
||||||
If the code works as intended, a bus error results in Pseudo-DMA
|
If the code works as intended, a bus error results in Pseudo-DMA
|
||||||
beeing disabled, meaning that the driver switches to slow handshake.
|
being disabled, meaning that the driver switches to slow handshake.
|
||||||
If bus errors are NOT extremely rare, this has to be changed.
|
If bus errors are NOT extremely rare, this has to be changed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -6783,7 +6783,7 @@ static int __init megasas_init(void)
|
|||||||
rval = pci_register_driver(&megasas_pci_driver);
|
rval = pci_register_driver(&megasas_pci_driver);
|
||||||
|
|
||||||
if (rval) {
|
if (rval) {
|
||||||
printk(KERN_DEBUG "megasas: PCI hotplug regisration failed \n");
|
printk(KERN_DEBUG "megasas: PCI hotplug registration failed \n");
|
||||||
goto err_pcidrv;
|
goto err_pcidrv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ struct mpt2_ioctl_eventreport {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct mpt2_ioctl_command - generic mpt firmware passthru ioclt
|
* struct mpt2_ioctl_command - generic mpt firmware passthru ioctl
|
||||||
* @hdr - generic header
|
* @hdr - generic header
|
||||||
* @timeout - command timeout in seconds. (if zero then use driver default
|
* @timeout - command timeout in seconds. (if zero then use driver default
|
||||||
* value).
|
* value).
|
||||||
|
@ -383,6 +383,7 @@ static int ps3rom_probe(struct ps3_system_bus_device *_dev)
|
|||||||
if (!host) {
|
if (!host) {
|
||||||
dev_err(&dev->sbd.core, "%s:%u: scsi_host_alloc failed\n",
|
dev_err(&dev->sbd.core, "%s:%u: scsi_host_alloc failed\n",
|
||||||
__func__, __LINE__);
|
__func__, __LINE__);
|
||||||
|
error = -ENOMEM;
|
||||||
goto fail_teardown;
|
goto fail_teardown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -335,7 +335,7 @@ static int target_xcopy_parse_segment_descriptors(struct se_cmd *se_cmd,
|
|||||||
desc += XCOPY_SEGMENT_DESC_LEN;
|
desc += XCOPY_SEGMENT_DESC_LEN;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pr_err("XCOPY unspported segment descriptor"
|
pr_err("XCOPY unsupported segment descriptor"
|
||||||
"type: 0x%02x\n", desc[0]);
|
"type: 0x%02x\n", desc[0]);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
@ -701,7 +701,7 @@ config PDC_CONSOLE
|
|||||||
Saying Y here will enable the software based PDC console to be
|
Saying Y here will enable the software based PDC console to be
|
||||||
used as the system console. This is useful for machines in
|
used as the system console. This is useful for machines in
|
||||||
which the hardware based console has not been written yet. The
|
which the hardware based console has not been written yet. The
|
||||||
following steps must be competed to use the PDC console:
|
following steps must be completed to use the PDC console:
|
||||||
|
|
||||||
1. create the device entry (mknod /dev/ttyB0 c 11 0)
|
1. create the device entry (mknod /dev/ttyB0 c 11 0)
|
||||||
2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
|
2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
|
||||||
|
@ -396,7 +396,7 @@ static int hidg_setup(struct usb_function *f,
|
|||||||
|
|
||||||
case ((USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8
|
case ((USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8
|
||||||
| HID_REQ_SET_REPORT):
|
| HID_REQ_SET_REPORT):
|
||||||
VDBG(cdev, "set_report | wLenght=%d\n", ctrl->wLength);
|
VDBG(cdev, "set_report | wLength=%d\n", ctrl->wLength);
|
||||||
goto stall;
|
goto stall;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* Why is *this* driver using two configurations, rather than setting up
|
* Why is *this* driver using two configurations, rather than setting up
|
||||||
* two interfaces with different functions? To help verify that multiple
|
* two interfaces with different functions? To help verify that multiple
|
||||||
* configuration infrastucture is working correctly; also, so that it can
|
* configuration infrastructure is working correctly; also, so that it can
|
||||||
* work with low capability USB controllers without four bulk endpoints.
|
* work with low capability USB controllers without four bulk endpoints.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev,
|
|||||||
|
|
||||||
if (allocated_max > uframe_periodic_max) {
|
if (allocated_max > uframe_periodic_max) {
|
||||||
ehci_info(ehci,
|
ehci_info(ehci,
|
||||||
"cannot decrease uframe_periodic_max becase "
|
"cannot decrease uframe_periodic_max because "
|
||||||
"periodic bandwidth is already allocated "
|
"periodic bandwidth is already allocated "
|
||||||
"(%u > %u)\n",
|
"(%u > %u)\n",
|
||||||
allocated_max, uframe_periodic_max);
|
allocated_max, uframe_periodic_max);
|
||||||
|
@ -4958,7 +4958,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev,
|
|||||||
|
|
||||||
if (allocated_max > uframe_periodic_max) {
|
if (allocated_max > uframe_periodic_max) {
|
||||||
fotg210_info(fotg210,
|
fotg210_info(fotg210,
|
||||||
"cannot decrease uframe_periodic_max becase "
|
"cannot decrease uframe_periodic_max because "
|
||||||
"periodic bandwidth is already allocated "
|
"periodic bandwidth is already allocated "
|
||||||
"(%u > %u)\n",
|
"(%u > %u)\n",
|
||||||
allocated_max, uframe_periodic_max);
|
allocated_max, uframe_periodic_max);
|
||||||
|
@ -4893,7 +4893,7 @@ static ssize_t store_uframe_periodic_max(struct device *dev,
|
|||||||
|
|
||||||
if (allocated_max > uframe_periodic_max) {
|
if (allocated_max > uframe_periodic_max) {
|
||||||
fusbh200_info(fusbh200,
|
fusbh200_info(fusbh200,
|
||||||
"cannot decrease uframe_periodic_max becase "
|
"cannot decrease uframe_periodic_max because "
|
||||||
"periodic bandwidth is already allocated "
|
"periodic bandwidth is already allocated "
|
||||||
"(%u > %u)\n",
|
"(%u > %u)\n",
|
||||||
allocated_max, uframe_periodic_max);
|
allocated_max, uframe_periodic_max);
|
||||||
|
@ -64,7 +64,7 @@ DEVICE(vivopay, VIVOPAY_IDS);
|
|||||||
/* Motorola USB Phone driver */
|
/* Motorola USB Phone driver */
|
||||||
#define MOTO_IDS() \
|
#define MOTO_IDS() \
|
||||||
{ USB_DEVICE(0x05c6, 0x3197) }, /* unknown Motorola phone */ \
|
{ USB_DEVICE(0x05c6, 0x3197) }, /* unknown Motorola phone */ \
|
||||||
{ USB_DEVICE(0x0c44, 0x0022) }, /* unknown Mororola phone */ \
|
{ USB_DEVICE(0x0c44, 0x0022) }, /* unknown Motorola phone */ \
|
||||||
{ USB_DEVICE(0x22b8, 0x2a64) }, /* Motorola KRZR K1m */ \
|
{ USB_DEVICE(0x22b8, 0x2a64) }, /* Motorola KRZR K1m */ \
|
||||||
{ USB_DEVICE(0x22b8, 0x2c84) }, /* Motorola VE240 phone */ \
|
{ USB_DEVICE(0x22b8, 0x2c84) }, /* Motorola VE240 phone */ \
|
||||||
{ USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */
|
{ USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */
|
||||||
|
@ -570,5 +570,5 @@ static struct platform_driver exynos_mipi_dsi_driver = {
|
|||||||
module_platform_driver(exynos_mipi_dsi_driver);
|
module_platform_driver(exynos_mipi_dsi_driver);
|
||||||
|
|
||||||
MODULE_AUTHOR("InKi Dae <inki.dae@samsung.com>");
|
MODULE_AUTHOR("InKi Dae <inki.dae@samsung.com>");
|
||||||
MODULE_DESCRIPTION("Samusung SoC MIPI-DSI driver");
|
MODULE_DESCRIPTION("Samsung SoC MIPI-DSI driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -876,5 +876,5 @@ int exynos_mipi_dsi_fifo_clear(struct mipi_dsim_device *dsim,
|
|||||||
}
|
}
|
||||||
|
|
||||||
MODULE_AUTHOR("InKi Dae <inki.dae@samsung.com>");
|
MODULE_AUTHOR("InKi Dae <inki.dae@samsung.com>");
|
||||||
MODULE_DESCRIPTION("Samusung SoC MIPI-DSI common driver");
|
MODULE_DESCRIPTION("Samsung SoC MIPI-DSI common driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@ -2772,7 +2772,7 @@ int journal_init(struct super_block *sb, const char *j_dev_name,
|
|||||||
|
|
||||||
if (journal_init_dev(sb, journal, j_dev_name) != 0) {
|
if (journal_init_dev(sb, journal, j_dev_name) != 0) {
|
||||||
reiserfs_warning(sb, "sh-462",
|
reiserfs_warning(sb, "sh-462",
|
||||||
"unable to initialize jornal device");
|
"unable to initialize journal device");
|
||||||
goto free_and_return;
|
goto free_and_return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -346,7 +346,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_entry - get the struct for this entry
|
* list_entry - get the struct for this entry
|
||||||
* @ptr: the &struct list_head pointer.
|
* @ptr: the &struct list_head pointer.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_entry(ptr, type, member) \
|
#define list_entry(ptr, type, member) \
|
||||||
container_of(ptr, type, member)
|
container_of(ptr, type, member)
|
||||||
@ -355,7 +355,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_first_entry - get the first element from a list
|
* list_first_entry - get the first element from a list
|
||||||
* @ptr: the list head to take the element from.
|
* @ptr: the list head to take the element from.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Note, that list is expected to be not empty.
|
* Note, that list is expected to be not empty.
|
||||||
*/
|
*/
|
||||||
@ -366,7 +366,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_last_entry - get the last element from a list
|
* list_last_entry - get the last element from a list
|
||||||
* @ptr: the list head to take the element from.
|
* @ptr: the list head to take the element from.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Note, that list is expected to be not empty.
|
* Note, that list is expected to be not empty.
|
||||||
*/
|
*/
|
||||||
@ -377,7 +377,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_first_entry_or_null - get the first element from a list
|
* list_first_entry_or_null - get the first element from a list
|
||||||
* @ptr: the list head to take the element from.
|
* @ptr: the list head to take the element from.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Note that if the list is empty, it returns NULL.
|
* Note that if the list is empty, it returns NULL.
|
||||||
*/
|
*/
|
||||||
@ -387,7 +387,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
/**
|
/**
|
||||||
* list_next_entry - get the next element in list
|
* list_next_entry - get the next element in list
|
||||||
* @pos: the type * to cursor
|
* @pos: the type * to cursor
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_next_entry(pos, member) \
|
#define list_next_entry(pos, member) \
|
||||||
list_entry((pos)->member.next, typeof(*(pos)), member)
|
list_entry((pos)->member.next, typeof(*(pos)), member)
|
||||||
@ -395,7 +395,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
/**
|
/**
|
||||||
* list_prev_entry - get the prev element in list
|
* list_prev_entry - get the prev element in list
|
||||||
* @pos: the type * to cursor
|
* @pos: the type * to cursor
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_prev_entry(pos, member) \
|
#define list_prev_entry(pos, member) \
|
||||||
list_entry((pos)->member.prev, typeof(*(pos)), member)
|
list_entry((pos)->member.prev, typeof(*(pos)), member)
|
||||||
@ -441,7 +441,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry - iterate over list of given type
|
* list_for_each_entry - iterate over list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry(pos, head, member) \
|
#define list_for_each_entry(pos, head, member) \
|
||||||
for (pos = list_first_entry(head, typeof(*pos), member); \
|
for (pos = list_first_entry(head, typeof(*pos), member); \
|
||||||
@ -452,7 +452,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_reverse - iterate backwards over list of given type.
|
* list_for_each_entry_reverse - iterate backwards over list of given type.
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry_reverse(pos, head, member) \
|
#define list_for_each_entry_reverse(pos, head, member) \
|
||||||
for (pos = list_last_entry(head, typeof(*pos), member); \
|
for (pos = list_last_entry(head, typeof(*pos), member); \
|
||||||
@ -463,7 +463,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue()
|
* list_prepare_entry - prepare a pos entry for use in list_for_each_entry_continue()
|
||||||
* @pos: the type * to use as a start point
|
* @pos: the type * to use as a start point
|
||||||
* @head: the head of the list
|
* @head: the head of the list
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Prepares a pos entry for use as a start point in list_for_each_entry_continue().
|
* Prepares a pos entry for use as a start point in list_for_each_entry_continue().
|
||||||
*/
|
*/
|
||||||
@ -474,7 +474,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_continue - continue iteration over list of given type
|
* list_for_each_entry_continue - continue iteration over list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Continue to iterate over list of given type, continuing after
|
* Continue to iterate over list of given type, continuing after
|
||||||
* the current position.
|
* the current position.
|
||||||
@ -488,7 +488,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_continue_reverse - iterate backwards from the given point
|
* list_for_each_entry_continue_reverse - iterate backwards from the given point
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Start to iterate over list of given type backwards, continuing after
|
* Start to iterate over list of given type backwards, continuing after
|
||||||
* the current position.
|
* the current position.
|
||||||
@ -502,7 +502,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_for_each_entry_from - iterate over list of given type from the current point
|
* list_for_each_entry_from - iterate over list of given type from the current point
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate over list of given type, continuing from current position.
|
* Iterate over list of given type, continuing from current position.
|
||||||
*/
|
*/
|
||||||
@ -515,7 +515,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry_safe(pos, n, head, member) \
|
#define list_for_each_entry_safe(pos, n, head, member) \
|
||||||
for (pos = list_first_entry(head, typeof(*pos), member), \
|
for (pos = list_first_entry(head, typeof(*pos), member), \
|
||||||
@ -528,7 +528,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate over list of given type, continuing after current point,
|
* Iterate over list of given type, continuing after current point,
|
||||||
* safe against removal of list entry.
|
* safe against removal of list entry.
|
||||||
@ -544,7 +544,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate over list of given type from current point, safe against
|
* Iterate over list of given type from current point, safe against
|
||||||
* removal of list entry.
|
* removal of list entry.
|
||||||
@ -559,7 +559,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Iterate backwards over list of given type, safe against removal
|
* Iterate backwards over list of given type, safe against removal
|
||||||
* of list entry.
|
* of list entry.
|
||||||
@ -574,7 +574,7 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||||||
* list_safe_reset_next - reset a stale list_for_each_entry_safe loop
|
* list_safe_reset_next - reset a stale list_for_each_entry_safe loop
|
||||||
* @pos: the loop cursor used in the list_for_each_entry_safe loop
|
* @pos: the loop cursor used in the list_for_each_entry_safe loop
|
||||||
* @n: temporary storage used in list_for_each_entry_safe
|
* @n: temporary storage used in list_for_each_entry_safe
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* list_safe_reset_next is not safe to use in general if the list may be
|
* list_safe_reset_next is not safe to use in general if the list may be
|
||||||
* modified concurrently (eg. the lock is dropped in the loop body). An
|
* modified concurrently (eg. the lock is dropped in the loop body). An
|
||||||
|
@ -69,7 +69,7 @@ struct ieee1394_device_id {
|
|||||||
* @bDeviceClass: Class of device; numbers are assigned
|
* @bDeviceClass: Class of device; numbers are assigned
|
||||||
* by the USB forum. Products may choose to implement classes,
|
* by the USB forum. Products may choose to implement classes,
|
||||||
* or be vendor-specific. Device classes specify behavior of all
|
* or be vendor-specific. Device classes specify behavior of all
|
||||||
* the interfaces on a devices.
|
* the interfaces on a device.
|
||||||
* @bDeviceSubClass: Subclass of device; associated with bDeviceClass.
|
* @bDeviceSubClass: Subclass of device; associated with bDeviceClass.
|
||||||
* @bDeviceProtocol: Protocol of device; associated with bDeviceClass.
|
* @bDeviceProtocol: Protocol of device; associated with bDeviceClass.
|
||||||
* @bInterfaceClass: Class of interface; numbers are assigned
|
* @bInterfaceClass: Class of interface; numbers are assigned
|
||||||
|
@ -176,7 +176,7 @@ extern void plist_requeue(struct plist_node *node, struct plist_head *head);
|
|||||||
* plist_for_each_entry - iterate over list of given type
|
* plist_for_each_entry - iterate over list of given type
|
||||||
* @pos: the type * to use as a loop counter
|
* @pos: the type * to use as a loop counter
|
||||||
* @head: the head for your list
|
* @head: the head for your list
|
||||||
* @mem: the name of the list_struct within the struct
|
* @mem: the name of the list_head within the struct
|
||||||
*/
|
*/
|
||||||
#define plist_for_each_entry(pos, head, mem) \
|
#define plist_for_each_entry(pos, head, mem) \
|
||||||
list_for_each_entry(pos, &(head)->node_list, mem.node_list)
|
list_for_each_entry(pos, &(head)->node_list, mem.node_list)
|
||||||
@ -185,7 +185,7 @@ extern void plist_requeue(struct plist_node *node, struct plist_head *head);
|
|||||||
* plist_for_each_entry_continue - continue iteration over list of given type
|
* plist_for_each_entry_continue - continue iteration over list of given type
|
||||||
* @pos: the type * to use as a loop cursor
|
* @pos: the type * to use as a loop cursor
|
||||||
* @head: the head for your list
|
* @head: the head for your list
|
||||||
* @m: the name of the list_struct within the struct
|
* @m: the name of the list_head within the struct
|
||||||
*
|
*
|
||||||
* Continue to iterate over list of given type, continuing after
|
* Continue to iterate over list of given type, continuing after
|
||||||
* the current position.
|
* the current position.
|
||||||
@ -198,7 +198,7 @@ extern void plist_requeue(struct plist_node *node, struct plist_head *head);
|
|||||||
* @pos: the type * to use as a loop counter
|
* @pos: the type * to use as a loop counter
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list
|
* @head: the head for your list
|
||||||
* @m: the name of the list_struct within the struct
|
* @m: the name of the list_head within the struct
|
||||||
*
|
*
|
||||||
* Iterate over list of given type, safe against removal of list entry.
|
* Iterate over list of given type, safe against removal of list entry.
|
||||||
*/
|
*/
|
||||||
@ -229,7 +229,7 @@ static inline int plist_node_empty(const struct plist_node *node)
|
|||||||
* plist_first_entry - get the struct for the first entry
|
* plist_first_entry - get the struct for the first entry
|
||||||
* @head: the &struct plist_head pointer
|
* @head: the &struct plist_head pointer
|
||||||
* @type: the type of the struct this is embedded in
|
* @type: the type of the struct this is embedded in
|
||||||
* @member: the name of the list_struct within the struct
|
* @member: the name of the list_head within the struct
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_DEBUG_PI_LIST
|
#ifdef CONFIG_DEBUG_PI_LIST
|
||||||
# define plist_first_entry(head, type, member) \
|
# define plist_first_entry(head, type, member) \
|
||||||
@ -246,7 +246,7 @@ static inline int plist_node_empty(const struct plist_node *node)
|
|||||||
* plist_last_entry - get the struct for the last entry
|
* plist_last_entry - get the struct for the last entry
|
||||||
* @head: the &struct plist_head pointer
|
* @head: the &struct plist_head pointer
|
||||||
* @type: the type of the struct this is embedded in
|
* @type: the type of the struct this is embedded in
|
||||||
* @member: the name of the list_struct within the struct
|
* @member: the name of the list_head within the struct
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_DEBUG_PI_LIST
|
#ifdef CONFIG_DEBUG_PI_LIST
|
||||||
# define plist_last_entry(head, type, member) \
|
# define plist_last_entry(head, type, member) \
|
||||||
|
@ -241,7 +241,7 @@ static inline void list_splice_init_rcu(struct list_head *list,
|
|||||||
* list_entry_rcu - get the struct for this entry
|
* list_entry_rcu - get the struct for this entry
|
||||||
* @ptr: the &struct list_head pointer.
|
* @ptr: the &struct list_head pointer.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* This primitive may safely run concurrently with the _rcu list-mutation
|
* This primitive may safely run concurrently with the _rcu list-mutation
|
||||||
* primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock().
|
* primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock().
|
||||||
@ -278,7 +278,7 @@ static inline void list_splice_init_rcu(struct list_head *list,
|
|||||||
* list_first_or_null_rcu - get the first element from a list
|
* list_first_or_null_rcu - get the first element from a list
|
||||||
* @ptr: the list head to take the element from.
|
* @ptr: the list head to take the element from.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Note that if the list is empty, it returns NULL.
|
* Note that if the list is empty, it returns NULL.
|
||||||
*
|
*
|
||||||
@ -296,7 +296,7 @@ static inline void list_splice_init_rcu(struct list_head *list,
|
|||||||
* list_for_each_entry_rcu - iterate over rcu list of given type
|
* list_for_each_entry_rcu - iterate over rcu list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* This list-traversal primitive may safely run concurrently with
|
* This list-traversal primitive may safely run concurrently with
|
||||||
* the _rcu list-mutation primitives such as list_add_rcu()
|
* the _rcu list-mutation primitives such as list_add_rcu()
|
||||||
@ -311,7 +311,7 @@ static inline void list_splice_init_rcu(struct list_head *list,
|
|||||||
* list_for_each_entry_continue_rcu - continue iteration over list of given type
|
* list_for_each_entry_continue_rcu - continue iteration over list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*
|
*
|
||||||
* Continue to iterate over list of given type, continuing after
|
* Continue to iterate over list of given type, continuing after
|
||||||
* the current position.
|
* the current position.
|
||||||
|
@ -554,7 +554,7 @@ struct Scsi_Host {
|
|||||||
* __devices is protected by the host_lock, but you should
|
* __devices is protected by the host_lock, but you should
|
||||||
* usually use scsi_device_lookup / shost_for_each_device
|
* usually use scsi_device_lookup / shost_for_each_device
|
||||||
* to access it and don't care about locking yourself.
|
* to access it and don't care about locking yourself.
|
||||||
* In the rare case of beeing in irq context you can use
|
* In the rare case of being in irq context you can use
|
||||||
* their __ prefixed variants with the lock held. NEVER
|
* their __ prefixed variants with the lock held. NEVER
|
||||||
* access this list directly from a driver.
|
* access this list directly from a driver.
|
||||||
*/
|
*/
|
||||||
|
@ -792,7 +792,7 @@ int __clocksource_register_scale(struct clocksource *cs, u32 scale, u32 freq)
|
|||||||
/* Initialize mult/shift and max_idle_ns */
|
/* Initialize mult/shift and max_idle_ns */
|
||||||
__clocksource_updatefreq_scale(cs, scale, freq);
|
__clocksource_updatefreq_scale(cs, scale, freq);
|
||||||
|
|
||||||
/* Add clocksource to the clcoksource list */
|
/* Add clocksource to the clocksource list */
|
||||||
mutex_lock(&clocksource_mutex);
|
mutex_lock(&clocksource_mutex);
|
||||||
clocksource_enqueue(cs);
|
clocksource_enqueue(cs);
|
||||||
clocksource_enqueue_watchdog(cs);
|
clocksource_enqueue_watchdog(cs);
|
||||||
|
@ -2031,7 +2031,7 @@ void trace_printk_init_buffers(void)
|
|||||||
pr_warning("** trace_printk() being used. Allocating extra memory. **\n");
|
pr_warning("** trace_printk() being used. Allocating extra memory. **\n");
|
||||||
pr_warning("** **\n");
|
pr_warning("** **\n");
|
||||||
pr_warning("** This means that this is a DEBUG kernel and it is **\n");
|
pr_warning("** This means that this is a DEBUG kernel and it is **\n");
|
||||||
pr_warning("** unsafe for produciton use. **\n");
|
pr_warning("** unsafe for production use. **\n");
|
||||||
pr_warning("** **\n");
|
pr_warning("** **\n");
|
||||||
pr_warning("** If you see this message and you are not debugging **\n");
|
pr_warning("** If you see this message and you are not debugging **\n");
|
||||||
pr_warning("** the kernel, report this immediately to your vendor! **\n");
|
pr_warning("** the kernel, report this immediately to your vendor! **\n");
|
||||||
|
@ -619,5 +619,5 @@ module_init(init_zbud);
|
|||||||
module_exit(exit_zbud);
|
module_exit(exit_zbud);
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Seth Jennings <sjenning@linux.vnet.ibm.com>");
|
MODULE_AUTHOR("Seth Jennings <sjennings@variantweb.net>");
|
||||||
MODULE_DESCRIPTION("Buddy Allocator for Compressed Pages");
|
MODULE_DESCRIPTION("Buddy Allocator for Compressed Pages");
|
||||||
|
@ -951,5 +951,5 @@ error:
|
|||||||
late_initcall(init_zswap);
|
late_initcall(init_zswap);
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Seth Jennings <sjenning@linux.vnet.ibm.com>");
|
MODULE_AUTHOR("Seth Jennings <sjennings@variantweb.net>");
|
||||||
MODULE_DESCRIPTION("Compressed cache for swap pages");
|
MODULE_DESCRIPTION("Compressed cache for swap pages");
|
||||||
|
@ -34,7 +34,7 @@ struct list_head {
|
|||||||
* list_entry - get the struct for this entry
|
* list_entry - get the struct for this entry
|
||||||
* @ptr: the &struct list_head pointer.
|
* @ptr: the &struct list_head pointer.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_entry(ptr, type, member) \
|
#define list_entry(ptr, type, member) \
|
||||||
container_of(ptr, type, member)
|
container_of(ptr, type, member)
|
||||||
@ -43,7 +43,7 @@ struct list_head {
|
|||||||
* list_for_each_entry - iterate over list of given type
|
* list_for_each_entry - iterate over list of given type
|
||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry(pos, head, member) \
|
#define list_for_each_entry(pos, head, member) \
|
||||||
for (pos = list_entry((head)->next, typeof(*pos), member); \
|
for (pos = list_entry((head)->next, typeof(*pos), member); \
|
||||||
@ -55,7 +55,7 @@ struct list_head {
|
|||||||
* @pos: the type * to use as a loop cursor.
|
* @pos: the type * to use as a loop cursor.
|
||||||
* @n: another type * to use as temporary storage
|
* @n: another type * to use as temporary storage
|
||||||
* @head: the head for your list.
|
* @head: the head for your list.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_for_each_entry_safe(pos, n, head, member) \
|
#define list_for_each_entry_safe(pos, n, head, member) \
|
||||||
for (pos = list_entry((head)->next, typeof(*pos), member), \
|
for (pos = list_entry((head)->next, typeof(*pos), member), \
|
||||||
|
@ -342,7 +342,7 @@ int main(int argc, char *argv[])
|
|||||||
iobuf[i].requested = ret;
|
iobuf[i].requested = ret;
|
||||||
printf("submit: %d requests buf: %d\n", ret, i);
|
printf("submit: %d requests buf: %d\n", ret, i);
|
||||||
} else
|
} else
|
||||||
perror("unable to submit reqests");
|
perror("unable to submit requests");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if event is ready to read */
|
/* if event is ready to read */
|
||||||
|
@ -98,7 +98,7 @@ static inline void list_del(struct list_head *entry)
|
|||||||
* list_entry - get the struct for this entry
|
* list_entry - get the struct for this entry
|
||||||
* @ptr: the &struct list_head pointer.
|
* @ptr: the &struct list_head pointer.
|
||||||
* @type: the type of the struct this is embedded in.
|
* @type: the type of the struct this is embedded in.
|
||||||
* @member: the name of the list_struct within the struct.
|
* @member: the name of the list_head within the struct.
|
||||||
*/
|
*/
|
||||||
#define list_entry(ptr, type, member) \
|
#define list_entry(ptr, type, member) \
|
||||||
container_of(ptr, type, member)
|
container_of(ptr, type, member)
|
||||||
|
Loading…
Reference in New Issue
Block a user