Merge branch 'master' into for-next
authorJiri Kosina <jkosina@suse.cz>
Wed, 11 Aug 2010 07:36:51 +0000 (09:36 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 11 Aug 2010 07:36:51 +0000 (09:36 +0200)
Conflicts:
fs/exofs/inode.c

59 files changed:
Documentation/arm/SA1100/FreeBird
arch/blackfin/mach-bf527/boards/ezkit.c
arch/blackfin/mach-bf537/boards/stamp.c
arch/xtensa/include/asm/uaccess.h
block/blk-core.c
drivers/ata/pata_bf54x.c
drivers/base/core.c
drivers/gpu/drm/radeon/radeon_cs.c
drivers/media/video/zoran/videocodec.h
drivers/net/depca.c
drivers/net/igb/igb_main.c
drivers/net/ps3_gelic_net.c
drivers/net/skfp/hwt.c
drivers/net/skfp/skfddi.c
drivers/net/tulip/pnic2.c
drivers/rtc/rtc-nuc900.c
drivers/s390/block/dasd_3990_erp.c
drivers/s390/char/tape_3590.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/usb/gadget/at91_udc.c
drivers/usb/gadget/f_audio.c
drivers/usb/gadget/f_hid.c
drivers/usb/gadget/fsl_udc_core.c
drivers/usb/gadget/langwell_udc.c
drivers/usb/gadget/pxa27x_udc.c
drivers/usb/gadget/rndis.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/imx21-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/oxu210hp-hcd.c
drivers/usb/host/pci-quirks.c
drivers/usb/host/u132-hcd.c
drivers/usb/image/microtek.c
drivers/usb/misc/ftdi-elan.c
drivers/usb/mon/mon_main.c
drivers/usb/musb/musb_gadget.c
drivers/usb/serial/cypress_m8.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/garmin_gps.c
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_ti.c
drivers/usb/serial/iuu_phoenix.c
drivers/usb/serial/keyspan_pda.c
drivers/usb/serial/mos7720.c
drivers/usb/serial/mos7840.c
drivers/usb/serial/omninet.c
drivers/usb/serial/sierra.c
drivers/usb/serial/spcp8x5.c
drivers/usb/serial/usb_wwan.c
drivers/usb/serial/whiteheat.c
drivers/video/bf54x-lq043fb.c
drivers/video/bfin-t350mcqb-fb.c
fs/exofs/inode.c
fs/exofs/ios.c
fs/jfs/jfs_mount.c
kernel/trace/trace_kprobe.c
mm/percpu.c
net/mac80211/mesh.h
net/wanrouter/wanmain.c

index fb23b770aaf49ac97246906eb8dcc6fac70e380c..ab9193663b2b2d3de4b22214a5c1eb12dfc1e221 100644 (file)
@@ -1,6 +1,6 @@
-Freebird-1.1 is produced by Legned(C) ,Inc.
+Freebird-1.1 is produced by Legend(C), Inc.
 http://web.archive.org/web/*/http://www.legend.com.cn
-and software/linux mainatined by Coventive(C),Inc.
+and software/linux maintained by Coventive(C), Inc.
 (http://www.coventive.com)
 
 Based on the Nicolas's strongarm kernel tree.
index a05c967a24cfc22046fde2709da087a6c30bfef1..b182afb28d249ea11c34fdaee04d2fe6426469de 100644 (file)
@@ -884,7 +884,7 @@ static struct adp5520_keys_platform_data adp5520_keys_data = {
 };
 
        /*
-        *  ADP5520/5501 Multifuction Device Init Data
+        *  ADP5520/5501 Multifunction Device Init Data
         */
 
 static struct adp5520_platform_data adp5520_pdev_data = {
index 9eaf5b05c11eac86b46a2680368386b7673a2fc0..b342e1d144af29913a51af1acf99ba40c383d5e9 100644 (file)
@@ -1644,7 +1644,7 @@ static struct adp5520_keys_platform_data adp5520_keys_data = {
 };
 
        /*
-        *  ADP5520/5501 Multifuction Device Init Data
+        *  ADP5520/5501 Multifunction Device Init Data
         */
 
 static struct adp5520_platform_data adp5520_pdev_data = {
index b8528426ab1f0c8174db560b2caf6bdb5168cea9..5b0c18c1cce16c12b215c716465dfdc592d53fbb 100644 (file)
@@ -4,7 +4,7 @@
  * User space memory access functions
  *
  * These routines provide basic accessing functions to the user memory
- * space for the kernel. This header file provides fuctions such as:
+ * space for the kernel. This header file provides functions such as:
  *
  * This file is subject to the terms and conditions of the GNU General Public
  * License.  See the file "COPYING" in the main directory of this archive
index 7da630e25ae7a4d7b82623a10d2c99233bb28f5a..77411486b11195cc79b0e3ab5433fc28e8a94805 100644 (file)
@@ -1634,7 +1634,7 @@ EXPORT_SYMBOL(submit_bio);
  *    the insertion using this generic function.
  *
  *    This function should also be useful for request stacking drivers
- *    in some cases below, so export this fuction.
+ *    in some cases below, so export this function.
  *    Request stacking drivers like request-based dm may change the queue
  *    limits while requests are in the queue (e.g. dm's table swapping).
  *    Such request stacking drivers should check those requests agaist
index 9cae65de750e10777260d2e3e9d9bbab2026b768..be7b1b21e77712ee0139502b535c3459e27d820c 100644 (file)
@@ -1588,7 +1588,7 @@ static int __devinit bfin_atapi_probe(struct platform_device *pdev)
        host->ports[0]->ioaddr.ctl_addr = (void *)res->start;
 
        if (peripheral_request_list(atapi_io_port, "atapi-io-port")) {
-               dev_err(&pdev->dev, "Requesting Peripherals faild\n");
+               dev_err(&pdev->dev, "Requesting Peripherals failed\n");
                return -EFAULT;
        }
 
index d1b2c9adc2718ebcf8979d19b0c065803020836e..aed85f1c446eba6e92c958bfaafe87e4ae2579f9 100644 (file)
@@ -251,7 +251,7 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj,
                                 __func__, retval);
        }
 
-       /* have the device type specific fuction add its stuff */
+       /* have the device type specific function add its stuff */
        if (dev->type && dev->type->uevent) {
                retval = dev->type->uevent(dev, env);
                if (retval)
index ae0fb7356e627c083ec4c1a0222608b43d917cf8..8de578ee4987d8c0c31b4d02e35779c5cc7f5ae3 100644 (file)
@@ -268,7 +268,7 @@ int radeon_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
        }
        r = radeon_ib_schedule(rdev, parser.ib);
        if (r) {
-               DRM_ERROR("Faild to schedule IB !\n");
+               DRM_ERROR("Failed to schedule IB !\n");
        }
        radeon_cs_parser_fini(&parser, r);
        mutex_unlock(&rdev->cs_mutex);
index 5c27b251354e5019bc1dff232d2e9f087ba2932c..b654bfff87407a28ba980c2d303bb6c1e42b2361 100644 (file)
@@ -56,7 +56,7 @@
    the slave is bound to it). Otherwise it doesn't need this functions and
    therfor they may not be initialized.
 
-   The other fuctions are just for convenience, as they are for sure used by
+   The other functions are just for convenience, as they are for sure used by
    most/all of the codecs. The last ones may be ommited, too.
 
    See the structure declaration below for more information and which data has
index 44c0694c1f4eb7e9614910970c36d288ce63c6fa..91b3846ffc8a8cd553d839a737bcf25352f01c03 100644 (file)
@@ -1487,7 +1487,7 @@ static void __init depca_platform_probe (void)
                if (!pldev->dev.driver) {
                /* The driver was not bound to this device, there was
                 * no hardware at this address. Unregister it, as the
-                * release fuction will take care of freeing the
+                * release function will take care of freeing the
                 * allocated structure */
 
                        depca_io_ports[i].device = NULL;
index 9b4e5895f5f9d978992b204c3cbbbd8190b2340f..aaf506c56ccb0a44466cad69ca2ef01b1aa7b8ec 100644 (file)
@@ -3527,7 +3527,7 @@ enum latency_range {
  *      Stores a new ITR value based on strictly on packet size.  This
  *      algorithm is less sophisticated than that used in igb_update_itr,
  *      due to the difficulty of synchronizing statistics across multiple
- *      receive rings.  The divisors and thresholds used by this fuction
+ *      receive rings.  The divisors and thresholds used by this function
  *      were determined based on theoretical maximum wire speed and testing
  *      data, in order to minimize response time while increasing bulk
  *      throughput.
index 87d6b8f3630470cce8219a4738352377e9d6cac6..49f6700e2ec290e1f641af8a3b2c7c8eb53cb256 100644 (file)
@@ -642,7 +642,7 @@ static inline void gelic_card_disable_rxdmac(struct gelic_card *card)
        status = lv1_net_stop_rx_dma(bus_id(card), dev_id(card), 0);
        if (status)
                dev_err(ctodev(card),
-                       "lv1_net_stop_rx_dma faild, %d\n", status);
+                       "lv1_net_stop_rx_dma failed, %d\n", status);
 }
 
 /**
@@ -660,7 +660,7 @@ static inline void gelic_card_disable_txdmac(struct gelic_card *card)
        status = lv1_net_stop_tx_dma(bus_id(card), dev_id(card), 0);
        if (status)
                dev_err(ctodev(card),
-                       "lv1_net_stop_tx_dma faild, status=%d\n", status);
+                       "lv1_net_stop_tx_dma failed, status=%d\n", status);
 }
 
 /**
index 053151468f93af7947d0bc9dc3da41a409a3971f..465565e53a68b639553cdfdf864c2f9253a03929 100644 (file)
@@ -221,7 +221,7 @@ u_long hwt_quick_read(struct s_smc *smc)
  * para        start           start time
  *     duration        time to wait
  *
- * NOTE: The fuction will return immediately, if the timer is not 
+ * NOTE: The function will return immediately, if the timer is not
  *      started
  ************************/
 void hwt_wait_time(struct s_smc *smc, u_long start, long int duration)
index 31b2dabf094cdbce1a9ace31b1657d28e5a459ac..0ade12a21d16f4a1bde38f63a8edd2408a5d3ad0 100644 (file)
@@ -33,7 +33,7 @@
  *   The driver architecture is based on the DEC FDDI driver by
  *   Lawrence V. Stefani and several ethernet drivers.
  *   I also used an existing Windows NT miniport driver.
- *   All hardware dependent fuctions are handled by the SysKonnect
+ *   All hardware dependent functions are handled by the SysKonnect
  *   Hardware Module.
  *   The only headerfiles that are directly related to this source
  *   are skfddi.c, h/types.h, h/osdef1st.h, h/targetos.h.
index b8197666021e7b3e55e5660d76322657acfc9be7..4690c8e692076d518a6c8e1c3973025e59ba7e31 100644 (file)
@@ -59,7 +59,7 @@
  * Bit 14:12 - autonegotiation state (write 001 to start autonegotiate)
  * Bit 3     - Autopolarity state
  * Bit 2     - LS10B - link state of 10baseT 0 - good, 1 - failed
- * Bit 1     - LS100B - link state of 100baseT 0 - good, 1- faild
+ * Bit 1     - LS100B - link state of 100baseT 0 - good, 1 - failed
  *
  *
  * Data Port Selection Info
index a351bd5d81765d785d9b3b41972961446615d12b..08f95bd3adb3c2bc49bbddb447a5b2168634c0c3 100644 (file)
@@ -279,7 +279,7 @@ static int __devinit nuc900_rtc_probe(struct platform_device *pdev)
        nuc900_rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev,
                                                &nuc900_rtc_ops, THIS_MODULE);
        if (IS_ERR(nuc900_rtc->rtcdev)) {
-               dev_err(&pdev->dev, "rtc device register faild\n");
+               dev_err(&pdev->dev, "rtc device register failed\n");
                err = PTR_ERR(nuc900_rtc->rtcdev);
                goto fail4;
        }
index 85bfd87948561cf17e758c9074bdaef2a33140a8..e82d427ff5ebc8bf14a0e227e0ae5c32077bd797 100644 (file)
@@ -2197,7 +2197,7 @@ dasd_3990_erp_inspect_32(struct dasd_ccw_req * erp, char *sense)
 
 /*
  *****************************************************************************
- * main ERP control fuctions (24 and 32 byte sense)
+ * main ERP control functions (24 and 32 byte sense)
  *****************************************************************************
  */
 
index fc993acf99b656a273475588be808c2894c72884..deff2c3361e407220c68caf7cae9e29ce665ac3c 100644 (file)
@@ -31,7 +31,7 @@ debug_info_t *TAPE_DBF_AREA = NULL;
 EXPORT_SYMBOL(TAPE_DBF_AREA);
 
 /*******************************************************************
- * Error Recovery fuctions:
+ * Error Recovery functions:
  * - Read Opposite:             implemented
  * - Read Device (buffered) log: BRA
  * - Read Library log:          BRA
@@ -798,7 +798,7 @@ tape_3590_done(struct tape_device *device, struct tape_request *request)
 }
 
 /*
- * This fuction is called, when error recovery was successfull
+ * This function is called, when error recovery was successful
  */
 static inline int
 tape_3590_erp_succeded(struct tape_device *device, struct tape_request *request)
@@ -809,7 +809,7 @@ tape_3590_erp_succeded(struct tape_device *device, struct tape_request *request)
 }
 
 /*
- * This fuction is called, when error recovery was not successfull
+ * This function is called, when error recovery was not successful
  */
 static inline int
 tape_3590_erp_failed(struct tape_device *device, struct tape_request *request,
index 0639c994349c55be5936a38852cbb23acabdb357..b37fa202d1e376e9c8d5d67b9daadf7ea90f70c8 100644 (file)
@@ -5498,7 +5498,7 @@ lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type)
  * @buff: Buffer containing config region 23 data.
  * @size: Size of the data buffer.
  *
