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 the trivial tree from Jiri Kosina:
"Tiny usual fixes all over the place"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
doc: fix old config name of kprobetrace
fs/fs-writeback.c: cleanup riteback_sb_inodes kerneldoc
btrfs: fix the commment for the action flags in delayed-ref.h
btrfs: fix trivial typo for the comment of BTRFS_FREE_INO_OBJECTID
vfs: fix kerneldoc for generic_fh_to_parent()
treewide: fix comment/printk/variable typos
ipr: fix small coding style issues
doc: fix broken utf8 encoding
nfs: comment fix
platform/x86: fix asus_laptop.wled_type module parameter
mfd: printk/comment fixes
doc: getdelays.c: remember to close() socket on error in create_nl_socket()
doc: aliasing-test: close fd on write error
mmc: fix comment typos
dma: fix comments
spi: fix comment/printk typos in spi
Coccinelle: fix typo in memdup_user.cocci
tmiofb: missing NULL pointer checks
tools: perf: Fix typo in tools/perf
tools/testing: fix comment / output typos
...

+142 -207
+2 -3
Documentation/accounting/getdelays.c
··· 98 98 if (rcvbufsz) 99 99 if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, 100 100 &rcvbufsz, sizeof(rcvbufsz)) < 0) { 101 - fprintf(stderr, "Unable to set socket rcv buf size " 102 - "to %d\n", 101 + fprintf(stderr, "Unable to set socket rcv buf size to %d\n", 103 102 rcvbufsz); 104 - return -1; 103 + goto error; 105 104 } 106 105 107 106 memset(&local, 0, sizeof(local));
-1
Documentation/dontdiff
··· 162 162 machtypes.h 163 163 map 164 164 map_hugetlb 165 - maui_boot.h 166 165 media 167 166 mconf 168 167 miboot*
+1
Documentation/ia64/aliasing-test.c
··· 132 132 133 133 rc = write(fd, "1", 2); 134 134 if (rc <= 0) { 135 + close(fd); 135 136 perror("write"); 136 137 return -1; 137 138 }
+1 -1
Documentation/power/swsusp.txt
··· 53 53 54 54 Article about goals and implementation of Software Suspend for Linux 55 55 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 - Author: G‚ábor Kuti 56 + Author: Gábor Kuti 57 57 Last revised: 2003-10-20 by Pavel Machek 58 58 59 59 Idea and goals to achieve
+1 -1
Documentation/trace/kprobetrace.txt
··· 12 12 functions). Unlike the Tracepoint based event, this can be added and removed 13 13 dynamically, on the fly. 14 14 15 - To enable this feature, build your kernel with CONFIG_KPROBE_TRACING=y. 15 + To enable this feature, build your kernel with CONFIG_KPROBE_EVENT=y. 16 16 17 17 Similar to the events tracer, this doesn't need to be activated via 18 18 current_tracer. Instead of that, add probe points via
-4
arch/powerpc/boot/.gitignore
··· 1 1 addnote 2 2 empty.c 3 3 hack-coff 4 - infblock.c 5 - infblock.h 6 - infcodes.c 7 - infcodes.h 8 4 inffast.c 9 5 inffast.h 10 6 inffixed.h
-2
arch/x86/include/asm/hpet.h
··· 35 35 #define HPET_ID_NUMBER_SHIFT 8 36 36 #define HPET_ID_VENDOR_SHIFT 16 37 37 38 - #define HPET_ID_VENDOR_8086 0x8086 39 - 40 38 #define HPET_CFG_ENABLE 0x001 41 39 #define HPET_CFG_LEGACY 0x002 42 40 #define HPET_LEGACY_8254 2
+4 -4
drivers/dma/at_hdmac.c
··· 168 168 } 169 169 170 170 /** 171 - * atc_desc_chain - build chain adding a descripor 172 - * @first: address of first descripor of the chain 173 - * @prev: address of previous descripor of the chain 171 + * atc_desc_chain - build chain adding a descriptor 172 + * @first: address of first descriptor of the chain 173 + * @prev: address of previous descriptor of the chain 174 174 * @desc: descriptor to queue 175 175 * 176 176 * Called from prep_* functions ··· 796 796 } 797 797 798 798 /** 799 - * atc_dma_cyclic_fill_desc - Fill one period decriptor 799 + * atc_dma_cyclic_fill_desc - Fill one period descriptor 800 800 */ 801 801 static int 802 802 atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc,
+1 -1
drivers/dma/ep93xx_dma.c
··· 1118 1118 * @chan: channel 1119 1119 * @dma_addr: DMA mapped address of the buffer 1120 1120 * @buf_len: length of the buffer (in bytes) 1121 - * @period_len: lenght of a single period 1121 + * @period_len: length of a single period 1122 1122 * @dir: direction of the operation 1123 1123 * @context: operation context (ignored) 1124 1124 *
+1 -1
drivers/dma/fsldma.c
··· 1015 1015 /* 1016 1016 * Programming Error 1017 1017 * The DMA_INTERRUPT async_tx is a NULL transfer, which will 1018 - * triger a PE interrupt. 1018 + * trigger a PE interrupt. 1019 1019 */ 1020 1020 if (stat & FSL_DMA_SR_PE) { 1021 1021 chan_dbg(chan, "irq: Programming Error INT\n");
+2 -2
drivers/dma/imx-dma.c
··· 572 572 if (desc->desc.callback) 573 573 desc->desc.callback(desc->desc.callback_param); 574 574 575 - /* If we are dealing with a cyclic descriptor keep it on ld_active 576 - * and dont mark the descripor as complete. 575 + /* If we are dealing with a cyclic descriptor, keep it on ld_active 576 + * and dont mark the descriptor as complete. 577 577 * Only in non-cyclic cases it would be marked as complete 578 578 */ 579 579 if (imxdma_chan_is_doing_cyclic(imxdmac))
+1 -1
drivers/dma/intel_mid_dma.c
··· 427 427 * intel_mid_dma_tx_submit - callback to submit DMA transaction 428 428 * @tx: dma engine descriptor 429 429 * 430 - * Submit the DMA trasaction for this descriptor, start if ch idle 430 + * Submit the DMA transaction for this descriptor, start if ch idle 431 431 */ 432 432 static dma_cookie_t intel_mid_dma_tx_submit(struct dma_async_tx_descriptor *tx) 433 433 {
+3 -3
drivers/dma/intel_mid_dma_regs.h
··· 168 168 * @active_list: current active descriptors 169 169 * @queue: current queued up descriptors 170 170 * @free_list: current free descriptors 171 - * @slave: dma slave struture 172 - * @descs_allocated: total number of decsiptors allocated 173 - * @dma: dma device struture pointer 171 + * @slave: dma slave structure 172 + * @descs_allocated: total number of descriptors allocated 173 + * @dma: dma device structure pointer 174 174 * @busy: bool representing if ch is busy (active txn) or not 175 175 * @in_use: bool representing if ch is in use or not 176 176 * @raw_tfr: raw trf interrupt received
-4
drivers/dma/ioat/hw.h
··· 22 22 #define _IOAT_HW_H_ 23 23 24 24 /* PCI Configuration Space Values */ 25 - #define IOAT_PCI_VID 0x8086 26 25 #define IOAT_MMIO_BAR 0 27 26 28 27 /* CB device ID's */ ··· 30 31 #define IOAT_PCI_DID_SCNB 0x65FF 31 32 #define IOAT_PCI_DID_SNB 0x402F 32 33 33 - #define IOAT_PCI_RID 0x00 34 - #define IOAT_PCI_SVID 0x8086 35 - #define IOAT_PCI_SID 0x8086 36 34 #define IOAT_VER_1_2 0x12 /* Version 1.2 */ 37 35 #define IOAT_VER_2_0 0x20 /* Version 2.0 */ 38 36 #define IOAT_VER_3_0 0x30 /* Version 3.0 */
+1 -1
drivers/dma/pl330.c
··· 522 522 /* In the DMAC pool */ 523 523 FREE, 524 524 /* 525 - * Allocted to some channel during prep_xxx 525 + * Allocated to some channel during prep_xxx 526 526 * Also may be sitting on the work_list. 527 527 */ 528 528 PREP,
+1 -1
drivers/dma/ppc4xx/adma.c
··· 4446 4446 ret = -ENOMEM; 4447 4447 goto err_dma_alloc; 4448 4448 } 4449 - dev_dbg(&ofdev->dev, "allocted descriptor pool virt 0x%p phys 0x%llx\n", 4449 + dev_dbg(&ofdev->dev, "allocated descriptor pool virt 0x%p phys 0x%llx\n", 4450 4450 adev->dma_desc_pool_virt, (u64)adev->dma_desc_pool); 4451 4451 4452 4452 regs = ioremap(res.start, resource_size(&res));
+1 -1
drivers/dma/ste_dma40_ll.h
··· 202 202 /* LLI related structures */ 203 203 204 204 /** 205 - * struct d40_phy_lli - The basic configration register for each physical 205 + * struct d40_phy_lli - The basic configuration register for each physical 206 206 * channel. 207 207 * 208 208 * @reg_cfg: The configuration register.
+1 -1
drivers/mfd/ab8500-gpadc.c
··· 342 342 343 343 /* 344 344 * Delay might be needed for ABB8500 cut 3.0, if not, remove 345 - * when hardware will be availible 345 + * when hardware will be available 346 346 */ 347 347 msleep(1); 348 348 break;
+1 -1
drivers/mfd/rc5t583.c
··· 281 281 282 282 if (i2c->irq) { 283 283 ret = rc5t583_irq_init(rc5t583, i2c->irq, pdata->irq_base); 284 - /* Still continue with waring if irq init fails */ 284 + /* Still continue with warning, if irq init fails */ 285 285 if (ret) 286 286 dev_warn(&i2c->dev, "IRQ init failed: %d\n", ret); 287 287 else
+1 -1
drivers/mfd/rdc321x-southbridge.c
··· 1 1 /* 2 - * RDC321x MFD southbrige driver 2 + * RDC321x MFD southbridge driver 3 3 * 4 4 * Copyright (C) 2007-2010 Florian Fainelli <florian@openwrt.org> 5 5 * Copyright (C) 2010 Bernhard Loos <bernhardloos@googlemail.com>
+1 -1
drivers/mfd/tps65911-comparator.c
··· 136 136 137 137 ret = comp_threshold_set(tps65910, COMP2, pdata->vmbch2_threshold); 138 138 if (ret < 0) { 139 - dev_err(&pdev->dev, "cannot set COMP2 theshold\n"); 139 + dev_err(&pdev->dev, "cannot set COMP2 threshold\n"); 140 140 return ret; 141 141 } 142 142
+1 -1
drivers/mmc/core/sdio.c
··· 641 641 /* 642 642 * If the host and card support UHS-I mode request the card 643 643 * to switch to 1.8V signaling level. No 1.8v signalling if 644 - * UHS mode is not enabled to maintain compatibilty and some 644 + * UHS mode is not enabled to maintain compatibility and some 645 645 * systems that claim 1.8v signalling in fact do not support 646 646 * it. 647 647 */
+1 -1
drivers/mmc/host/at91_mci.c
··· 356 356 } 357 357 358 358 /* 359 - * Update bytes tranfered count during a write operation 359 + * Update bytes transfered count during a write operation 360 360 */ 361 361 static void at91_mci_update_bytes_xfered(struct at91mci_host *host) 362 362 {
+1 -1
drivers/mmc/host/atmel-mci.c
··· 1022 1022 } 1023 1023 1024 1024 /* 1025 - * Stop data transfer because error(s) occured. 1025 + * Stop data transfer because error(s) occurred. 1026 1026 */ 1027 1027 static void atmci_stop_transfer_pdc(struct atmel_mci *host) 1028 1028 {
+1 -1
drivers/mmc/host/omap_hsmmc.c
··· 447 447 OMAP_HSMMC_WRITE(host->base, SYSCTL, 448 448 OMAP_HSMMC_READ(host->base, SYSCTL) & ~CEN); 449 449 if ((OMAP_HSMMC_READ(host->base, SYSCTL) & CEN) != 0x0) 450 - dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stoped\n"); 450 + dev_dbg(mmc_dev(host->mmc), "MMC Clock is not stopped\n"); 451 451 } 452 452 453 453 static void omap_hsmmc_enable_irq(struct omap_hsmmc_host *host,
+1 -1
drivers/mmc/host/sdhci-esdhc-imx.c
··· 315 315 new_val = val & (SDHCI_CTRL_LED | \ 316 316 SDHCI_CTRL_4BITBUS | \ 317 317 SDHCI_CTRL_D3CD); 318 - /* ensure the endianess */ 318 + /* ensure the endianness */ 319 319 new_val |= ESDHC_HOST_CONTROL_LE; 320 320 /* bits 8&9 are reserved on mx25 */ 321 321 if (!is_imx25_esdhc(imx_data)) {
+1 -1
drivers/mmc/host/vub300.c
··· 806 806 * we suspect a buggy USB host controller 807 807 */ 808 808 } else if (!vub300->data) { 809 - /* this means that the command (typically CMD52) suceeded */ 809 + /* this means that the command (typically CMD52) succeeded */ 810 810 } else if (vub300->resp.common.header_type != 0x02) { 811 811 /* 812 812 * this is an error response from the VUB300 chip
+1 -1
drivers/net/ethernet/3com/typhoon.c
··· 364 364 static inline void 365 365 typhoon_inc_tx_index(u32 *index, const int count) 366 366 { 367 - /* if we start using the Hi Tx ring, this needs updateing */ 367 + /* if we start using the Hi Tx ring, this needs updating */ 368 368 typhoon_inc_index(index, count, TXLO_ENTRIES); 369 369 } 370 370
+1 -1
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
··· 1458 1458 int fw_stats_req_sz; 1459 1459 1460 1460 /* 1461 - * FW statistics data shortcut (points at the begining of 1461 + * FW statistics data shortcut (points at the beginning of 1462 1462 * fw_stats buffer + fw_stats_req_sz). 1463 1463 */ 1464 1464 struct bnx2x_fw_stats_data *fw_stats_data;
+1 -1
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
··· 1321 1321 * the current command will be enqueued to the tail of the 1322 1322 * pending commands list. 1323 1323 * 1324 - * Return: 0 is operation was sucessfull and there are no pending completions, 1324 + * Return: 0 is operation was successfull and there are no pending completions, 1325 1325 * negative if there were errors, positive if there are pending 1326 1326 * completions. 1327 1327 */
+2 -2
drivers/net/wireless/b43/Kconfig
··· 34 34 config B43_BCMA_EXTRA 35 35 bool "Hardware support that overlaps with the brcmsmac driver" 36 36 depends on B43_BCMA 37 - default n if BRCMSMAC || BRCMSMAC_MODULE 38 - default y 37 + default n if BRCMSMAC 38 + default y 39 39 40 40 config B43_SSB 41 41 bool
+3 -3
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
··· 315 315 u16 box_reg = 0, box_extreg = 0; 316 316 u8 u1b_tmp; 317 317 bool isfw_read = false; 318 - bool bwrite_sucess = false; 318 + bool bwrite_success = false; 319 319 u8 wait_h2c_limmit = 100; 320 320 u8 wait_writeh2c_limmit = 100; 321 321 u8 boxcontent[4], boxextcontent[2]; ··· 354 354 } 355 355 } 356 356 357 - while (!bwrite_sucess) { 357 + while (!bwrite_success) { 358 358 wait_writeh2c_limmit--; 359 359 if (wait_writeh2c_limmit == 0) { 360 360 RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, ··· 491 491 break; 492 492 } 493 493 494 - bwrite_sucess = true; 494 + bwrite_success = true; 495 495 496 496 rtlhal->last_hmeboxnum = boxnum + 1; 497 497 if (rtlhal->last_hmeboxnum == 4)
+3 -3
drivers/net/wireless/rtlwifi/rtl8192de/fw.c
··· 365 365 u8 u1b_tmp; 366 366 bool isfw_read = false; 367 367 u8 buf_index = 0; 368 - bool bwrite_sucess = false; 368 + bool bwrite_success = false; 369 369 u8 wait_h2c_limmit = 100; 370 370 u8 wait_writeh2c_limmit = 100; 371 371 u8 boxcontent[4], boxextcontent[2]; ··· 408 408 break; 409 409 } 410 410 } 411 - while (!bwrite_sucess) { 411 + while (!bwrite_success) { 412 412 wait_writeh2c_limmit--; 413 413 if (wait_writeh2c_limmit == 0) { 414 414 RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, ··· 515 515 "switch case not processed\n"); 516 516 break; 517 517 } 518 - bwrite_sucess = true; 518 + bwrite_success = true; 519 519 rtlhal->last_hmeboxnum = boxnum + 1; 520 520 if (rtlhal->last_hmeboxnum == 4) 521 521 rtlhal->last_hmeboxnum = 0;
-4
drivers/pci/.gitignore
··· 1 - classlist.h 2 - devlist.h 3 - gen-devlist 4 -
+1 -1
drivers/scsi/aic7xxx/aic79xx_core.c
··· 2888 2888 ahd_outb(ahd, CLRINT, CLRSCSIINT); 2889 2889 ahd_unpause(ahd); 2890 2890 } else { 2891 - printk("Reseting Channel for LQI Phase error\n"); 2891 + printk("Resetting Channel for LQI Phase error\n"); 2892 2892 ahd_dump_card_state(ahd); 2893 2893 ahd_reset_channel(ahd, 'A', /*Initiate Reset*/TRUE); 2894 2894 }
+1 -1
drivers/scsi/bfa/bfa_ioc.c
··· 5587 5587 static void bfa_dconf_init_cb(void *arg, bfa_status_t status); 5588 5588 5589 5589 /* 5590 - * Begining state of dconf module. Waiting for an event to start. 5590 + * Beginning state of dconf module. Waiting for an event to start. 5591 5591 */ 5592 5592 static void 5593 5593 bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event)
+1 -1
drivers/scsi/bfa/bfa_ioc.h
··· 530 530 531 531 struct bfa_diag_qtest_result_s { 532 532 u32 status; 533 - u16 count; /* sucessful queue test count */ 533 + u16 count; /* successful queue test count */ 534 534 u8 queue; 535 535 u8 rsvd; /* 64-bit align */ 536 536 };
+2 -2
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
··· 908 908 return; 909 909 910 910 default: 911 - printk(KERN_ERR PFX "Unkonwn netevent %ld", event); 911 + printk(KERN_ERR PFX "Unknown netevent %ld", event); 912 912 return; 913 913 } 914 914 ··· 1738 1738 /** 1739 1739 * bnx2fc_ulp_start - cnic callback to initialize & start adapter instance 1740 1740 * 1741 - * @handle: transport handle pointing to adapter struture 1741 + * @handle: transport handle pointing to adapter structure 1742 1742 * 1743 1743 * This function maps adapter structure to pcidev structure and initiates 1744 1744 * firmware handshake to enable/initialize on-chip FCoE components.
-9
drivers/scsi/gdth.h
··· 49 49 /* GDT_ISA */ 50 50 #define GDT2_ID 0x0120941c /* GDT2000/2020 */ 51 51 52 - /* vendor ID, device IDs (PCI) */ 53 - /* these defines should already exist in <linux/pci.h> */ 54 - #ifndef PCI_VENDOR_ID_VORTEX 55 - #define PCI_VENDOR_ID_VORTEX 0x1119 /* PCI controller vendor ID */ 56 - #endif 57 - #ifndef PCI_VENDOR_ID_INTEL 58 - #define PCI_VENDOR_ID_INTEL 0x8086 59 - #endif 60 - 61 52 #ifndef PCI_DEVICE_ID_VORTEX_GDT60x0 62 53 /* GDT_PCI */ 63 54 #define PCI_DEVICE_ID_VORTEX_GDT60x0 0 /* GDT6000/6020/6050 */
+33 -33
drivers/scsi/ipr.c
··· 192 192 { PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CROCODILE, IPR_USE_MSI, IPR_SIS64, IPR_MMIO, &ipr_chip_cfg[2] } 193 193 }; 194 194 195 - static int ipr_max_bus_speeds [] = { 195 + static int ipr_max_bus_speeds[] = { 196 196 IPR_80MBs_SCSI_RATE, IPR_U160_SCSI_RATE, IPR_U320_SCSI_RATE 197 197 }; 198 198 ··· 562 562 trace_entry->u.add_data = add_data; 563 563 } 564 564 #else 565 - #define ipr_trc_hook(ipr_cmd, type, add_data) do { } while(0) 565 + #define ipr_trc_hook(ipr_cmd, type, add_data) do { } while (0) 566 566 #endif 567 567 568 568 /** ··· 1002 1002 **/ 1003 1003 static void ipr_update_ata_class(struct ipr_resource_entry *res, unsigned int proto) 1004 1004 { 1005 - switch(proto) { 1005 + switch (proto) { 1006 1006 case IPR_PROTO_SATA: 1007 1007 case IPR_PROTO_SAS_STP: 1008 1008 res->ata_class = ATA_DEV_ATA; ··· 3043 3043 } 3044 3044 3045 3045 #else 3046 - #define ipr_get_ioa_dump(ioa_cfg, dump) do { } while(0) 3046 + #define ipr_get_ioa_dump(ioa_cfg, dump) do { } while (0) 3047 3047 #endif 3048 3048 3049 3049 /** ··· 3055 3055 **/ 3056 3056 static void ipr_release_dump(struct kref *kref) 3057 3057 { 3058 - struct ipr_dump *dump = container_of(kref,struct ipr_dump,kref); 3058 + struct ipr_dump *dump = container_of(kref, struct ipr_dump, kref); 3059 3059 struct ipr_ioa_cfg *ioa_cfg = dump->ioa_cfg; 3060 3060 unsigned long lock_flags = 0; 3061 3061 int i; ··· 3142 3142 break; 3143 3143 } 3144 3144 } 3145 - } while(did_work); 3145 + } while (did_work); 3146 3146 3147 3147 list_for_each_entry(res, &ioa_cfg->used_res_q, queue) { 3148 3148 if (res->add_to_ml) { ··· 3268 3268 * number of bytes printed to buffer 3269 3269 **/ 3270 3270 static ssize_t ipr_store_log_level(struct device *dev, 3271 - struct device_attribute *attr, 3271 + struct device_attribute *attr, 3272 3272 const char *buf, size_t count) 3273 3273 { 3274 3274 struct Scsi_Host *shost = class_to_shost(dev); ··· 3315 3315 return -EACCES; 3316 3316 3317 3317 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); 3318 - while(ioa_cfg->in_reset_reload) { 3318 + while (ioa_cfg->in_reset_reload) { 3319 3319 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); 3320 3320 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 3321 3321 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); ··· 3682 3682 unsigned long lock_flags; 3683 3683 3684 3684 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); 3685 - while(ioa_cfg->in_reset_reload) { 3685 + while (ioa_cfg->in_reset_reload) { 3686 3686 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); 3687 3687 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 3688 3688 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); ··· 3746 3746 len = snprintf(fname, 99, "%s", buf); 3747 3747 fname[len-1] = '\0'; 3748 3748 3749 - if(request_firmware(&fw_entry, fname, &ioa_cfg->pdev->dev)) { 3749 + if (request_firmware(&fw_entry, fname, &ioa_cfg->pdev->dev)) { 3750 3750 dev_err(&ioa_cfg->pdev->dev, "Firmware file %s not found\n", fname); 3751 3751 return -EIO; 3752 3752 } ··· 4612 4612 * Return value: 4613 4613 * SUCCESS / FAILED 4614 4614 **/ 4615 - static int __ipr_eh_host_reset(struct scsi_cmnd * scsi_cmd) 4615 + static int __ipr_eh_host_reset(struct scsi_cmnd *scsi_cmd) 4616 4616 { 4617 4617 struct ipr_ioa_cfg *ioa_cfg; 4618 4618 int rc; ··· 4634 4634 return rc; 4635 4635 } 4636 4636 4637 - static int ipr_eh_host_reset(struct scsi_cmnd * cmd) 4637 + static int ipr_eh_host_reset(struct scsi_cmnd *cmd) 4638 4638 { 4639 4639 int rc; 4640 4640 ··· 4701 4701 } 4702 4702 4703 4703 LEAVE; 4704 - return (IPR_IOASC_SENSE_KEY(ioasc) ? -EIO : 0); 4704 + return IPR_IOASC_SENSE_KEY(ioasc) ? -EIO : 0; 4705 4705 } 4706 4706 4707 4707 /** ··· 4725 4725 4726 4726 ENTER; 4727 4727 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); 4728 - while(ioa_cfg->in_reset_reload) { 4728 + while (ioa_cfg->in_reset_reload) { 4729 4729 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); 4730 4730 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 4731 4731 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); ··· 4753 4753 * Return value: 4754 4754 * SUCCESS / FAILED 4755 4755 **/ 4756 - static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) 4756 + static int __ipr_eh_dev_reset(struct scsi_cmnd *scsi_cmd) 4757 4757 { 4758 4758 struct ipr_cmnd *ipr_cmd; 4759 4759 struct ipr_ioa_cfg *ioa_cfg; ··· 4811 4811 res->resetting_device = 0; 4812 4812 4813 4813 LEAVE; 4814 - return (rc ? FAILED : SUCCESS); 4814 + return rc ? FAILED : SUCCESS; 4815 4815 } 4816 4816 4817 - static int ipr_eh_dev_reset(struct scsi_cmnd * cmd) 4817 + static int ipr_eh_dev_reset(struct scsi_cmnd *cmd) 4818 4818 { 4819 4819 int rc; 4820 4820 ··· 4910 4910 * Return value: 4911 4911 * SUCCESS / FAILED 4912 4912 **/ 4913 - static int ipr_cancel_op(struct scsi_cmnd * scsi_cmd) 4913 + static int ipr_cancel_op(struct scsi_cmnd *scsi_cmd) 4914 4914 { 4915 4915 struct ipr_cmnd *ipr_cmd; 4916 4916 struct ipr_ioa_cfg *ioa_cfg; ··· 4979 4979 res->needs_sync_complete = 1; 4980 4980 4981 4981 LEAVE; 4982 - return (IPR_IOASC_SENSE_KEY(ioasc) ? FAILED : SUCCESS); 4982 + return IPR_IOASC_SENSE_KEY(ioasc) ? FAILED : SUCCESS; 4983 4983 } 4984 4984 4985 4985 /** ··· 4989 4989 * Return value: 4990 4990 * SUCCESS / FAILED 4991 4991 **/ 4992 - static int ipr_eh_abort(struct scsi_cmnd * scsi_cmd) 4992 + static int ipr_eh_abort(struct scsi_cmnd *scsi_cmd) 4993 4993 { 4994 4994 unsigned long flags; 4995 4995 int rc; ··· 5907 5907 * Return value: 5908 5908 * pointer to buffer with description string 5909 5909 **/ 5910 - static const char * ipr_ioa_info(struct Scsi_Host *host) 5910 + static const char *ipr_ioa_info(struct Scsi_Host *host) 5911 5911 { 5912 5912 static char buffer[512]; 5913 5913 struct ipr_ioa_cfg *ioa_cfg; ··· 5965 5965 5966 5966 ENTER; 5967 5967 spin_lock_irqsave(ioa_cfg->host->host_lock, flags); 5968 - while(ioa_cfg->in_reset_reload) { 5968 + while (ioa_cfg->in_reset_reload) { 5969 5969 spin_unlock_irqrestore(ioa_cfg->host->host_lock, flags); 5970 5970 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 5971 5971 spin_lock_irqsave(ioa_cfg->host->host_lock, flags); ··· 6005 6005 unsigned long flags; 6006 6006 6007 6007 spin_lock_irqsave(ioa_cfg->host->host_lock, flags); 6008 - while(ioa_cfg->in_reset_reload) { 6008 + while (ioa_cfg->in_reset_reload) { 6009 6009 spin_unlock_irqrestore(ioa_cfg->host->host_lock, flags); 6010 6010 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 6011 6011 spin_lock_irqsave(ioa_cfg->host->host_lock, flags); ··· 6330 6330 int i; 6331 6331 6332 6332 if ((ioa_cfg->type == 0x5702) && (ioa_cfg->pdev->revision < 4)) { 6333 - for (i = 0; i < ARRAY_SIZE(ipr_blocked_processors); i++){ 6333 + for (i = 0; i < ARRAY_SIZE(ipr_blocked_processors); i++) { 6334 6334 if (__is_processor(ipr_blocked_processors[i])) 6335 6335 return 1; 6336 6336 } ··· 6608 6608 * none 6609 6609 **/ 6610 6610 static void ipr_modify_ioafp_mode_page_28(struct ipr_ioa_cfg *ioa_cfg, 6611 - struct ipr_mode_pages *mode_pages) 6611 + struct ipr_mode_pages *mode_pages) 6612 6612 { 6613 6613 int i, entry_length; 6614 6614 struct ipr_dev_bus_entry *bus; ··· 8022 8022 ipr_reinit_ipr_cmnd(ipr_cmd); 8023 8023 ipr_cmd->job_step_failed = ipr_reset_cmd_failed; 8024 8024 rc = ipr_cmd->job_step(ipr_cmd); 8025 - } while(rc == IPR_RC_JOB_CONTINUE); 8025 + } while (rc == IPR_RC_JOB_CONTINUE); 8026 8026 } 8027 8027 8028 8028 /** ··· 8283 8283 } 8284 8284 8285 8285 if (ioa_cfg->ipr_cmd_pool) 8286 - pci_pool_destroy (ioa_cfg->ipr_cmd_pool); 8286 + pci_pool_destroy(ioa_cfg->ipr_cmd_pool); 8287 8287 8288 8288 kfree(ioa_cfg->ipr_cmnd_list); 8289 8289 kfree(ioa_cfg->ipr_cmnd_list_dma); ··· 8363 8363 dma_addr_t dma_addr; 8364 8364 int i; 8365 8365 8366 - ioa_cfg->ipr_cmd_pool = pci_pool_create (IPR_NAME, ioa_cfg->pdev, 8367 - sizeof(struct ipr_cmnd), 512, 0); 8366 + ioa_cfg->ipr_cmd_pool = pci_pool_create(IPR_NAME, ioa_cfg->pdev, 8367 + sizeof(struct ipr_cmnd), 512, 0); 8368 8368 8369 8369 if (!ioa_cfg->ipr_cmd_pool) 8370 8370 return -ENOMEM; ··· 8378 8378 } 8379 8379 8380 8380 for (i = 0; i < IPR_NUM_CMD_BLKS; i++) { 8381 - ipr_cmd = pci_pool_alloc (ioa_cfg->ipr_cmd_pool, GFP_KERNEL, &dma_addr); 8381 + ipr_cmd = pci_pool_alloc(ioa_cfg->ipr_cmd_pool, GFP_KERNEL, &dma_addr); 8382 8382 8383 8383 if (!ipr_cmd) { 8384 8384 ipr_free_cmd_blks(ioa_cfg); ··· 8964 8964 int target, lun; 8965 8965 8966 8966 for (target = 0; target < IPR_MAX_NUM_TARGETS_PER_BUS; target++) 8967 - for (lun = 0; lun < IPR_MAX_NUM_VSET_LUNS_PER_TARGET; lun++ ) 8967 + for (lun = 0; lun < IPR_MAX_NUM_VSET_LUNS_PER_TARGET; lun++) 8968 8968 scsi_add_device(ioa_cfg->host, IPR_VSET_BUS, target, lun); 8969 8969 } 8970 8970 ··· 9010 9010 ENTER; 9011 9011 9012 9012 spin_lock_irqsave(ioa_cfg->host->host_lock, host_lock_flags); 9013 - while(ioa_cfg->in_reset_reload) { 9013 + while (ioa_cfg->in_reset_reload) { 9014 9014 spin_unlock_irqrestore(ioa_cfg->host->host_lock, host_lock_flags); 9015 9015 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 9016 9016 spin_lock_irqsave(ioa_cfg->host->host_lock, host_lock_flags); ··· 9139 9139 unsigned long lock_flags = 0; 9140 9140 9141 9141 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); 9142 - while(ioa_cfg->in_reset_reload) { 9142 + while (ioa_cfg->in_reset_reload) { 9143 9143 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); 9144 9144 wait_event(ioa_cfg->reset_wait_q, !ioa_cfg->in_reset_reload); 9145 9145 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags);
+1 -1
drivers/scsi/isci/host.c
··· 492 492 u32 event_cycle; 493 493 494 494 dev_dbg(&ihost->pdev->dev, 495 - "%s: completion queue begining get:0x%08x\n", 495 + "%s: completion queue beginning get:0x%08x\n", 496 496 __func__, 497 497 ihost->completion_queue_get); 498 498
+1 -1
drivers/scsi/isci/init.c
··· 222 222 * @isci_host: This parameter specifies the lldd specific wrapper for the 223 223 * libsas sas_ha struct. 224 224 * 225 - * This method returns an error code indicating sucess or failure. The user 225 + * This method returns an error code indicating success or failure. The user 226 226 * should check for possible memory allocation error return otherwise, a zero 227 227 * indicates success. 228 228 */
+1 -1
drivers/scsi/isci/port.c
··· 212 212 memcpy(iphy->sas_phy.attached_sas_addr, 213 213 iphy->frame_rcvd.iaf.sas_addr, SAS_ADDR_SIZE); 214 214 } else { 215 - dev_err(&isci_host->pdev->dev, "%s: unkown target\n", __func__); 215 + dev_err(&isci_host->pdev->dev, "%s: unknown target\n", __func__); 216 216 success = false; 217 217 } 218 218
+1 -1
drivers/scsi/isci/request.c
··· 2240 2240 status = ireq->sci_status; 2241 2241 sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR); 2242 2242 } else { 2243 - /* If receiving any non-sucess TC status, no UF 2243 + /* If receiving any non-success TC status, no UF 2244 2244 * received yet, then an UF for the status fis 2245 2245 * is coming after (XXX: suspect this is 2246 2246 * actually a protocol error or a bug like the
+1 -1
drivers/scsi/isci/task.c
··· 532 532 /* The request has already completed and there 533 533 * is nothing to do here other than to set the task 534 534 * done bit, and indicate that the task abort function 535 - * was sucessful. 535 + * was successful. 536 536 */ 537 537 spin_lock_irqsave(&task->task_state_lock, flags); 538 538 task->task_state_flags |= SAS_TASK_STATE_DONE;
+1 -1
drivers/scsi/lpfc/lpfc_init.c
··· 6607 6607 * we just use some constant number as place holder. 6608 6608 * 6609 6609 * Return codes 6610 - * 0 - sucessful 6610 + * 0 - successful 6611 6611 * -ENOMEM - No availble memory 6612 6612 * -EIO - The mailbox failed to complete successfully. 6613 6613 **/
+2 -2
drivers/scsi/lpfc/lpfc_sli.c
··· 4739 4739 * is attached to. 4740 4740 * 4741 4741 * Return codes 4742 - * 0 - sucessful 4742 + * 0 - successful 4743 4743 * otherwise - failed to retrieve physical port name 4744 4744 **/ 4745 4745 static int ··· 15209 15209 /* 15210 15210 * if next_fcf_pri was not set above and the list is not empty then 15211 15211 * we have failed flogis on all of them. So reset flogi failed 15212 - * and start at the begining. 15212 + * and start at the beginning. 15213 15213 */ 15214 15214 if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) { 15215 15215 list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
+2 -3
drivers/scsi/megaraid.c
··· 305 305 306 306 adapter->host->sg_tablesize = adapter->sglen; 307 307 308 - 309 308 /* use HP firmware and bios version encoding 310 309 Note: fw_version[0|1] and bios_version[0|1] were originally shifted 311 310 right 8 bits making them zero. This 0 value was hardcoded to fix 312 311 sparse warnings. */ 313 - if (adapter->product_info.subsysvid == HP_SUBSYS_VID) { 312 + if (adapter->product_info.subsysvid == PCI_VENDOR_ID_HP) { 314 313 sprintf (adapter->fw_version, "%c%d%d.%d%d", 315 314 adapter->product_info.fw_version[2], 316 315 0, ··· 4715 4716 * support, since this firmware cannot handle 64 bit 4716 4717 * addressing 4717 4718 */ 4718 - if ((subsysvid == HP_SUBSYS_VID) && 4719 + if ((subsysvid == PCI_VENDOR_ID_HP) && 4719 4720 ((subsysid == 0x60E7) || (subsysid == 0x60E8))) { 4720 4721 /* 4721 4722 * which firmware
-35
drivers/scsi/megaraid.h
··· 45 45 46 46 #define MAX_DEV_TYPE 32 47 47 48 - #ifndef PCI_VENDOR_ID_LSI_LOGIC 49 - #define PCI_VENDOR_ID_LSI_LOGIC 0x1000 50 - #endif 51 - 52 - #ifndef PCI_VENDOR_ID_AMI 53 - #define PCI_VENDOR_ID_AMI 0x101E 54 - #endif 55 - 56 - #ifndef PCI_VENDOR_ID_DELL 57 - #define PCI_VENDOR_ID_DELL 0x1028 58 - #endif 59 - 60 - #ifndef PCI_VENDOR_ID_INTEL 61 - #define PCI_VENDOR_ID_INTEL 0x8086 62 - #endif 63 - 64 - #ifndef PCI_DEVICE_ID_AMI_MEGARAID 65 - #define PCI_DEVICE_ID_AMI_MEGARAID 0x9010 66 - #endif 67 - 68 - #ifndef PCI_DEVICE_ID_AMI_MEGARAID2 69 - #define PCI_DEVICE_ID_AMI_MEGARAID2 0x9060 70 - #endif 71 - 72 - #ifndef PCI_DEVICE_ID_AMI_MEGARAID3 73 - #define PCI_DEVICE_ID_AMI_MEGARAID3 0x1960 74 - #endif 75 - 76 48 #define PCI_DEVICE_ID_DISCOVERY 0x000E 77 49 #define PCI_DEVICE_ID_PERC4_DI 0x000F 78 50 #define PCI_DEVICE_ID_PERC4_QC_VERDE 0x0407 79 - 80 - /* Sub-System Vendor IDs */ 81 - #define AMI_SUBSYS_VID 0x101E 82 - #define DELL_SUBSYS_VID 0x1028 83 - #define HP_SUBSYS_VID 0x103C 84 - #define LSI_SUBSYS_VID 0x1000 85 - #define INTEL_SUBSYS_VID 0x8086 86 51 87 52 #define HBA_SIGNATURE 0x3344 88 53 #define HBA_SIGNATURE_471 0xCCCC
+3 -3
drivers/scsi/mvumi.c
··· 122 122 123 123 if (!res) { 124 124 dev_err(&mhba->pdev->dev, 125 - "Failed to allocate memory for resouce manager.\n"); 125 + "Failed to allocate memory for resource manager.\n"); 126 126 return NULL; 127 127 } 128 128 ··· 1007 1007 tmp |= INT_MAP_COMAOUT | INT_MAP_COMAERR; 1008 1008 iowrite32(tmp, regs + CPU_ENPOINTA_MASK_REG); 1009 1009 iowrite32(mhba->list_num_io, mhba->ib_shadow); 1010 - /* Set InBound List Avaliable count shadow */ 1010 + /* Set InBound List Available count shadow */ 1011 1011 iowrite32(lower_32_bits(mhba->ib_shadow_phys), 1012 1012 regs + CLA_INB_AVAL_COUNT_BASEL); 1013 1013 iowrite32(upper_32_bits(mhba->ib_shadow_phys), 1014 1014 regs + CLA_INB_AVAL_COUNT_BASEH); 1015 1015 1016 - /* Set OutBound List Avaliable count shadow */ 1016 + /* Set OutBound List Available count shadow */ 1017 1017 iowrite32((mhba->list_num_io-1) | CL_POINTER_TOGGLE, 1018 1018 mhba->ob_shadow); 1019 1019 iowrite32(lower_32_bits(mhba->ob_shadow_phys), regs + 0x5B0);
+3 -3
drivers/scsi/qla4xxx/ql4_os.c
··· 803 803 iscsi_stats_dma); 804 804 if (ret != QLA_SUCCESS) { 805 805 ql4_printk(KERN_ERR, ha, 806 - "Unable to retreive iscsi stats\n"); 806 + "Unable to retrieve iscsi stats\n"); 807 807 goto free_stats; 808 808 } 809 809 ··· 4338 4338 return QLA_ERROR; 4339 4339 4340 4340 /* For multi sessions, driver generates the ISID, so do not compare 4341 - * ISID in reset path since it would be a comparision between the 4341 + * ISID in reset path since it would be a comparison between the 4342 4342 * driver generated ISID and firmware generated ISID. This could 4343 4343 * lead to adding duplicated DDBs in the list as driver generated 4344 4344 * ISID would not match firmware generated ISID. ··· 5326 5326 } 5327 5327 } 5328 5328 /** 5329 - * qla4xxx_remove_adapter - calback function to remove adapter. 5329 + * qla4xxx_remove_adapter - callback function to remove adapter. 5330 5330 * @pci_dev: PCI device pointer 5331 5331 **/ 5332 5332 static void __devexit qla4xxx_remove_adapter(struct pci_dev *pdev)
+2 -2
drivers/scsi/vmw_pvscsi.c
··· 295 295 296 296 static void ll_bus_reset(const struct pvscsi_adapter *adapter) 297 297 { 298 - dev_dbg(pvscsi_dev(adapter), "Reseting bus on %p\n", adapter); 298 + dev_dbg(pvscsi_dev(adapter), "Resetting bus on %p\n", adapter); 299 299 300 300 pvscsi_write_cmd_desc(adapter, PVSCSI_CMD_RESET_BUS, NULL, 0); 301 301 } ··· 304 304 { 305 305 struct PVSCSICmdDescResetDevice cmd = { 0 }; 306 306 307 - dev_dbg(pvscsi_dev(adapter), "Reseting device: target=%u\n", target); 307 + dev_dbg(pvscsi_dev(adapter), "Resetting device: target=%u\n", target); 308 308 309 309 cmd.target = target; 310 310
+1 -1
drivers/spi/spi-au1550.c
··· 475 475 /* 476 476 * due to an spi error we consider transfer as done, 477 477 * so mask all events until before next transfer start 478 - * and stop the possibly running dma immediatelly 478 + * and stop the possibly running dma immediately 479 479 */ 480 480 au1550_spi_mask_ack_all(hw); 481 481 au1xxx_dbdma_stop(hw->dma_rx_ch);
+1 -1
drivers/spi/spi-bfin-sport.c
··· 467 467 dev_dbg(drv_data->dev, "IO write error!\n"); 468 468 drv_data->state = ERROR_STATE; 469 469 } else { 470 - /* Update total byte transfered */ 470 + /* Update total byte transferred */ 471 471 message->actual_length += transfer->len; 472 472 /* Move to next transfer of this msg */ 473 473 drv_data->state = bfin_sport_spi_next_transfer(drv_data);
+1 -1
drivers/spi/spi-oc-tiny.c
··· 129 129 unsigned int i; 130 130 131 131 if (hw->irq >= 0) { 132 - /* use intrrupt driven data transfer */ 132 + /* use interrupt driven data transfer */ 133 133 hw->len = t->len; 134 134 hw->txp = t->tx_buf; 135 135 hw->rxp = t->rx_buf;
+2 -2
drivers/spi/spi-ppc4xx.c
··· 101 101 u8 dummy; 102 102 /* 103 103 * Clock divisor modulus register 104 - * This uses the follwing formula: 104 + * This uses the following formula: 105 105 * SCPClkOut = OPBCLK/(4(CDM + 1)) 106 106 * or 107 107 * CDM = (OPBCLK/4*SCPClkOut) - 1 ··· 201 201 return -EINVAL; 202 202 } 203 203 204 - /* Write new configration */ 204 + /* Write new configuration */ 205 205 out_8(&hw->regs->mode, cs->mode); 206 206 207 207 /* Set the clock */
+1 -1
drivers/spi/spi-topcliff-pch.c
··· 505 505 } 506 506 507 507 if (unlikely(pspi->max_speed_hz == 0)) { 508 - dev_err(&pspi->dev, "%s pch_spi_tranfer maxspeed=%d\n", 508 + dev_err(&pspi->dev, "%s pch_spi_transfer maxspeed=%d\n", 509 509 __func__, pspi->max_speed_hz); 510 510 retval = -EINVAL; 511 511 goto err_out;
+2 -2
drivers/target/iscsi/iscsi_target_parameters.c
··· 662 662 { 663 663 *value = strchr(textbuf, '='); 664 664 if (!*value) { 665 - pr_err("Unable to locate \"=\" seperator for key," 665 + pr_err("Unable to locate \"=\" separator for key," 666 666 " ignoring request.\n"); 667 667 return -1; 668 668 } ··· 1269 1269 comma_ptr = strchr(value, ','); 1270 1270 1271 1271 if (comma_ptr && !IS_TYPE_VALUE_LIST(param)) { 1272 - pr_err("Detected value seperator \",\", but" 1272 + pr_err("Detected value separator \",\", but" 1273 1273 " key \"%s\" does not allow a value list," 1274 1274 " protocol error.\n", param->name); 1275 1275 return -1;
-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); 232 231 return -EINVAL; 233 232 } 234 233
+1 -1
drivers/video/exynos/exynos_mipi_dsi.c
··· 461 461 done: 462 462 platform_set_drvdata(pdev, dsim); 463 463 464 - dev_dbg(&pdev->dev, "%s() completed sucessfuly (%s mode)\n", __func__, 464 + dev_dbg(&pdev->dev, "%s() completed successfully (%s mode)\n", __func__, 465 465 dsim_config->e_interface == DSIM_COMMAND ? "CPU" : "RGB"); 466 466 467 467 return 0;
+4
drivers/video/tmiofb.c
··· 694 694 dev_err(&dev->dev, "NULL platform data!\n"); 695 695 return -EINVAL; 696 696 } 697 + if (ccr == NULL || lcr == NULL || vram == NULL || irq < 0) { 698 + dev_err(&dev->dev, "missing resources\n"); 699 + return -EINVAL; 700 + } 697 701 698 702 info = framebuffer_alloc(sizeof(struct tmiofb_par), &dev->dev); 699 703
+1 -1
drivers/w1/masters/ds1wm.c
··· 349 349 "pass: %d entering ASM\n", pass); 350 350 ds1wm_write_register(ds1wm_data, DS1WM_CMD, DS1WM_CMD_SRA); 351 351 dev_dbg(&ds1wm_data->pdev->dev, 352 - "pass: %d begining nibble loop\n", pass); 352 + "pass: %d beginning nibble loop\n", pass); 353 353 354 354 r_prime = 0; 355 355 d = 0;
+1 -1
fs/btrfs/ctree.h
··· 116 116 #define BTRFS_FREE_SPACE_OBJECTID -11ULL 117 117 118 118 /* 119 - * The inode number assigned to the special inode for sotring 119 + * The inode number assigned to the special inode for storing 120 120 * free ino cache 121 121 */ 122 122 #define BTRFS_FREE_INO_OBJECTID -12ULL
+1 -1
fs/btrfs/delayed-ref.h
··· 18 18 #ifndef __DELAYED_REF__ 19 19 #define __DELAYED_REF__ 20 20 21 - /* these are the possible values of struct btrfs_delayed_ref->action */ 21 + /* these are the possible values of struct btrfs_delayed_ref_node->action */ 22 22 #define BTRFS_ADD_DELAYED_REF 1 /* add one backref to the tree */ 23 23 #define BTRFS_DROP_DELAYED_REF 2 /* delete one backref from the tree */ 24 24 #define BTRFS_ADD_DELAYED_EXTENT 3 /* record a full extent allocation */
+2 -2
fs/btrfs/inode.c
··· 1971 1971 ordered_extent->len - 1, NULL, GFP_NOFS); 1972 1972 1973 1973 /* 1974 - * This needs to be dont to make sure anybody waiting knows we are done 1975 - * upating everything for this ordered extent. 1974 + * This needs to be done to make sure anybody waiting knows we are done 1975 + * updating everything for this ordered extent. 1976 1976 */ 1977 1977 btrfs_remove_ordered_extent(inode, ordered_extent); 1978 1978
+1 -1
fs/ext2/balloc.c
··· 479 479 /** 480 480 * ext2_free_blocks() -- Free given blocks and update quota and i_blocks 481 481 * @inode: inode 482 - * @block: start physcial block to free 482 + * @block: start physical block to free 483 483 * @count: number of blocks to free 484 484 */ 485 485 void ext2_free_blocks (struct inode * inode, unsigned long block,
+1 -1
fs/ext3/balloc.c
··· 483 483 * ext3_free_blocks_sb() -- Free given blocks and update quota 484 484 * @handle: handle to this transaction 485 485 * @sb: super block 486 - * @block: start physcial block to free 486 + * @block: start physical block to free 487 487 * @count: number of blocks to free 488 488 * @pdquot_freed_blocks: pointer to quota 489 489 */
+1 -1
fs/ext3/inode.c
··· 3207 3207 * 3208 3208 * - Within generic_file_write() for O_SYNC files. 3209 3209 * Here, there will be no transaction running. We wait for any running 3210 - * trasnaction to commit. 3210 + * transaction to commit. 3211 3211 * 3212 3212 * - Within sys_sync(), kupdate and such. 3213 3213 * We wait on commit, if tol to.
+7 -7
fs/ext4/inode.c
··· 3313 3313 * handle: The journal handle 3314 3314 * inode: The files inode 3315 3315 * page: A locked page that contains the offset "from" 3316 - * from: The starting byte offset (from the begining of the file) 3316 + * from: The starting byte offset (from the beginning of the file) 3317 3317 * to begin discarding 3318 3318 * len: The length of bytes to discard 3319 3319 * flags: Optional flags that may be used: ··· 3321 3321 * EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED 3322 3322 * Only zero the regions of the page whose buffer heads 3323 3323 * have already been unmapped. This flag is appropriate 3324 - * for updateing the contents of a page whose blocks may 3324 + * for updating the contents of a page whose blocks may 3325 3325 * have already been released, and we only want to zero 3326 3326 * out the regions that correspond to those released blocks. 3327 3327 * 3328 - * Returns zero on sucess or negative on failure. 3328 + * Returns zero on success or negative on failure. 3329 3329 */ 3330 3330 static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle, 3331 3331 struct inode *inode, struct page *page, loff_t from, ··· 3486 3486 * @offset: The offset where the hole will begin 3487 3487 * @len: The length of the hole 3488 3488 * 3489 - * Returns: 0 on sucess or negative on failure 3489 + * Returns: 0 on success or negative on failure 3490 3490 */ 3491 3491 3492 3492 int ext4_punch_hole(struct file *file, loff_t offset, loff_t length) ··· 4008 4008 4009 4009 if (i_blocks <= ~0U) { 4010 4010 /* 4011 - * i_blocks can be represnted in a 32 bit variable 4011 + * i_blocks can be represented in a 32 bit variable 4012 4012 * as multiple of 512 bytes 4013 4013 */ 4014 4014 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks); ··· 4169 4169 * 4170 4170 * - Within generic_file_write() for O_SYNC files. 4171 4171 * Here, there will be no transaction running. We wait for any running 4172 - * trasnaction to commit. 4172 + * transaction to commit. 4173 4173 * 4174 4174 * - Within sys_sync(), kupdate and such. 4175 4175 * We wait on commit, if tol to. ··· 4413 4413 * worse case, the indexs blocks spread over different block groups 4414 4414 * 4415 4415 * If datablocks are discontiguous, they are possible to spread over 4416 - * different block groups too. If they are contiuguous, with flexbg, 4416 + * different block groups too. If they are contiguous, with flexbg, 4417 4417 * they could still across block group boundary. 4418 4418 * 4419 4419 * Also account for superblock, inode, quota and xattr blocks
+1 -1
fs/ext4/mballoc.c
··· 4709 4709 * ext4_group_add_blocks() -- Add given blocks to an existing group 4710 4710 * @handle: handle to this transaction 4711 4711 * @sb: super block 4712 - * @block: start physcial block to add to the block group 4712 + * @block: start physical block to add to the block group 4713 4713 * @count: number of blocks to free 4714 4714 * 4715 4715 * This marks the blocks as free in the bitmap and buddy.
-4
fs/fs-writeback.c
··· 577 577 /* 578 578 * Write a portion of b_io inodes which belong to @sb. 579 579 * 580 - * If @only_this_sb is true, then find and write all such 581 - * inodes. Otherwise write only ones which go sequentially 582 - * in reverse order. 583 - * 584 580 * Return the number of pages and/or inodes written. 585 581 */ 586 582 static long writeback_sb_inodes(struct super_block *sb,
+1 -1
fs/libfs.c
··· 874 874 EXPORT_SYMBOL_GPL(generic_fh_to_dentry); 875 875 876 876 /** 877 - * generic_fh_to_dentry - generic helper for the fh_to_parent export operation 877 + * generic_fh_to_parent - generic helper for the fh_to_parent export operation 878 878 * @sb: filesystem to do the file handle conversion on 879 879 * @fid: file handle to convert 880 880 * @fh_len: length of the file handle in bytes
+1 -1
fs/nfs/super.c
··· 1537 1537 1538 1538 /* 1539 1539 * verify that any proto=/mountproto= options match the address 1540 - * familiies in the addr=/mountaddr= options. 1540 + * families in the addr=/mountaddr= options. 1541 1541 */ 1542 1542 if (protofamily != AF_UNSPEC && 1543 1543 protofamily != mnt->nfs_server.address.ss_family)
-2
include/linux/irqdesc.h
··· 10 10 11 11 struct irq_affinity_notify; 12 12 struct proc_dir_entry; 13 - struct timer_rand_state; 14 13 struct module; 15 14 /** 16 15 * struct irq_desc - interrupt descriptor 17 16 * @irq_data: per irq and chip data passed down to chip functions 18 - * @timer_rand_state: pointer to timer rand state struct 19 17 * @kstat_irqs: irq stats per cpu 20 18 * @handle_irq: highlevel irq-events handler 21 19 * @preflow_handler: handler called before the flow handler (currently used by sparc)
+1 -1
include/linux/mfd/max8998.h
··· 67 67 /** 68 68 * struct max8998_board - packages regulator init data 69 69 * @regulators: array of defined regulators 70 - * @num_regulators: number of regultors used 70 + * @num_regulators: number of regulators used 71 71 * @irq_base: base IRQ number for max8998, required for IRQs 72 72 * @ono: power onoff IRQ number for max8998 73 73 * @buck_voltage_lock: Do NOT change the values of the following six
+1 -1
include/trace/define_trace.h
··· 1 1 /* 2 - * Trace files that want to automate creationg of all tracepoints defined 2 + * Trace files that want to automate creation of all tracepoints defined 3 3 * in their file should include this file. The following are macros that the 4 4 * trace file may define: 5 5 *
+1 -1
mm/bootmem.c
··· 419 419 } 420 420 421 421 /** 422 - * reserve_bootmem - mark a page range as usable 422 + * reserve_bootmem - mark a page range as reserved 423 423 * @addr: starting address of the range 424 424 * @size: size of the range in bytes 425 425 * @flags: reservation flags (see linux/bootmem.h)
+1 -1
net/8021q/vlanproc.c
··· 105 105 }; 106 106 107 107 /* 108 - * Proc filesystem derectory entries. 108 + * Proc filesystem directory entries. 109 109 */ 110 110 111 111 /* Strings */
+2 -2
scripts/coccinelle/api/memdup_user.cocci
··· 51 51 p << r.p; 52 52 @@ 53 53 54 - coccilib.org.print_todo(p[0], "WARNING opportunity for memdep_user") 54 + coccilib.org.print_todo(p[0], "WARNING opportunity for memdup_user") 55 55 56 56 @script:python depends on report@ 57 57 p << r.p; 58 58 @@ 59 59 60 - coccilib.report.print_report(p[0], "WARNING opportunity for memdep_user") 60 + coccilib.report.print_report(p[0], "WARNING opportunity for memdup_user")
-1
security/apparmor/.gitignore
··· 1 1 # 2 2 # Generated include files 3 3 # 4 - af_names.h 5 4 capability_names.h 6 5 rlim_names.h
-1
sound/oss/.gitignore
··· 1 1 #Ignore generated files 2 - maui_boot.h 3 2 pss_boot.h 4 3 trix_boot.h
+1 -1
tools/perf/util/callchain.h
··· 58 58 /* 59 59 * A callchain cursor is a single linked list that 60 60 * let one feed a callchain progressively. 61 - * It keeps persitent allocated entries to minimize 61 + * It keeps persistent allocated entries to minimize 62 62 * allocations. 63 63 */ 64 64 struct callchain_cursor_node {
+1 -1
tools/perf/util/parse-events-test.c
··· 752 752 753 753 ret = stat(path, &st); 754 754 if (ret) 755 - pr_debug("ommiting PMU cpu tests\n"); 755 + pr_debug("omitting PMU cpu tests\n"); 756 756 return !ret; 757 757 } 758 758
+1 -1
tools/perf/util/python-ext-sources
··· 1 1 # 2 - # List of files needed by perf python extention 2 + # List of files needed by perf python extension 3 3 # 4 4 # Each source file must be placed on its own line so that it can be 5 5 # processed by Makefile and util/setup.py accordingly.
+1 -1
tools/testing/ktest/examples/include/defaults.conf
··· 33 33 THIS_DIR := ${PWD} 34 34 35 35 36 - # to orginize your configs, having each machine save their configs 36 + # to organize your configs, having each machine save their configs 37 37 # into a separate directly is useful. 38 38 CONFIG_DIR := ${THIS_DIR}/configs/${MACHINE} 39 39
+1 -1
tools/testing/ktest/examples/include/tests.conf
··· 47 47 # Build, install, boot and test with a randconfg 10 times. 48 48 # It is important that you have set MIN_CONFIG in the config 49 49 # that includes this file otherwise it is likely that the 50 - # randconfig will not have the neccessary configs needed to 50 + # randconfig will not have the necessary configs needed to 51 51 # boot your box. This version of the test requires a min 52 52 # config that has enough to make sure the target has network 53 53 # working.
+3 -3
tools/testing/selftests/vm/run_vmtests
··· 36 36 mount -t hugetlbfs none $mnt 37 37 38 38 echo "--------------------" 39 - echo "runing hugepage-mmap" 39 + echo "running hugepage-mmap" 40 40 echo "--------------------" 41 41 ./hugepage-mmap 42 42 if [ $? -ne 0 ]; then ··· 50 50 echo 268435456 > /proc/sys/kernel/shmmax 51 51 echo 4194304 > /proc/sys/kernel/shmall 52 52 echo "--------------------" 53 - echo "runing hugepage-shm" 53 + echo "running hugepage-shm" 54 54 echo "--------------------" 55 55 ./hugepage-shm 56 56 if [ $? -ne 0 ]; then ··· 62 62 echo $shmall > /proc/sys/kernel/shmall 63 63 64 64 echo "--------------------" 65 - echo "runing map_hugetlb" 65 + echo "running map_hugetlb" 66 66 echo "--------------------" 67 67 ./map_hugetlb 68 68 if [ $? -ne 0 ]; then