Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial

Pull trivial tree from Jiri Kosina:
"Trivial updates all over the place as usual."

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (29 commits)
Fix typo in include/linux/clk.h .
pci: hotplug: Fix typo in pci
iommu: Fix typo in iommu
video: Fix typo in drivers/video
Documentation: Add newline at end-of-file to files lacking one
arm,unicore32: Remove obsolete "select MISC_DEVICES"
module.c: spelling s/postition/position/g
cpufreq: Fix typo in cpufreq driver
trivial: typo in comment in mksysmap
mach-omap2: Fix typo in debug message and comment
scsi: aha152x: Fix sparse warning and make printing pointer address more portable.
Change email address for Steve Glendinning
Btrfs: fix typo in convert_extent_bit
via: Remove bogus if check
netprio_cgroup.c: fix comment typo
backlight: fix memory leak on obscure error path
Documentation: asus-laptop.txt references an obsolete Kconfig item
Documentation: ManagementStyle: fixed typo
mm/vmscan: cleanup comment error in balance_pgdat
mm: cleanup on the comments of zone_reclaim_stat
...

+110 -112
Documentation/ABI/stable/vdso
Documentation/ABI/testing/sysfs-block-zram
Documentation/ABI/testing/sysfs-bus-usb-devices-usbsevseg
Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870
+1 -1
Documentation/ManagementStyle
··· 178 178 knowledge that we're better than the average person (let's face it, 179 179 nobody ever believes that they're average or below-average), we should 180 180 also admit that we're not the sharpest knife around, and there will be 181 - other people that are less of an idiot that you are. 181 + other people that are less of an idiot than you are. 182 182 183 183 Some people react badly to smart people. Others take advantage of them. 184 184
Documentation/arm/Samsung-S3C24XX/H1940.txt
Documentation/arm/Samsung-S3C24XX/SMDK2440.txt
+2
Documentation/devices.txt
··· 2416 2416 1 = /dev/raw/raw1 First raw I/O device 2417 2417 2 = /dev/raw/raw2 Second raw I/O device 2418 2418 ... 2419 + max minor number of raw device is set by kernel config 2420 + MAX_RAW_DEVS or raw module parameter 'max_raw_devs' 2419 2421 2420 2422 163 char 2421 2423
+1 -2
Documentation/laptops/asus-laptop.txt
··· 151 151 152 152 Debugging: 153 153 1) Check whether the Fn+F8 key: 154 - a) does not lock the laptop (try disabling CONFIG_X86_UP_APIC or boot with 155 - noapic / nolapic if it does) 154 + a) does not lock the laptop (try a boot with noapic / nolapic if it does) 156 155 b) generates events (0x6n, where n is the value corresponding to the 157 156 configuration above) 158 157 c) actually works
Documentation/sound/alsa/hdspm.txt
Documentation/video4linux/cpia2_overview.txt
Documentation/video4linux/stv680.txt
+10 -10
MAINTAINERS
··· 6242 6242 F: drivers/hwmon/smm665.c 6243 6243 6244 6244 SMSC EMC2103 HARDWARE MONITOR DRIVER 6245 - M: Steve Glendinning <steve.glendinning@smsc.com> 6245 + M: Steve Glendinning <steve.glendinning@shawell.net> 6246 6246 L: lm-sensors@lm-sensors.org 6247 - S: Supported 6247 + S: Maintained 6248 6248 F: Documentation/hwmon/emc2103 6249 6249 F: drivers/hwmon/emc2103.c 6250 6250 ··· 6263 6263 F: drivers/hwmon/smsc47b397.c 6264 6264 6265 6265 SMSC911x ETHERNET DRIVER 6266 - M: Steve Glendinning <steve.glendinning@smsc.com> 6266 + M: Steve Glendinning <steve.glendinning@shawell.net> 6267 6267 L: netdev@vger.kernel.org 6268 - S: Supported 6268 + S: Maintained 6269 6269 F: include/linux/smsc911x.h 6270 6270 F: drivers/net/ethernet/smsc/smsc911x.* 6271 6271 6272 6272 SMSC9420 PCI ETHERNET DRIVER 6273 - M: Steve Glendinning <steve.glendinning@smsc.com> 6273 + M: Steve Glendinning <steve.glendinning@shawell.net> 6274 6274 L: netdev@vger.kernel.org 6275 - S: Supported 6275 + S: Maintained 6276 6276 F: drivers/net/ethernet/smsc/smsc9420.* 6277 6277 6278 6278 SMSC UFX6000 and UFX7000 USB to VGA DRIVER 6279 - M: Steve Glendinning <steve.glendinning@smsc.com> 6279 + M: Steve Glendinning <steve.glendinning@shawell.net> 6280 6280 L: linux-fbdev@vger.kernel.org 6281 - S: Supported 6281 + S: Maintained 6282 6282 F: drivers/video/smscufx.c 6283 6283 6284 6284 SN-IA64 (Itanium) SUB-PLATFORM ··· 7232 7232 F: drivers/usb/serial/whiteheat* 7233 7233 7234 7234 USB SMSC95XX ETHERNET DRIVER 7235 - M: Steve Glendinning <steve.glendinning@smsc.com> 7235 + M: Steve Glendinning <steve.glendinning@shawell.net> 7236 7236 L: netdev@vger.kernel.org 7237 - S: Supported 7237 + S: Maintained 7238 7238 F: drivers/net/usb/smsc95xx.* 7239 7239 7240 7240 USB SN9C1xx DRIVER
-6
arch/arm/mach-davinci/Kconfig
··· 62 62 bool "TI DM644x EVM" 63 63 default ARCH_DAVINCI_DM644x 64 64 depends on ARCH_DAVINCI_DM644x 65 - select MISC_DEVICES 66 65 select EEPROM_AT24 67 66 select I2C 68 67 help ··· 71 72 config MACH_SFFSDR 72 73 bool "Lyrtech SFFSDR" 73 74 depends on ARCH_DAVINCI_DM644x 74 - select MISC_DEVICES 75 75 select EEPROM_AT24 76 76 select I2C 77 77 help ··· 104 106 default ARCH_DAVINCI_DM646x 105 107 depends on ARCH_DAVINCI_DM646x 106 108 select MACH_DAVINCI_DM6467TEVM 107 - select MISC_DEVICES 108 109 select EEPROM_AT24 109 110 select I2C 110 111 help ··· 117 120 bool "TI DM365 EVM" 118 121 default ARCH_DAVINCI_DM365 119 122 depends on ARCH_DAVINCI_DM365 120 - select MISC_DEVICES 121 123 select EEPROM_AT24 122 124 select I2C 123 125 help ··· 128 132 default ARCH_DAVINCI_DA830 129 133 depends on ARCH_DAVINCI_DA830 130 134 select GPIO_PCF857X 131 - select MISC_DEVICES 132 135 select EEPROM_AT24 133 136 select I2C 134 137 help ··· 214 219 config MACH_MITYOMAPL138 215 220 bool "Critical Link MityDSP-L138/MityARM-1808 SoM" 216 221 depends on ARCH_DAVINCI_DA850 217 - select MISC_DEVICES 218 222 select EEPROM_AT24 219 223 select I2C 220 224 help
+1 -1
arch/arm/mach-omap2/board-apollon.c
··· 311 311 /* LCD PWR_EN */ 312 312 omap_mux_init_signal("mcbsp2_dr.gpio_11", OMAP_PULL_ENA | OMAP_PULL_UP); 313 313 314 - /* Use Interal loop-back in MMC/SDIO Module Input Clock selection */ 314 + /* Use Internal loop-back in MMC/SDIO Module Input Clock selection */ 315 315 v = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); 316 316 v |= (1 << 24); 317 317 omap_ctrl_writel(v, OMAP2_CONTROL_DEVCONF0);
+1 -1
arch/arm/mach-omap2/board-omap4panda.c
··· 106 106 static struct omap_abe_twl6040_data panda_abe_audio_data = { 107 107 /* Audio out */ 108 108 .has_hs = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, 109 - /* HandsFree through expasion connector */ 109 + /* HandsFree through expansion connector */ 110 110 .has_hf = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT, 111 111 /* PandaBoard: FM TX, PandaBoardES: can be connected to audio out */ 112 112 .has_aux = ABE_TWL6040_LEFT | ABE_TWL6040_RIGHT,
+1 -1
arch/arm/mach-omap2/omap-mpuss-lowpower.c
··· 313 313 scu_pwrst_prepare(cpu, power_state); 314 314 315 315 /* 316 - * CPU never retuns back if targetted power state is OFF mode. 316 + * CPU never retuns back if targeted power state is OFF mode. 317 317 * CPU ONLINE follows normal CPU ONLINE ptah via 318 318 * omap_secondary_startup(). 319 319 */
+1 -1
arch/arm/mach-omap2/sr_device.c
··· 131 131 132 132 omap_voltage_get_volttable(sr_data->voltdm, &volt_data); 133 133 if (!volt_data) { 134 - pr_warning("%s: No Voltage table registerd fo VDD%d." 134 + pr_warning("%s: No Voltage table registered fo VDD%d." 135 135 "Something really wrong\n\n", __func__, i + 1); 136 136 goto exit; 137 137 }
+1 -1
arch/arm/mach-omap2/twl-common.c
··· 96 96 97 97 void __init omap_pmic_late_init(void) 98 98 { 99 - /* Init the OMAP TWL parameters (if PMIC has been registerd) */ 99 + /* Init the OMAP TWL parameters (if PMIC has been registered) */ 100 100 if (pmic_i2c_board_info.irq) 101 101 omap3_twl_init(); 102 102 if (omap4_i2c1_board_info[0].irq)
+1 -1
arch/arm/plat-samsung/include/plat/gpio-cfg.h
··· 24 24 #ifndef __PLAT_GPIO_CFG_H 25 25 #define __PLAT_GPIO_CFG_H __FILE__ 26 26 27 - #include<linux/types.h> 27 + #include <linux/types.h> 28 28 29 29 typedef unsigned int __bitwise__ samsung_gpio_pull_t; 30 30 typedef unsigned int __bitwise__ s5p_gpio_drvstr_t;
+1 -1
arch/ia64/kernel/ia64_ksyms.c
··· 12 12 EXPORT_SYMBOL(memcpy); 13 13 EXPORT_SYMBOL(strlen); 14 14 15 - #include<asm/pgtable.h> 15 + #include <asm/pgtable.h> 16 16 EXPORT_SYMBOL_GPL(empty_zero_page); 17 17 18 18 #include <asm/checksum.h>
+3 -3
arch/ia64/kvm/vmm.c
··· 20 20 */ 21 21 22 22 23 - #include<linux/kernel.h> 24 - #include<linux/module.h> 25 - #include<asm/fpswa.h> 23 + #include <linux/kernel.h> 24 + #include <linux/module.h> 25 + #include <asm/fpswa.h> 26 26 27 27 #include "vcpu.h" 28 28
+2 -2
arch/m68k/kernel/module.c
··· 47 47 *location += sym->st_value; 48 48 break; 49 49 case R_68K_PC32: 50 - /* Add the value, subtract its postition */ 50 + /* Add the value, subtract its position */ 51 51 *location += sym->st_value - (uint32_t)location; 52 52 break; 53 53 default: ··· 87 87 *location = rel[i].r_addend + sym->st_value; 88 88 break; 89 89 case R_68K_PC32: 90 - /* Add the value, subtract its postition */ 90 + /* Add the value, subtract its position */ 91 91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location; 92 92 break; 93 93 default:
+3 -3
arch/parisc/include/asm/compat_rt_sigframe.h
··· 1 - #include<linux/compat.h> 2 - #include<linux/compat_siginfo.h> 3 - #include<asm/compat_ucontext.h> 1 + #include <linux/compat.h> 2 + #include <linux/compat_siginfo.h> 3 + #include <asm/compat_ucontext.h> 4 4 5 5 #ifndef _ASM_PARISC_COMPAT_RT_SIGFRAME_H 6 6 #define _ASM_PARISC_COMPAT_RT_SIGFRAME_H
+1 -1
arch/sh/boards/board-polaris.c
··· 1 1 /* 2 - * June 2006 steve.glendinning@smsc.com 2 + * June 2006 Steve Glendinning <steve.glendinning@shawell.net> 3 3 * 4 4 * Polaris-specific resource declaration 5 5 *
-1
arch/unicore32/Kconfig
··· 238 238 config I2C_EEPROM_AT24 239 239 tristate "I2C EEPROMs AT24 support" 240 240 select I2C_PUV3 241 - select MISC_DEVICES 242 241 select EEPROM_AT24 243 242 244 243 config LCD_BACKLIGHT
+1 -1
arch/x86/kernel/module.c
··· 81 81 *location += sym->st_value; 82 82 break; 83 83 case R_386_PC32: 84 - /* Add the value, subtract its postition */ 84 + /* Add the value, subtract its position */ 85 85 *location += sym->st_value - (uint32_t)location; 86 86 break; 87 87 default:
+2 -2
drivers/cpufreq/s3c2416-cpufreq.c
··· 153 153 if (s3c_freq->vddarm) { 154 154 dvfs = &s3c2416_dvfs_table[idx]; 155 155 156 - pr_debug("cpufreq: setting regultor to %d-%d\n", 156 + pr_debug("cpufreq: setting regulator to %d-%d\n", 157 157 dvfs->vddarm_min, dvfs->vddarm_max); 158 158 ret = regulator_set_voltage(s3c_freq->vddarm, 159 159 dvfs->vddarm_min, ··· 186 186 if (s3c_freq->vddarm) { 187 187 dvfs = &s3c2416_dvfs_table[idx]; 188 188 189 - pr_debug("cpufreq: setting regultor to %d-%d\n", 189 + pr_debug("cpufreq: setting regulator to %d-%d\n", 190 190 dvfs->vddarm_min, dvfs->vddarm_max); 191 191 ret = regulator_set_voltage(s3c_freq->vddarm, 192 192 dvfs->vddarm_min,
+1 -1
drivers/cpufreq/speedstep-ich.c
··· 203 203 if (speedstep_chipset_dev) { 204 204 /* speedstep.c causes lockups on Dell Inspirons 8000 and 205 205 * 8100 which use a pretty old revision of the 82815 206 - * host brige. Abort on these systems. 206 + * host bridge. Abort on these systems. 207 207 */ 208 208 static struct pci_dev *hostbridge; 209 209
+1 -1
drivers/hwmon/emc2103.c
··· 732 732 733 733 module_i2c_driver(emc2103_driver); 734 734 735 - MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); 735 + MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); 736 736 MODULE_DESCRIPTION("SMSC EMC2103 hwmon driver"); 737 737 MODULE_LICENSE("GPL");
+1 -1
drivers/input/keyboard/lm8333.c
··· 91 91 return; 92 92 } 93 93 94 - for (i = 0; keys[i] && i < LM8333_FIFO_TRANSFER_SIZE; i++) { 94 + for (i = 0; i < LM8333_FIFO_TRANSFER_SIZE && keys[i]; i++) { 95 95 pressed = keys[i] & 0x80; 96 96 code = keys[i] & 0x7f; 97 97
+1 -1
drivers/input/misc/cma3000_d0x.c
··· 58 58 59 59 /* 60 60 * Bit weights in mg for bit 0, other bits need 61 - * multipy factor 2^n. Eight bit is the sign bit. 61 + * multiply factor 2^n. Eight bit is the sign bit. 62 62 */ 63 63 #define BIT_TO_2G 18 64 64 #define BIT_TO_8G 71
+1 -1
drivers/iommu/amd_iommu_v2.c
··· 924 924 pr_info("AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel@amd.com>\n"); 925 925 926 926 if (!amd_iommu_v2_supported()) { 927 - pr_info("AMD IOMMUv2 functionality not available on this sytem\n"); 927 + pr_info("AMD IOMMUv2 functionality not available on this system\n"); 928 928 /* 929 929 * Load anyway to provide the symbols to other modules 930 930 * which may use AMD IOMMUv2 optionally.
+1 -1
drivers/iommu/exynos-iommu.c
··· 317 317 if ((itype >= SYSMMU_FAULTS_NUM) || (itype < SYSMMU_PAGEFAULT)) 318 318 itype = SYSMMU_FAULT_UNKNOWN; 319 319 320 - pr_err("%s occured at 0x%lx(Page table base: 0x%lx)\n", 320 + pr_err("%s occurred at 0x%lx(Page table base: 0x%lx)\n", 321 321 sysmmu_fault_name[itype], fault_addr, pgtable_base); 322 322 323 323 ent = section_entry(__va(pgtable_base), fault_addr);
+7 -7
drivers/iommu/iova.c
··· 198 198 199 199 /** 200 200 * alloc_iova - allocates an iova 201 - * @iovad - iova domain in question 202 - * @size - size of page frames to allocate 203 - * @limit_pfn - max limit address 204 - * @size_aligned - set if size_aligned address range is required 201 + * @iovad: - iova domain in question 202 + * @size: - size of page frames to allocate 203 + * @limit_pfn: - max limit address 204 + * @size_aligned: - set if size_aligned address range is required 205 205 * This function allocates an iova in the range limit_pfn to IOVA_START_PFN 206 206 * looking from limit_pfn instead from IOVA_START_PFN. If the size_aligned 207 207 * flag is set then the allocated address iova->pfn_lo will be naturally ··· 238 238 239 239 /** 240 240 * find_iova - find's an iova for a given pfn 241 - * @iovad - iova domain in question. 242 - * pfn - page frame number 241 + * @iovad: - iova domain in question. 242 + * @pfn: - page frame number 243 243 * This function finds and returns an iova belonging to the 244 244 * given doamin which matches the given pfn. 245 245 */ ··· 260 260 /* We are not holding the lock while this iova 261 261 * is referenced by the caller as the same thread 262 262 * which called this function also calls __free_iova() 263 - * and it is by desing that only one thread can possibly 263 + * and it is by design that only one thread can possibly 264 264 * reference a particular iova and hence no conflict. 265 265 */ 266 266 return iova;
+2 -2
drivers/media/video/zoran/zr36016.c
··· 40 40 /* v4l API */ 41 41 42 42 /* headerfile of this module */ 43 - #include"zr36016.h" 43 + #include "zr36016.h" 44 44 45 45 /* codec io API */ 46 - #include"videocodec.h" 46 + #include "videocodec.h" 47 47 48 48 /* it doesn't make sense to have more than 20 or so, 49 49 just to prevent some unwanted loops */
+1 -1
drivers/net/phy/smsc.c
··· 12 12 * Free Software Foundation; either version 2 of the License, or (at your 13 13 * option) any later version. 14 14 * 15 - * Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@smsc.com 15 + * Support added for SMSC LAN8187 and LAN8700 by steve.glendinning@shawell.net 16 16 * 17 17 */ 18 18
+1 -1
drivers/net/usb/smsc75xx.c
··· 1260 1260 module_usb_driver(smsc75xx_driver); 1261 1261 1262 1262 MODULE_AUTHOR("Nancy Lin"); 1263 - MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); 1263 + MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); 1264 1264 MODULE_DESCRIPTION("SMSC75XX USB 2.0 Gigabit Ethernet Devices"); 1265 1265 MODULE_LICENSE("GPL");
+1 -1
drivers/net/usb/smsc95xx.c
··· 1335 1335 module_usb_driver(smsc95xx_driver); 1336 1336 1337 1337 MODULE_AUTHOR("Nancy Lin"); 1338 - MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); 1338 + MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); 1339 1339 MODULE_DESCRIPTION("SMSC95XX USB 2.0 Ethernet Devices"); 1340 1340 MODULE_LICENSE("GPL");
+1 -1
drivers/net/wireless/iwlwifi/iwl-io.c
··· 30 30 #include <linux/export.h> 31 31 32 32 #include "iwl-io.h" 33 - #include"iwl-csr.h" 33 + #include "iwl-csr.h" 34 34 #include "iwl-debug.h" 35 35 36 36 #define IWL_POLL_INTERVAL 10 /* microseconds */
+1 -1
drivers/parisc/iosapic.c
··· 146 146 #endif 147 147 148 148 #include <asm/ropes.h> 149 - #include "./iosapic_private.h" 149 + #include "iosapic_private.h" 150 150 151 151 #define MODULE_NAME "iosapic" 152 152
+1 -1
drivers/pci/hotplug/ibmphp_core.c
··· 760 760 for (dev->devfn = 0; dev->devfn < 256; dev->devfn += 8) { 761 761 if (!pci_read_config_word(dev, PCI_VENDOR_ID, &l) && 762 762 (l != 0x0000) && (l != 0xffff)) { 763 - debug("%s - Inside bus_struture_fixup()\n", 763 + debug("%s - Inside bus_structure_fixup()\n", 764 764 __func__); 765 765 pci_scan_bus(busno, ibmphp_pci_bus->ops, NULL); 766 766 break;
+1 -1
drivers/pci/hotplug/ibmphp_ebda.c
··· 784 784 hpc_ptr->ctlr_relative_id = ctlr; 785 785 hpc_ptr->slot_count = slot_num; 786 786 hpc_ptr->bus_count = bus_num; 787 - debug ("now enter ctlr data struture ---\n"); 787 + debug ("now enter ctlr data structure ---\n"); 788 788 debug ("ctlr id: %x\n", ctlr_id); 789 789 debug ("ctlr_relative_id: %x\n", hpc_ptr->ctlr_relative_id); 790 790 debug ("count of slots controlled by this ctlr: %x\n", slot_num);
+1 -1
drivers/pci/hotplug/ibmphp_pci.c
··· 109 109 110 110 cur_func->function = function; 111 111 112 - debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->funcion = %x\n", 112 + debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->function = %x\n", 113 113 cur_func->busno, cur_func->device, cur_func->function); 114 114 115 115 pci_bus_read_config_word (ibmphp_pci_bus, devfn, PCI_VENDOR_ID, &vendor_id);
+1 -1
drivers/pci/setup-bus.c
··· 308 308 * Should not assign requested resources at first. 309 309 * they could be adjacent, so later reassign can not reallocate 310 310 * them one by one in parent resource window. 311 - * Try to assign requested + add_size at begining 311 + * Try to assign requested + add_size at beginning 312 312 * if could do that, could get out early. 313 313 * if could not do that, we still try to assign requested at first, 314 314 * then try to reassign add_size for some resources.
+1 -1
drivers/power/Kconfig
··· 301 301 bool "AB8500 Battery Management Driver" 302 302 depends on AB8500_CORE && AB8500_GPADC 303 303 help 304 - Say Y to include support for AB5500 battery management. 304 + Say Y to include support for AB8500 battery management. 305 305 306 306 config AB8500_BATTERY_THERM_ON_BATCTRL 307 307 bool "Thermistor connected on BATCTRL ADC"
+2 -2
drivers/scsi/aha152x.c
··· 2984 2984 char *start = pos; 2985 2985 int i; 2986 2986 2987 - SPRINTF("0x%08x: target=%d; lun=%d; cmnd=( ", 2988 - (unsigned int) ptr, ptr->device->id, ptr->device->lun); 2987 + SPRINTF("%p: target=%d; lun=%d; cmnd=( ", 2988 + ptr, ptr->device->id, ptr->device->lun); 2989 2989 2990 2990 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) 2991 2991 SPRINTF("0x%02x ", ptr->cmnd[i]);
+1 -1
drivers/scsi/aha1542.c
··· 49 49 #define SCSI_BUF_PA(address) isa_virt_to_bus(address) 50 50 #define SCSI_SG_PA(sgent) (isa_page_to_bus(sg_page((sgent))) + (sgent)->offset) 51 51 52 - #include<linux/stat.h> 52 + #include <linux/stat.h> 53 53 54 54 #ifdef DEBUG 55 55 #define DEB(x) x
+1 -1
drivers/staging/comedi/drivers/s626.h
··· 80 80 #define INLINE static __inline 81 81 #endif 82 82 83 - #include<linux/slab.h> 83 + #include <linux/slab.h> 84 84 85 85 #define S626_SIZE 0x0200 86 86 #define SIZEOF_ADDRESS_SPACE 0x0200
+1 -1
drivers/usb/renesas_usbhs/common.c
··· 19 19 #include <linux/pm_runtime.h> 20 20 #include <linux/slab.h> 21 21 #include <linux/sysfs.h> 22 - #include "./common.h" 22 + #include "common.h" 23 23 24 24 /* 25 25 * image of renesas_usbhs
+2 -2
drivers/usb/renesas_usbhs/common.h
··· 22 22 23 23 struct usbhs_priv; 24 24 25 - #include "./mod.h" 26 - #include "./pipe.h" 25 + #include "mod.h" 26 + #include "pipe.h" 27 27 28 28 /* 29 29 *
+2 -2
drivers/usb/renesas_usbhs/fifo.c
··· 17 17 #include <linux/delay.h> 18 18 #include <linux/io.h> 19 19 #include <linux/scatterlist.h> 20 - #include "./common.h" 21 - #include "./pipe.h" 20 + #include "common.h" 21 + #include "pipe.h" 22 22 23 23 #define usbhsf_get_cfifo(p) (&((p)->fifo_info.cfifo)) 24 24 #define usbhsf_get_d0fifo(p) (&((p)->fifo_info.d0fifo))
+2 -2
drivers/usb/renesas_usbhs/mod.c
··· 16 16 */ 17 17 #include <linux/interrupt.h> 18 18 19 - #include "./common.h" 20 - #include "./mod.h" 19 + #include "common.h" 20 + #include "mod.h" 21 21 22 22 #define usbhs_priv_to_modinfo(priv) (&priv->mod_info) 23 23 #define usbhs_mod_info_call(priv, func, param...) \
+1 -1
drivers/usb/renesas_usbhs/mod.h
··· 19 19 20 20 #include <linux/spinlock.h> 21 21 #include <linux/usb/renesas_usbhs.h> 22 - #include "./common.h" 22 + #include "common.h" 23 23 24 24 /* 25 25 * struct
+2 -2
drivers/usb/renesas_usbhs/pipe.c
··· 16 16 */ 17 17 #include <linux/delay.h> 18 18 #include <linux/slab.h> 19 - #include "./common.h" 20 - #include "./pipe.h" 19 + #include "common.h" 20 + #include "pipe.h" 21 21 22 22 /* 23 23 * macros
+2 -2
drivers/usb/renesas_usbhs/pipe.h
··· 17 17 #ifndef RENESAS_USB_PIPE_H 18 18 #define RENESAS_USB_PIPE_H 19 19 20 - #include "./common.h" 21 - #include "./fifo.h" 20 + #include "common.h" 21 + #include "fifo.h" 22 22 23 23 /* 24 24 * struct
+2 -2
drivers/video/arcfb.c
··· 336 336 } 337 337 338 338 /* 339 - * here we start the process of spliting out the fb update into 340 - * individual blocks of pixels. we end up spliting into 64x64 blocks 339 + * here we start the process of splitting out the fb update into 340 + * individual blocks of pixels. we end up splitting into 64x64 blocks 341 341 * and finally down to 64x8 pages. 342 342 */ 343 343 static void arcfb_lcd_update(struct arcfb_par *par, unsigned int dx,
+1 -1
drivers/video/atmel_lcdfb.c
··· 939 939 * up a splash image. 940 940 */ 941 941 } else { 942 - /* alocate memory buffer */ 942 + /* allocate memory buffer */ 943 943 ret = atmel_lcdfb_alloc_video_memory(sinfo); 944 944 if (ret < 0) { 945 945 dev_err(dev, "cannot allocate framebuffer: %d\n", ret);
+1 -1
drivers/video/aty/atyfb_base.c
··· 863 863 864 864 if ((xres > 1600) || (yres > 1200)) { 865 865 FAIL("MACH64 chips are designed for max 1600x1200\n" 866 - "select anoter resolution."); 866 + "select another resolution."); 867 867 } 868 868 h_sync_strt = h_disp + var->right_margin; 869 869 h_sync_end = h_sync_strt + var->hsync_len;
+1 -1
drivers/video/aty/radeon_base.c
··· 2018 2018 if ((rinfo->family == CHIP_FAMILY_RS100) || 2019 2019 (rinfo->family == CHIP_FAMILY_RS200)) { 2020 2020 /* This is to workaround the asic bug for RMX, some versions 2021 - of BIOS dosen't have this register initialized correctly. 2021 + of BIOS doesn't have this register initialized correctly. 2022 2022 */ 2023 2023 OUTREGP(CRTC_MORE_CNTL, CRTC_H_CUTOFF_ACTIVE_EN, 2024 2024 ~CRTC_H_CUTOFF_ACTIVE_EN);
+1
drivers/video/backlight/88pm860x_bl.c
··· 228 228 data->port = pdata->flags; 229 229 if (data->port < 0) { 230 230 dev_err(&pdev->dev, "wrong platform data is assigned"); 231 + kfree(data); 231 232 return -EINVAL; 232 233 } 233 234
+1 -1
drivers/video/bfin_adv7393fb.c
··· 58 58 */ 59 59 60 60 static struct bfin_adv7393_fb_par { 61 - /* structure holding blackfin / adv7393 paramters when 61 + /* structure holding blackfin / adv7393 parameters when 62 62 screen is blanked */ 63 63 struct { 64 64 u8 Mode; /* ntsc/pal/? */
+1 -1
drivers/video/cirrusfb.c
··· 1611 1611 /* ext. display controls: ext.adr. wrap */ 1612 1612 vga_wcrt(cinfo->regbase, CL_CRT1B, 0x02); 1613 1613 1614 - /* Set/Reset registes: - */ 1614 + /* Set/Reset registers: - */ 1615 1615 vga_wgfx(cinfo->regbase, VGA_GFX_SR_VALUE, 0x00); 1616 1616 /* Set/Reset enable: - */ 1617 1617 vga_wgfx(cinfo->regbase, VGA_GFX_SR_ENABLE, 0x00);
+1 -1
drivers/video/exynos/exynos_dp_reg.c
··· 752 752 753 753 /* 754 754 * If Rx sends defer, Tx sends only reads 755 - * request without sending addres 755 + * request without sending address 756 756 */ 757 757 if (!defer) 758 758 retval = exynos_dp_select_i2c_device(dp,
+1 -1
drivers/video/exynos/exynos_mipi_dsi.c
··· 106 106 107 107 /* 108 108 * data from Display controller(FIMD) is transferred in video mode 109 - * but in case of command mode, all settigs is updated to registers. 109 + * but in case of command mode, all settings are updated to registers. 110 110 */ 111 111 exynos_mipi_dsi_stand_by(dsim, 1); 112 112 }
+3 -3
drivers/video/i740fb.c
··· 497 497 498 498 mem = vxres * vyres * ((bpp + 1) / 8); 499 499 if (mem > info->screen_size) { 500 - dev_err(info->device, "not enough video memory (%d KB requested, %ld KB avaliable)\n", 500 + dev_err(info->device, "not enough video memory (%d KB requested, %ld KB available)\n", 501 501 mem >> 10, info->screen_size >> 10); 502 502 return -ENOMEM; 503 503 } ··· 728 728 i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0x20, 0x20); 729 729 730 730 i740inb(par, 0x3DA); 731 - i740outb(par, VGA_ATT_W, 0x00); /* enable pallete access */ 731 + i740outb(par, VGA_ATT_W, 0x00); /* enable palette access */ 732 732 } 733 733 734 734 static void vga_unprotect(struct i740fb_par *par) ··· 737 737 i740outreg_mask(par, VGA_SEQ_I, VGA_SEQ_CLOCK_MODE, 0, 0x20); 738 738 739 739 i740inb(par, 0x3DA); 740 - i740outb(par, VGA_ATT_W, 0x20); /* disable pallete access */ 740 + i740outb(par, VGA_ATT_W, 0x20); /* disable palette access */ 741 741 } 742 742 743 743 static int i740fb_set_par(struct fb_info *info)
+1 -1
drivers/video/s3c-fb.c
··· 189 189 190 190 /** 191 191 * struct s3c_fb - overall hardware state of the hardware 192 - * @slock: The spinlock protection for this data sturcture. 192 + * @slock: The spinlock protection for this data sturucture. 193 193 * @dev: The device that we bound to, for printing, etc. 194 194 * @bus_clk: The clk (hclk) feeding our interface and possibly pixclk. 195 195 * @lcd_clk: The clk (sclk) feeding pixclk.
+3 -3
drivers/video/savage/savagefb_driver.c
··· 662 662 vga_out8(0x3c4, 0x18, par); 663 663 reg->SR18 = vga_in8(0x3c5, par); 664 664 665 - /* Save flat panel expansion regsters. */ 665 + /* Save flat panel expansion registers. */ 666 666 if (par->chip == S3_SAVAGE_MX) { 667 667 int i; 668 668 ··· 815 815 vga_out8(0x3c4, 0x18, par); 816 816 vga_out8(0x3c5, reg->SR18, par); 817 817 818 - /* Save flat panel expansion regsters. */ 818 + /* Save flat panel expansion registers. */ 819 819 if (par->chip == S3_SAVAGE_MX) { 820 820 int i; 821 821 ··· 1318 1318 vga_out8(0x3c4, 0x15, par); 1319 1319 vga_out8(0x3c5, reg->SR15, par); 1320 1320 1321 - /* Restore flat panel expansion regsters. */ 1321 + /* Restore flat panel expansion registers. */ 1322 1322 if (par->chip == S3_SAVAGE_MX) { 1323 1323 int i; 1324 1324
+2 -1
drivers/video/sis/init.c
··· 2628 2628 else if(VCLK >= 135) data = 0x02; 2629 2629 2630 2630 if(SiS_Pr->ChipType == SIS_540) { 2631 - if((VCLK == 203) || (VCLK < 234)) data = 0x02; 2631 + /* Was == 203 or < 234 which made no sense */ 2632 + if (VCLK < 234) data = 0x02; 2632 2633 } 2633 2634 2634 2635 if(SiS_Pr->ChipType < SIS_315H) {
+4 -4
drivers/video/smscufx.c
··· 1 1 /* 2 2 * smscufx.c -- Framebuffer driver for SMSC UFX USB controller 3 3 * 4 - * Copyright (C) 2011 Steve Glendinning <steve.glendinning@smsc.com> 4 + * Copyright (C) 2011 Steve Glendinning <steve.glendinning@shawell.net> 5 5 * Copyright (C) 2009 Roberto De Ioris <roberto@unbit.it> 6 6 * Copyright (C) 2009 Jaya Kumar <jayakumar.lkml@gmail.com> 7 7 * Copyright (C) 2009 Bernie Thompson <bernie@plugable.com> ··· 1002 1002 /* TODO: Help propose a standard fb.h ioctl to report mmap damage */ 1003 1003 if (cmd == UFX_IOCTL_REPORT_DAMAGE) { 1004 1004 /* If we have a damage-aware client, turn fb_defio "off" 1005 - * To avoid perf imact of unecessary page fault handling. 1005 + * To avoid perf imact of unnecessary page fault handling. 1006 1006 * Done by resetting the delay for this fb_info to a very 1007 1007 * long period. Pages will become writable and stay that way. 1008 1008 * Reset to normal value when all clients have closed this fb. ··· 1466 1466 /* all FF's in the first 16 bytes indicates nothing is connected */ 1467 1467 for (i = 0; i < 16; i++) { 1468 1468 if (edid[i] != 0xFF) { 1469 - pr_debug("edid data read succesfully"); 1469 + pr_debug("edid data read successfully"); 1470 1470 return EDID_LENGTH; 1471 1471 } 1472 1472 } ··· 1972 1972 module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); 1973 1973 MODULE_PARM_DESC(fb_defio, "Enable fb_defio mmap support"); 1974 1974 1975 - MODULE_AUTHOR("Steve Glendinning <steve.glendinning@smsc.com>"); 1975 + MODULE_AUTHOR("Steve Glendinning <steve.glendinning@shawell.net>"); 1976 1976 MODULE_DESCRIPTION("SMSC UFX kernel framebuffer driver"); 1977 1977 MODULE_LICENSE("GPL");
+1 -1
drivers/video/sunxvr500.c
··· 12 12 13 13 #include <asm/io.h> 14 14 15 - /* XXX This device has a 'dev-comm' property which aparently is 15 + /* XXX This device has a 'dev-comm' property which apparently is 16 16 * XXX a pointer into the openfirmware's address space which is 17 17 * XXX a shared area the kernel driver can use to keep OBP 18 18 * XXX informed about the current resolution setting. The idea
+2 -1
fs/btrfs/extent_io.c
··· 929 929 930 930 931 931 /** 932 - * convert_extent - convert all bits in a given range from one bit to another 932 + * convert_extent_bit - convert all bits in a given range from one bit to 933 + * another 933 934 * @tree: the io tree to search 934 935 * @start: the start offset in bytes 935 936 * @end: the end offset in bytes (inclusive)
+2 -2
include/linux/clk.h
··· 86 86 /** 87 87 * clk_get - lookup and obtain a reference to a clock producer. 88 88 * @dev: device for clock "consumer" 89 - * @id: clock comsumer ID 89 + * @id: clock consumer ID 90 90 * 91 91 * Returns a struct clk corresponding to the clock producer, or 92 92 * valid IS_ERR() condition containing errno. The implementation ··· 103 103 /** 104 104 * devm_clk_get - lookup and obtain a managed reference to a clock producer. 105 105 * @dev: device for clock "consumer" 106 - * @id: clock comsumer ID 106 + * @id: clock consumer ID 107 107 * 108 108 * Returns a struct clk corresponding to the clock producer, or 109 109 * valid IS_ERR() condition containing errno. The implementation
+1 -1
include/linux/mmzone.h
··· 188 188 struct zone_reclaim_stat { 189 189 /* 190 190 * The pageout code in vmscan.c keeps track of how many of the 191 - * mem/swap backed and file backed pages are refeferenced. 191 + * mem/swap backed and file backed pages are referenced. 192 192 * The higher the rotated/scanned ratio, the more valuable 193 193 * that cache is. 194 194 *
+1 -1
lib/div64.c
··· 87 87 * by the book 'Hacker's Delight'. The original source and full proof 88 88 * can be found here and is available for use without restriction. 89 89 * 90 - * 'http://www.hackersdelight.org/HDcode/newCode/divDouble.c' 90 + * 'http://www.hackersdelight.org/HDcode/newCode/divDouble.c.txt' 91 91 */ 92 92 #ifndef div64_u64 93 93 u64 div64_u64(u64 dividend, u64 divisor)
+3 -2
mm/vmscan.c
··· 1567 1567 * by looking at the fraction of the pages scanned we did rotate back 1568 1568 * onto the active list instead of evict. 1569 1569 * 1570 - * nr[0] = anon pages to scan; nr[1] = file pages to scan 1570 + * nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan 1571 + * nr[2] = file inactive pages to scan; nr[3] = file active pages to scan 1571 1572 */ 1572 1573 static void get_scan_count(struct lruvec *lruvec, struct scan_control *sc, 1573 1574 unsigned long *nr) ··· 2538 2537 * consider it to be no longer congested. It's 2539 2538 * possible there are dirty pages backed by 2540 2539 * congested BDIs but as pressure is relieved, 2541 - * spectulatively avoid congestion waits 2540 + * speculatively avoid congestion waits 2542 2541 */ 2543 2542 zone_clear_flag(zone, ZONE_CONGESTED); 2544 2543 if (i <= *classzone_idx)
+1 -1
net/core/netprio_cgroup.c
··· 234 234 235 235 /* 236 236 *Separate the devname from the associated priority 237 - *and advance the priostr poitner to the priority value 237 + *and advance the priostr pointer to the priority value 238 238 */ 239 239 *priostr = '\0'; 240 240 priostr++;
+1 -1
scripts/mksysmap
··· 16 16 # The second row specify the type of the symbol: 17 17 # A = Absolute 18 18 # B = Uninitialised data (.bss) 19 - # C = Comon symbol 19 + # C = Common symbol 20 20 # D = Initialised data 21 21 # G = Initialised data for small objects 22 22 # I = Indirect reference to another symbol
+1 -1
sound/oss/vwsnd.c
··· 438 438 * 439 439 * Observe that (mask & -mask) is (1 << low_set_bit_of(mask)). 440 440 * As long as mask is constant, we trust the compiler will change the 441 - * multipy and divide into shifts. 441 + * multiply and divide into shifts. 442 442 */ 443 443 444 444 #define SHIFT_FIELD(val, mask) (((val) * ((mask) & -(mask))) & (mask))