- * This fuction parse the FCoE config parameters in config region 23 and
+ * This function parses the FCoE config parameters in config region 23 and
  * populate driver data structure with the parameters.
  */
 void
index 93ead19507b632c20095980fd5b0350d6407d23d..d90c9e89688e2bfd5fe5782f760c8958dc9aac7f 100644 (file)
@@ -1266,7 +1266,6 @@ write_in:
        csr |= AT91_UDP_TXPKTRDY;
        __raw_writel(csr, creg);
        udc->req_pending = 0;
-       return;
 }
 
 static void handle_ep0(struct at91_udc *udc)
index 1f48ceb55a778f96fcde38ee54aab1ae111f37e2..00975ed903d12532629951e1510de2c49e28ff7c 100644 (file)
@@ -317,8 +317,6 @@ static void f_audio_playback_work(struct work_struct *data)
 
        u_audio_playback(&audio->card, play_buf->buf, play_buf->actual);
        f_audio_buffer_free(play_buf);
-
-       return;
 }
 
 static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req)
index 53e120208e990c5a423b76dfa5578b5991aabf17..111b85ca7ac0971d8edc029aa8e5e5d53cac1656 100644 (file)
@@ -318,8 +318,6 @@ static void hidg_set_report_complete(struct usb_ep *ep, struct usb_request *req)
        spin_unlock(&hidg->spinlock);
 
        wake_up(&hidg->read_queue);
-
-       return;
 }
 
 static int hidg_setup(struct usb_function *f,
@@ -413,8 +411,6 @@ static void hidg_disable(struct usb_function *f)
 
        usb_ep_disable(hidg->in_ep);
        hidg->in_ep->driver_data = NULL;
-
-       return;
 }
 
 static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt)
index 08a9a62a39e34910ecbcb3fdb8381c044fa851e4..d933e6398412aa4a0af68c3465c67c9559df4d84 100644 (file)
@@ -287,8 +287,6 @@ static void dr_controller_run(struct fsl_udc *udc)
        temp = fsl_readl(&dr_regs->usbcmd);
        temp |= USB_CMD_RUN_STOP;
        fsl_writel(temp, &dr_regs->usbcmd);
-
-       return;
 }
 
 static void dr_controller_stop(struct fsl_udc *udc)
@@ -308,8 +306,6 @@ static void dr_controller_stop(struct fsl_udc *udc)
        tmp = fsl_readl(&dr_regs->usbcmd);
        tmp &= ~USB_CMD_RUN_STOP;
        fsl_writel(tmp, &dr_regs->usbcmd);
-
-       return;
 }
 
 static void dr_ep_setup(unsigned char ep_num, unsigned char dir,
@@ -416,8 +412,6 @@ static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num,
        p_QH->max_pkt_length = cpu_to_le32(tmp);
        p_QH->next_dtd_ptr = 1;
        p_QH->size_ioc_int_sts = 0;
-
-       return;
 }
 
 /* Setup qh structure and ep register for ep0. */
index c2d2a201f84bc65759cbec099b7daf63a8b925bc..d41b69cf508b6c3216ba62cf4717723877638959 100644 (file)
@@ -284,7 +284,6 @@ static void ep0_reset(struct langwell_udc *dev)
        }
 
        VDBG(dev, "<--- %s()\n", __func__);
-       return;
 }
 
 
@@ -1486,7 +1485,6 @@ static void langwell_udc_start(struct langwell_udc *dev)
        writel(usbcmd, &dev->op_regs->usbcmd);
 
        DBG(dev, "<--- %s()\n", __func__);
-       return;
 }
 
 
@@ -1509,7 +1507,6 @@ static void langwell_udc_stop(struct langwell_udc *dev)
        writel(usbcmd, &dev->op_regs->usbcmd);
 
        DBG(dev, "<--- %s()\n", __func__);
-       return;
 }
 
 
index 980762453a9c293d6bdda38bdc54317c55a3433c..98dfa181449fbcaa5614b474bfa19f763f4ca229 100644 (file)
@@ -1394,8 +1394,6 @@ static void pxa_ep_fifo_flush(struct usb_ep *_ep)
        }
 
        spin_unlock_irqrestore(&ep->lock, flags);
-
-       return;
 }
 
 /**
index 020fa5a25fda8fe7bb6c1ca23f28f90d120bd537..eb61ab4b302cf7aea2f020ee4ba979454746fa47 100644 (file)
@@ -916,8 +916,6 @@ void rndis_deregister (int configNr)
 
        if (configNr >= RNDIS_MAX_CONFIGS) return;
        rndis_per_dev_params [configNr].used = 0;
-
-       return;
 }
 
 int rndis_set_param_dev(u8 configNr, struct net_device *dev, u16 *cdc_filter)
index 34a928d3b7d2f69ddf671330cc9bbb60dbf5405c..ac0f7a4b03410f51dd8b637717207222cea4f259 100644 (file)
@@ -1080,7 +1080,6 @@ nogood:
        ep->hcpriv = NULL;
 done:
        spin_unlock_irqrestore (&ehci->lock, flags);
-       return;
 }
 
 static void
index 3e5630369c316ccabaddd137ad9b3abd7598034e..d0abb9b0e6732b19f40cc4cc011fecf2e9c33a04 100644 (file)
@@ -27,8 +27,8 @@
   *    * 32 transfer descriptors (called ETDs)
   *    * 4Kb of Data memory
   *
-  * The data memory is shared between the host and fuction controlers
-  * (but this driver only supports the host controler)
+  * The data memory is shared between the host and function controllers
+  * (but this driver only supports the host controller)
   *
   * So setting up a transfer involves:
   *    * Allocating a ETD
index c3b4ccc7337b54577f6ae0d9c5ab934f9359d27f..15ae39d6cc2425706c2114bdb3efa5559acbc0b5 100644 (file)
@@ -370,7 +370,6 @@ sanitize:
        }
        ep->hcpriv = NULL;
        spin_unlock_irqrestore (&ohci->lock, flags);
-       return;
 }
 
 static int ohci_get_frame (struct usb_hcd *hcd)
index d9c85a29273714b67a3feee118aef6d14f940be1..8026dc85996cf10fa154208144246d6f421728b3 100644 (file)
@@ -544,8 +544,6 @@ static void oxu_buf_free(struct oxu_hcd *oxu, struct ehci_qtd *qtd)
        qtd->buffer = NULL;
 
        spin_unlock(&oxu->mem_lock);
-
-       return;
 }
 
 static inline void ehci_qtd_init(struct ehci_qtd *qtd, dma_addr_t dma)
@@ -571,8 +569,6 @@ static inline void oxu_qtd_free(struct oxu_hcd *oxu, struct ehci_qtd *qtd)
        oxu->qtd_used[index] = 0;
 
        spin_unlock(&oxu->mem_lock);
-
-       return;
 }
 
 static struct ehci_qtd *ehci_qtd_alloc(struct oxu_hcd *oxu)
@@ -615,8 +611,6 @@ static void oxu_qh_free(struct oxu_hcd *oxu, struct ehci_qh *qh)
        oxu->qh_used[index] = 0;
 
        spin_unlock(&oxu->mem_lock);
-
-       return;
 }
 
 static void qh_destroy(struct kref *kref)
@@ -693,8 +687,6 @@ static void oxu_murb_free(struct oxu_hcd *oxu, struct oxu_murb *murb)
        oxu->murb_used[index] = 0;
 
        spin_unlock(&oxu->mem_lock);
-
-       return;
 }
 
 static struct oxu_murb *oxu_murb_alloc(struct oxu_hcd *oxu)
@@ -3070,7 +3062,6 @@ nogood:
        ep->hcpriv = NULL;
 done:
        spin_unlock_irqrestore(&oxu->lock, flags);
-       return;
 }
 
 static int oxu_get_frame(struct usb_hcd *hcd)
index 83b5f9cea85ac9f43af8d3b1eb87a259517cc05c..5b37b08e0d80a4541b565fbed03916806aaeb792 100644 (file)
@@ -338,8 +338,6 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev)
        writel(0x3f, op_reg_base + EHCI_USBSTS);
 
        iounmap(base);
-
-       return;
 }
 
 /*
index 5b31bae92dbca1438e6bb1bcd203d1a661e630aa..fab764946c745fd141fe497c4ec5bfcc75788d2d 100644 (file)
@@ -316,7 +316,6 @@ static void u132_ring_requeue_work(struct u132 *u132, struct u132_ring *ring,
        } else if (queue_delayed_work(workqueue, &ring->scheduler, 0))
                return;
        kref_put(&u132->kref, u132_hcd_delete);
-       return;
 }
 
 static void u132_ring_queue_work(struct u132 *u132, struct u132_ring *ring,
@@ -324,7 +323,6 @@ static void u132_ring_queue_work(struct u132 *u132, struct u132_ring *ring,
 {
        kref_get(&u132->kref);
        u132_ring_requeue_work(u132, ring, delta);
-       return;
 }
 
 static void u132_ring_cancel_work(struct u132 *u132, struct u132_ring *ring)
@@ -543,7 +541,6 @@ static void u132_hcd_giveback_urb(struct u132 *u132, struct u132_endp *endp,
        mutex_unlock(&u132->scheduler_lock);
        u132_endp_put_kref(u132, endp);
        usb_hcd_giveback_urb(hcd, urb, status);
-       return;
 }
 
 static void u132_hcd_forget_urb(struct u132 *u132, struct u132_endp *endp,
@@ -574,8 +571,8 @@ static void u132_hcd_abandon_urb(struct u132 *u132, struct u132_endp *endp,
                endp->active = 0;
                spin_unlock_irqrestore(&endp->queue_lock.slock, irqs);
                kfree(urbq);
-       } usb_hcd_giveback_urb(hcd, urb, status);
-       return;
+       }
+       usb_hcd_giveback_urb(hcd, urb, status);
 }
 
 static inline int edset_input(struct u132 *u132, struct u132_ring *ring,
@@ -3085,7 +3082,6 @@ static void u132_initialise(struct u132 *u132, struct platform_device *pdev)
                u132->endp[endps] = NULL;
 
        mutex_unlock(&u132->sw_lock);
-       return;
 }
 
 static int __devinit u132_probe(struct platform_device *pdev)
index 3a6bcd5fee09a6959faca5b33ce3aa58eb5bfa97..5a47805d9580740c7ef33f75bb0fafd0a2c73dad 100644 (file)
@@ -398,7 +398,6 @@ void mts_int_submit_urb (struct urb* transfer,
                context->srb->result = DID_ERROR << 16;
                mts_transfer_cleanup(transfer);
        }
-       return;
 }
 
 
@@ -409,7 +408,6 @@ static void mts_transfer_cleanup( struct urb *transfer )
 
        if ( likely(context->final_callback != NULL) )
                context->final_callback(context->srb);
-
 }
 
 static void mts_transfer_done( struct urb *transfer )
@@ -420,8 +418,6 @@ static void mts_transfer_done( struct urb *transfer )
        context->srb->result |= (unsigned)(*context->scsi_status)<<1;
 
        mts_transfer_cleanup(transfer);
-
-       return;
 }
 
 
@@ -452,8 +448,6 @@ static void mts_data_done( struct urb* transfer )
        }
 
        mts_get_status(transfer);
-
-       return;
 }
 
 
@@ -496,8 +490,6 @@ static void mts_command_done( struct urb *transfer )
                        mts_get_status(transfer);
                }
        }
-
-       return;
 }
 
 static void mts_do_sg (struct urb* transfer)
@@ -522,7 +514,6 @@ static void mts_do_sg (struct urb* transfer)
                           sg[context->fragment].length,
                           context->fragment + 1 == scsi_sg_count(context->srb) ?
                           mts_data_done : mts_do_sg);
-       return;
 }
 
 static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 };
index aecf380f6ecc51abaae6fcb0bdd0cdf2e830d061..c5b571050d8cf707fda9c1bbbdbbc9e24867e7d0 100644 (file)
@@ -456,7 +456,6 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi)
 static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi)
 {
         ftdi_command_queue_work(ftdi, 0);
-        return;
 }
 
 static void ftdi_elan_command_work(struct work_struct *work)
@@ -483,7 +482,6 @@ static void ftdi_elan_command_work(struct work_struct *work)
 static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi)
 {
         ftdi_respond_queue_work(ftdi, 0);
-        return;
 }
 
 static void ftdi_elan_respond_work(struct work_struct *work)
index 812dc288bb8c1a081805313f742110e9ad2c0bc1..10405119985c8fa19c1de95300aa9601bea2d7c6 100644 (file)
@@ -90,7 +90,6 @@ static void mon_bus_submit(struct mon_bus *mbus, struct urb *urb)
                r->rnf_submit(r->r_data, urb);
        }
        spin_unlock_irqrestore(&mbus->lock, flags);
-       return;
 }
 
 static void mon_submit(struct usb_bus *ubus, struct urb *urb)
@@ -117,7 +116,6 @@ static void mon_bus_submit_error(struct mon_bus *mbus, struct urb *urb, int erro
                r->rnf_error(r->r_data, urb, error);
        }
        spin_unlock_irqrestore(&mbus->lock, flags);
-       return;
 }
 
 static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error)
index 6fca870e957ed3b5061f19deec76a9472d6d5211..a83a139da5bcef906563b1f4226b933a44de23fc 100644 (file)
@@ -829,7 +829,6 @@ void musb_g_rx(struct musb *musb, u8 epnum)
                DBG(3, "packet waiting for %s%s request\n",
                                musb_ep->desc ? "" : "inactive ",
                                musb_ep->end_point.name);
-       return;
 }
 
 /* ------------------------------------------------------------ */
index f5d06746cc3bf9bbd3497c2605dbcd40bdfe3994..2edf238b00b9a860d6aa2f079f4217f4cb2adf80 100644 (file)
@@ -1320,8 +1320,6 @@ continue_read:
                        cypress_set_dead(port);
                }
        }
-
-       return;
 } /* cypress_read_int_callback */
 
 
index eb12d9b096b4f54f803b9ee34e9302e694a799b8..4fc588cc471696a1c4bcb941ee293618beeacc35 100644 (file)
@@ -2069,7 +2069,6 @@ static void ftdi_set_termios(struct tty_struct *tty,
                /* lower DTR/RTS */
                clear_mctrl(port, TIOCM_DTR | TIOCM_RTS);
        }
-       return;
 }
 
 static int ftdi_tiocmget(struct tty_struct *tty, struct file *file)
index a42b29a695b2a6995a4e331197bc1a2c35a0fa36..26710b1899185d40cdd8d797ec9968da1ff08f53 100644 (file)
@@ -1264,7 +1264,6 @@ static void garmin_read_bulk_callback(struct urb *urb)
                garmin_data_p->flags &= ~FLAGS_BULK_IN_ACTIVE;
                spin_unlock_irqrestore(&garmin_data_p->lock, flags);
        }
-       return;
 }
 
 
index 76e6fb3aab7a475c0c64f708298be4c9b03b36a0..892e916ef67e453b48efbb30604ca9323b2db353 100644 (file)
@@ -1465,8 +1465,6 @@ static void edge_throttle(struct tty_struct *tty)
                if (status != 0)
                        return;
        }
-
-       return;
 }
 
 
@@ -1770,8 +1768,6 @@ static void edge_break(struct tty_struct *tty, int break_state)
                        dbg("%s - error sending break set/clear command.",
                                __func__);
        }
-
-       return;
 }
 
 
@@ -2042,7 +2038,6 @@ static void process_rcvd_status(struct edgeport_serial *edge_serial,
                dbg("%s - Unrecognized IOSP status code %u", __func__, code);
                break;
        }
-       return;
 }
 
 
@@ -2095,8 +2090,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 newMsr)
 
        /* Save the new modem status */
        edge_port->shadowMSR = newMsr & 0xf0;
-
-       return;
 }
 
 
@@ -2143,8 +2136,6 @@ static void handle_new_lsr(struct edgeport_port *edge_port, __u8 lsrData,
                icount->parity++;
        if (newLsr & LSR_FRM_ERR)
                icount->frame++;
-
-       return;
 }
 
 
@@ -2720,7 +2711,6 @@ static void change_port_settings(struct tty_struct *tty,
                baud = tty_termios_baud_rate(old_termios);
                tty_encode_baud_rate(tty, baud, baud);
        }
-       return;
 }
 
 
@@ -2922,7 +2912,6 @@ static void load_application_firmware(struct edgeport_serial *edge_serial)
                                    0x40, 0x4000, 0x0001, NULL, 0, 3000);
 
        release_firmware(fw);
-       return;
 }
 
 
index dc47f986df57f739b18ceb121dc8f19b0acd8c23..9d6be304dff9c0b710a660204fa2f82b35d05ebe 100644 (file)
@@ -1571,8 +1571,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 msr)
                }
        }
        tty_kref_put(tty);
-
-       return;
 }
 
 static void handle_new_lsr(struct edgeport_port *edge_port, int lsr_data,
@@ -2424,7 +2422,6 @@ static void change_port_settings(struct tty_struct *tty,
                dbg("%s - error %d when trying to write config to device",
                     __func__, status);
        kfree(config);
-       return;
 }
 
 static void edge_set_termios(struct tty_struct *tty,
@@ -2445,7 +2442,6 @@ static void edge_set_termios(struct tty_struct *tty,
                return;
        /* change the port settings to the new ones specified */
        change_port_settings(tty, edge_port, old_termios);
-       return;
 }
 
 static int edge_tiocmset(struct tty_struct *tty, struct file *file,
index efc72113216b2f365a647b6f1b7067b705bb085f..12ed594f5f808f63106ad4dedbcb9f7d35983237 100644 (file)
@@ -807,7 +807,6 @@ static void read_rxcmd_callback(struct urb *urb)
                          iuu_uart_read_callback, port);
        result = usb_submit_urb(port->read_urb, GFP_ATOMIC);
        dbg("%s - submit result = %d", __func__, result);
-       return;
 }
 
 static int iuu_uart_on(struct usb_serial_port *port)
index 185fe9a7d4e05f277bd1293343aa0f80394d8835..a10dd5676ccc0e70a930e0c7048daa675adc6f76 100644 (file)
@@ -292,7 +292,6 @@ static void keyspan_pda_rx_unthrottle(struct tty_struct *tty)
        port->interrupt_in_urb->dev = port->serial->dev;
        if (usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL))
                dbg(" usb_submit_urb(read urb) failed");
-       return;
 }
 
 
index 30922a7e3347494b5ca30b81ea77e53ea767e91e..f442333dfa99720bb60cbe0aa482e9a38f5e289d 100644 (file)
@@ -827,7 +827,6 @@ exit:
                dev_err(&urb->dev->dev,
                        "%s - Error %d submitting control urb\n",
                        __func__, result);
-       return;
 }
 
 /*
@@ -907,7 +906,6 @@ exit:
                dev_err(&urb->dev->dev,
                        "%s - Error %d submitting control urb\n",
                        __func__, result);
-       return;
 }
 
 /*
@@ -1227,8 +1225,6 @@ static void mos7720_break(struct tty_struct *tty, int break_state)
        mos7720_port->shadowLCR  = data;
        write_mos_reg(serial, port->number - port->serial->minor,
                      LCR, mos7720_port->shadowLCR);
-
-       return;
 }
 
 /*
@@ -1746,7 +1742,6 @@ static void change_port_settings(struct tty_struct *tty,
                        dbg("usb_submit_urb(read bulk) failed, status = %d",
                            status);
        }
-       return;
 }
 
 /*
@@ -1803,7 +1798,6 @@ static void mos7720_set_termios(struct tty_struct *tty,
                        dbg("usb_submit_urb(read bulk) failed, status = %d",
                            status);
        }
-       return;
 }
 
 /*
index 585b7e6637405981e5019790bbdb0700109f87d0..d3fc30c5959d21e771886bde4eeb244ccbc08d5d 100644 (file)
@@ -1355,8 +1355,6 @@ static void mos7840_break(struct tty_struct *tty, int break_state)
            mos7840_port->shadowLCR);
        mos7840_set_uart_reg(port, LINE_CONTROL_REGISTER,
                             mos7840_port->shadowLCR);
-
-       return;
 }
 
 /*****************************************************************************
@@ -1587,8 +1585,6 @@ static void mos7840_throttle(struct tty_struct *tty)
                if (status < 0)
                        return;
        }
-
-       return;
 }
 
 /*****************************************************************************
@@ -2063,8 +2059,6 @@ static void mos7840_change_port_settings(struct tty_struct *tty,
        mos7840_port->delta_msr_cond = 1;
        dbg("mos7840_change_port_settings mos7840_port->shadowLCR is End %x",
            mos7840_port->shadowLCR);
-
-       return;
 }
 
 /*****************************************************************************
@@ -2133,7 +2127,6 @@ static void mos7840_set_termios(struct tty_struct *tty,
                        mos7840_port->read_urb_busy = false;
                }
        }
-       return;
 }
 
 /*****************************************************************************
index 89c724c0ac0a9cb3a9747f632973f5e0980677f6..60f38d5e64fce24761dacdbb7871fb57e9c55e68 100644 (file)
@@ -246,8 +246,6 @@ static void omninet_read_bulk_callback(struct urb *urb)
                dev_err(&port->dev,
                        "%s - failed resubmitting read urb, error %d\n",
                        __func__, result);
-
-       return;
 }
 
 static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port,
index d47b56e9e8ce9dc22c423967f2ab73a4f0dd5db1..7481ff8a49e4aaf3f025728e40201c2c4a332ff2 100644 (file)
@@ -620,8 +620,6 @@ static void sierra_indat_callback(struct urb *urb)
                        dev_err(&port->dev, "resubmit read urb failed."
                                "(%d)\n", err);
        }
-
-       return;
 }
 
 static void sierra_instat_callback(struct urb *urb)
index 329d311a35d9b1ef9d10e3ac96924c450fd1c4bb..765aa983bf58e6e3548a079d2e92223b03cd6eff 100644 (file)
@@ -441,7 +441,6 @@ static void spcp8x5_set_termios(struct tty_struct *tty,
                spcp8x5_set_workMode(serial->dev, 0x000a,
                                     SET_WORKING_MODE_U2C, priv->type);
        }
-       return;
 }
 
 /* open the serial port. do some usb system call. set termios and get the line
index 0c70b4a621bb47b5974cec0e59a844e7f4358ff9..fbc94679780168b9ef0a455dc0c1bcf0211d741e 100644 (file)
@@ -234,7 +234,6 @@ static void usb_wwan_indat_callback(struct urb *urb)
                }
 
        }
-       return;
 }
 
 static void usb_wwan_outdat_callback(struct urb *urb)
index 12ed8209ca72aa594d1c33179db89a63c238298b..3f9ac88d588ceea587d3cfc773f0db93a092120a 100644 (file)
@@ -655,8 +655,6 @@ static void whiteheat_release(struct usb_serial *serial)
                }
                kfree(info);
        }
-
-       return;
 }
 
 static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port)
@@ -955,8 +953,6 @@ static void whiteheat_throttle(struct tty_struct *tty)
        spin_lock_irq(&info->lock);
        info->flags |= THROTTLED;
        spin_unlock_irq(&info->lock);
-
-       return;
 }
 
 
@@ -975,8 +971,6 @@ static void whiteheat_unthrottle(struct tty_struct *tty)
 
        if (actually_throttled)
                rx_data_softint(&info->rx_work);
-
-       return;
 }
 
 
index b020ba7f1cf22f6fabad4dfc0d682243402ba245..e7d0f525041e7aa8ec0da2c6f34880ad4493def2 100644 (file)
@@ -241,12 +241,12 @@ static int request_ports(struct bfin_bf54xfb_info *fbi)
        u16 disp = fbi->mach_info->disp;
 
        if (gpio_request(disp, DRIVER_NAME)) {
-               printk(KERN_ERR "Requesting GPIO %d faild\n", disp);
+               printk(KERN_ERR "Requesting GPIO %d failed\n", disp);
                return -EFAULT;
        }
 
        if (peripheral_request_list(eppi_req_18, DRIVER_NAME)) {
-               printk(KERN_ERR "Requesting Peripherals faild\n");
+               printk(KERN_ERR "Requesting Peripherals failed\n");
                gpio_free(disp);
                return -EFAULT;
        }
@@ -256,7 +256,7 @@ static int request_ports(struct bfin_bf54xfb_info *fbi)
                u16 eppi_req_24[] = EPPI0_24;
 
                if (peripheral_request_list(eppi_req_24, DRIVER_NAME)) {
-                       printk(KERN_ERR "Requesting Peripherals faild\n");
+                       printk(KERN_ERR "Requesting Peripherals failed\n");
                        peripheral_free_list(eppi_req_18);
                        gpio_free(disp);
                        return -EFAULT;
index 7a50272eaab94972e459efd8776785c789e4b478..3cf77676947cbd19a59e3ec0a0604337e49df072 100644 (file)
@@ -192,7 +192,7 @@ static int bfin_t350mcqb_request_ports(int action)
 {
        if (action) {
                if (peripheral_request_list(ppi0_req_8, DRIVER_NAME)) {
-                       printk(KERN_ERR "Requesting Peripherals faild\n");
+                       printk(KERN_ERR "Requesting Peripherals failed\n");
                        return -EFAULT;
                }
        } else
index 088cb476b68a8c24c72bd2abf0503d9917667725..185ef1281e0cf8d1c0db0df27e4299c20aca96bb 100644 (file)
@@ -508,7 +508,7 @@ static int write_exec(struct page_collect *pcol)
 
        pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL);
        if (!pcol_copy) {
-               EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n");
+               EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n");
                ret = -ENOMEM;
                goto err;
        }
@@ -524,7 +524,7 @@ static int write_exec(struct page_collect *pcol)
 
        ret = exofs_oi_write(oi, ios);
        if (unlikely(ret)) {
-               EXOFS_ERR("write_exec: exofs_oi_write() Faild\n");
+               EXOFS_ERR("write_exec: exofs_oi_write() Failed\n");
                goto err;
        }
 
@@ -625,7 +625,7 @@ try_again:
                /* split the request, next loop will start again */
                ret = write_exec(pcol);
                if (unlikely(ret)) {
-                       EXOFS_DBGMSG("write_exec faild => %d", ret);
+                       EXOFS_DBGMSG("write_exec failed => %d", ret);
                        goto fail;
                }
 
@@ -716,7 +716,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
                ret = simple_write_begin(file, mapping, pos, len, flags, pagep,
                                         fsdata);
                if (ret) {
-                       EXOFS_DBGMSG("simple_write_begin faild\n");
+                       EXOFS_DBGMSG("simple_write_begin failed\n");
                        goto out;
                }
 
@@ -729,7 +729,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
                if (ret) {
                        /*SetPageError was done by _readpage. Is it ok?*/
                        unlock_page(page);
-                       EXOFS_DBGMSG("__readpage_filler faild\n");
+                       EXOFS_DBGMSG("__readpage_filler failed\n");
                }
        }
 out:
@@ -1094,7 +1094,7 @@ static void create_done(struct exofs_io_state *ios, void *p)
        atomic_dec(&sbi->s_curr_pending);
 
        if (unlikely(ret)) {
-               EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx",
+               EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx",
                          _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid));
                /*TODO: When FS is corrupted creation can fail, object already
                 * exist. Get rid of this asynchronous creation, if exist
@@ -1214,7 +1214,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync)
 
        args = kzalloc(sizeof(*args), GFP_KERNEL);
        if (!args) {
-               EXOFS_DBGMSG("Faild kzalloc of args\n");
+               EXOFS_DBGMSG("Failed kzalloc of args\n");
                return -ENOMEM;
        }
 
index e2732203fa9373c2443dcff83fce7b0e4af516bc..908cdbe4b99ae8e1054a563f94a479ad1b2b45c8 100644 (file)
@@ -55,7 +55,7 @@ int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj,
 
        ret = osd_finalize_request(or, 0, cred, NULL);
        if (unlikely(ret)) {
-               EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", ret);
+               EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", ret);
                goto out;
        }
 
@@ -79,7 +79,7 @@ int exofs_get_io_state(struct exofs_layout *layout,
         */
        ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL);
        if (unlikely(!ios)) {
-               EXOFS_DBGMSG("Faild kzalloc bytes=%d\n",
+               EXOFS_DBGMSG("Failed kzalloc bytes=%d\n",
                             exofs_io_state_size(layout->s_numdevs));
                *pios = NULL;
                return -ENOMEM;
@@ -172,7 +172,7 @@ static int exofs_io_execute(struct exofs_io_state *ios)
 
                ret = osd_finalize_request(or, 0, ios->cred, NULL);
                if (unlikely(ret)) {
-                       EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n",
+                       EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n",
                                     ret);
                        return ret;
                }
@@ -365,7 +365,7 @@ static int _add_stripe_unit(struct exofs_io_state *ios,  unsigned *cur_pg,
 
                per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size);
                if (unlikely(!per_dev->bio)) {
-                       EXOFS_DBGMSG("Faild to allocate BIO size=%u\n",
+                       EXOFS_DBGMSG("Failed to allocate BIO size=%u\n",
                                     bio_size);
                        return -ENOMEM;
                }
@@ -584,7 +584,7 @@ static int _sbi_write_mirror(struct exofs_io_state *ios, int cur_comp)
                                                  master_dev->bio->bi_max_vecs);
                                if (unlikely(!bio)) {
                                        EXOFS_DBGMSG(
-                                             "Faild to allocate BIO size=%u\n",
+                                             "Failed to allocate BIO size=%u\n",
                                              master_dev->bio->bi_max_vecs);
                                        ret = -ENOMEM;
                                        goto out;
index 7b698f2ec45afc5f598ff21ffea3bc95fc0422c2..9895595fd2f24c5e3128c0138c554430a73e48d8 100644 (file)
@@ -97,7 +97,7 @@ int jfs_mount(struct super_block *sb)
 
        ipaimap = diReadSpecial(sb, AGGREGATE_I, 0);
        if (ipaimap == NULL) {
-               jfs_err("jfs_mount: Faild to read AGGREGATE_I");
+               jfs_err("jfs_mount: Failed to read AGGREGATE_I");
                rc = -EIO;
                goto errout20;
        }
@@ -148,7 +148,7 @@ int jfs_mount(struct super_block *sb)
        if ((sbi->mntflag & JFS_BAD_SAIT) == 0) {
                ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1);
                if (!ipaimap2) {
-                       jfs_err("jfs_mount: Faild to read AGGREGATE_I");
+                       jfs_err("jfs_mount: Failed to read AGGREGATE_I");
                        rc = -EIO;
                        goto errout35;
                }
index 8b27c9849b427905ea9a5ef83864a88526afe405..52f032306c7cdf5278097277b9b53764443a6185 100644 (file)
@@ -648,7 +648,7 @@ static int register_trace_probe(struct trace_probe *tp)
        }
        ret = register_probe_event(tp);
        if (ret) {
-               pr_warning("Faild to register probe event(%d)\n", ret);
+               pr_warning("Failed to register probe event(%d)\n", ret);
                goto end;
        }
 
index e61dc2cc5873d7d89efc45609a4f4f2a8ae75732..039f51a0dc3f4ec0a655ab472c0dbdd61ff61c30 100644 (file)
@@ -31,7 +31,7 @@
  * as small as 4 bytes.  The allocator organizes chunks into lists
  * according to free size and tries to allocate from the fullest one.
  * Each chunk keeps the maximum contiguous area size hint which is
- * guaranteed to be eqaul to or larger than the maximum contiguous
+ * guaranteed to be equal to or larger than the maximum contiguous
  * area in the chunk.  This helps the allocator not to iterate the
  * chunk maps unnecessarily.
  *
index ebd3f1d9d88954c296fba7ca03959cadc42ab223..58e741128968c730b50f3ed61ee0f435566744da 100644 (file)
@@ -115,7 +115,7 @@ struct mesh_path {
  * @hash_rnd: random value used for hash computations
  * @entries: number of entries in the table
  * @free_node: function to free nodes of the table
- * @copy_node: fuction to copy nodes of the table
+ * @copy_node: function to copy nodes of the table
  * @size_order: determines size of the table, there will be 2^size_order hash
  *     buckets
  * @mean_chain_len: maximum average length for the hash buckets' list, if it is
index 2bf23406637ae1eb849abb8633fd4658f5cf3332..74944a2dd4369ed397bbc10f50bbbfe96a9b80bb 100644 (file)
@@ -471,7 +471,7 @@ static int wanrouter_device_setup(struct wan_device *wandev,
                data = vmalloc(conf->data_size);
                if (!data) {
                        printk(KERN_INFO
-                               "%s: ERROR, Faild allocate kernel memory !\n",
+                               "%s: ERROR, Failed allocate kernel memory !\n",
                                wandev->name);
                        kfree(conf);
                        return -ENOBUFS;
@@ -481,7 +481,7 @@ static int wanrouter_device_setup(struct wan_device *wandev,
                        err = wandev->setup(wandev, conf);
                } else {
                        printk(KERN_INFO
-                            "%s: ERROR, Faild to copy from user data !\n",
+                            "%s: ERROR, Failed to copy from user data !\n",
                               wandev->name);
                        err = -EFAULT;
                }