diff options
59 files changed, 50 insertions, 147 deletions
diff --git a/Documentation/arm/SA1100/FreeBird b/Documentation/arm/SA1100/FreeBird index fb23b770aaf4..ab9193663b2b 100644 --- a/Documentation/arm/SA1100/FreeBird +++ b/Documentation/arm/SA1100/FreeBird | |||
@@ -1,6 +1,6 @@ | |||
1 | Freebird-1.1 is produced by Legned(C) ,Inc. | 1 | Freebird-1.1 is produced by Legend(C), Inc. |
2 | http://web.archive.org/web/*/http://www.legend.com.cn | 2 | http://web.archive.org/web/*/http://www.legend.com.cn |
3 | and software/linux mainatined by Coventive(C),Inc. | 3 | and software/linux maintained by Coventive(C), Inc. |
4 | (http://www.coventive.com) | 4 | (http://www.coventive.com) |
5 | 5 | ||
6 | Based on the Nicolas's strongarm kernel tree. | 6 | Based on the Nicolas's strongarm kernel tree. |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index a05c967a24cf..b182afb28d24 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -884,7 +884,7 @@ static struct adp5520_keys_platform_data adp5520_keys_data = { | |||
884 | }; | 884 | }; |
885 | 885 | ||
886 | /* | 886 | /* |
887 | * ADP5520/5501 Multifuction Device Init Data | 887 | * ADP5520/5501 Multifunction Device Init Data |
888 | */ | 888 | */ |
889 | 889 | ||
890 | static struct adp5520_platform_data adp5520_pdev_data = { | 890 | static struct adp5520_platform_data adp5520_pdev_data = { |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9eaf5b05c11e..b342e1d144af 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -1644,7 +1644,7 @@ static struct adp5520_keys_platform_data adp5520_keys_data = { | |||
1644 | }; | 1644 | }; |
1645 | 1645 | ||
1646 | /* | 1646 | /* |
1647 | * ADP5520/5501 Multifuction Device Init Data | 1647 | * ADP5520/5501 Multifunction Device Init Data |
1648 | */ | 1648 | */ |
1649 | 1649 | ||
1650 | static struct adp5520_platform_data adp5520_pdev_data = { | 1650 | static struct adp5520_platform_data adp5520_pdev_data = { |
diff --git a/arch/xtensa/include/asm/uaccess.h b/arch/xtensa/include/asm/uaccess.h index b8528426ab1f..5b0c18c1cce1 100644 --- a/arch/xtensa/include/asm/uaccess.h +++ b/arch/xtensa/include/asm/uaccess.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * User space memory access functions | 4 | * User space memory access functions |
5 | * | 5 | * |
6 | * These routines provide basic accessing functions to the user memory | 6 | * These routines provide basic accessing functions to the user memory |
7 | * space for the kernel. This header file provides fuctions such as: | 7 | * space for the kernel. This header file provides functions such as: |
8 | * | 8 | * |
9 | * This file is subject to the terms and conditions of the GNU General Public | 9 | * This file is subject to the terms and conditions of the GNU General Public |
10 | * License. See the file "COPYING" in the main directory of this archive | 10 | * License. See the file "COPYING" in the main directory of this archive |
diff --git a/block/blk-core.c b/block/blk-core.c index 7da630e25ae7..77411486b111 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1634,7 +1634,7 @@ EXPORT_SYMBOL(submit_bio); | |||
1634 | * the insertion using this generic function. | 1634 | * the insertion using this generic function. |
1635 | * | 1635 | * |
1636 | * This function should also be useful for request stacking drivers | 1636 | * This function should also be useful for request stacking drivers |
1637 | * in some cases below, so export this fuction. | 1637 | * in some cases below, so export this function. |
1638 | * Request stacking drivers like request-based dm may change the queue | 1638 | * Request stacking drivers like request-based dm may change the queue |
1639 | * limits while requests are in the queue (e.g. dm's table swapping). | 1639 | * limits while requests are in the queue (e.g. dm's table swapping). |
1640 | * Such request stacking drivers should check those requests agaist | 1640 | * Such request stacking drivers should check those requests agaist |
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c index 9cae65de750e..be7b1b21e777 100644 --- a/drivers/ata/pata_bf54x.c +++ b/drivers/ata/pata_bf54x.c | |||
@@ -1588,7 +1588,7 @@ static int __devinit bfin_atapi_probe(struct platform_device *pdev) | |||
1588 | host->ports[0]->ioaddr.ctl_addr = (void *)res->start; | 1588 | host->ports[0]->ioaddr.ctl_addr = (void *)res->start; |
1589 | 1589 | ||
1590 | if (peripheral_request_list(atapi_io_port, "atapi-io-port")) { | 1590 | if (peripheral_request_list(atapi_io_port, "atapi-io-port")) { |
1591 | dev_err(&pdev->dev, "Requesting Peripherals faild\n"); | 1591 | dev_err(&pdev->dev, "Requesting Peripherals failed\n"); |
1592 | return -EFAULT; | 1592 | return -EFAULT; |
1593 | } | 1593 | } |
1594 | 1594 | ||
diff --git a/drivers/base/core.c b/drivers/base/core.c index d1b2c9adc271..aed85f1c446e 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -251,7 +251,7 @@ static int dev_uevent(struct kset *kset, struct kobject *kobj, | |||
251 | __func__, retval); | 251 | __func__, retval); |
252 | } | 252 | } |
253 | 253 | ||
254 | /* have the device type specific fuction add its stuff */ | 254 | /* have the device type specific function add its stuff */ |
255 | if (dev->type && dev->type->uevent) { | 255 | if (dev->type && dev->type->uevent) { |
256 | retval = dev->type->uevent(dev, env); | 256 | retval = dev->type->uevent(dev, env); |
257 | if (retval) | 257 | if (retval) |
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index ae0fb7356e62..8de578ee4987 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c | |||
@@ -268,7 +268,7 @@ int radeon_cs_ioctl(struct drm_device *dev, void *data, struct drm_file *filp) | |||
268 | } | 268 | } |
269 | r = radeon_ib_schedule(rdev, parser.ib); | 269 | r = radeon_ib_schedule(rdev, parser.ib); |
270 | if (r) { | 270 | if (r) { |
271 | DRM_ERROR("Faild to schedule IB !\n"); | 271 | DRM_ERROR("Failed to schedule IB !\n"); |
272 | } | 272 | } |
273 | radeon_cs_parser_fini(&parser, r); | 273 | radeon_cs_parser_fini(&parser, r); |
274 | mutex_unlock(&rdev->cs_mutex); | 274 | mutex_unlock(&rdev->cs_mutex); |
diff --git a/drivers/media/video/zoran/videocodec.h b/drivers/media/video/zoran/videocodec.h index 5c27b251354e..b654bfff8740 100644 --- a/drivers/media/video/zoran/videocodec.h +++ b/drivers/media/video/zoran/videocodec.h | |||
@@ -56,7 +56,7 @@ | |||
56 | the slave is bound to it). Otherwise it doesn't need this functions and | 56 | the slave is bound to it). Otherwise it doesn't need this functions and |
57 | therfor they may not be initialized. | 57 | therfor they may not be initialized. |
58 | 58 | ||
59 | The other fuctions are just for convenience, as they are for sure used by | 59 | The other functions are just for convenience, as they are for sure used by |
60 | most/all of the codecs. The last ones may be ommited, too. | 60 | most/all of the codecs. The last ones may be ommited, too. |
61 | 61 | ||
62 | See the structure declaration below for more information and which data has | 62 | See the structure declaration below for more information and which data has |
diff --git a/drivers/net/depca.c b/drivers/net/depca.c index 44c0694c1f4e..91b3846ffc8a 100644 --- a/drivers/net/depca.c +++ b/drivers/net/depca.c | |||
@@ -1487,7 +1487,7 @@ static void __init depca_platform_probe (void) | |||
1487 | if (!pldev->dev.driver) { | 1487 | if (!pldev->dev.driver) { |
1488 | /* The driver was not bound to this device, there was | 1488 | /* The driver was not bound to this device, there was |
1489 | * no hardware at this address. Unregister it, as the | 1489 | * no hardware at this address. Unregister it, as the |
1490 | * release fuction will take care of freeing the | 1490 | * release function will take care of freeing the |
1491 | * allocated structure */ | 1491 | * allocated structure */ |
1492 | 1492 | ||
1493 | depca_io_ports[i].device = NULL; | 1493 | depca_io_ports[i].device = NULL; |
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 9b4e5895f5f9..aaf506c56ccb 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -3527,7 +3527,7 @@ enum latency_range { | |||
3527 | * Stores a new ITR value based on strictly on packet size. This | 3527 | * Stores a new ITR value based on strictly on packet size. This |
3528 | * algorithm is less sophisticated than that used in igb_update_itr, | 3528 | * algorithm is less sophisticated than that used in igb_update_itr, |
3529 | * due to the difficulty of synchronizing statistics across multiple | 3529 | * due to the difficulty of synchronizing statistics across multiple |
3530 | * receive rings. The divisors and thresholds used by this fuction | 3530 | * receive rings. The divisors and thresholds used by this function |
3531 | * were determined based on theoretical maximum wire speed and testing | 3531 | * were determined based on theoretical maximum wire speed and testing |
3532 | * data, in order to minimize response time while increasing bulk | 3532 | * data, in order to minimize response time while increasing bulk |
3533 | * throughput. | 3533 | * throughput. |
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index 87d6b8f36304..49f6700e2ec2 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c | |||
@@ -642,7 +642,7 @@ static inline void gelic_card_disable_rxdmac(struct gelic_card *card) | |||
642 | status = lv1_net_stop_rx_dma(bus_id(card), dev_id(card), 0); | 642 | status = lv1_net_stop_rx_dma(bus_id(card), dev_id(card), 0); |
643 | if (status) | 643 | if (status) |
644 | dev_err(ctodev(card), | 644 | dev_err(ctodev(card), |
645 | "lv1_net_stop_rx_dma faild, %d\n", status); | 645 | "lv1_net_stop_rx_dma failed, %d\n", status); |
646 | } | 646 | } |
647 | 647 | ||
648 | /** | 648 | /** |
@@ -660,7 +660,7 @@ static inline void gelic_card_disable_txdmac(struct gelic_card *card) | |||
660 | status = lv1_net_stop_tx_dma(bus_id(card), dev_id(card), 0); | 660 | status = lv1_net_stop_tx_dma(bus_id(card), dev_id(card), 0); |
661 | if (status) | 661 | if (status) |
662 | dev_err(ctodev(card), | 662 | dev_err(ctodev(card), |
663 | "lv1_net_stop_tx_dma faild, status=%d\n", status); | 663 | "lv1_net_stop_tx_dma failed, status=%d\n", status); |
664 | } | 664 | } |
665 | 665 | ||
666 | /** | 666 | /** |
diff --git a/drivers/net/skfp/hwt.c b/drivers/net/skfp/hwt.c index 053151468f93..465565e53a68 100644 --- a/drivers/net/skfp/hwt.c +++ b/drivers/net/skfp/hwt.c | |||
@@ -221,7 +221,7 @@ u_long hwt_quick_read(struct s_smc *smc) | |||
221 | * para start start time | 221 | * para start start time |
222 | * duration time to wait | 222 | * duration time to wait |
223 | * | 223 | * |
224 | * NOTE: The fuction will return immediately, if the timer is not | 224 | * NOTE: The function will return immediately, if the timer is not |
225 | * started | 225 | * started |
226 | ************************/ | 226 | ************************/ |
227 | void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) | 227 | void hwt_wait_time(struct s_smc *smc, u_long start, long int duration) |
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index 31b2dabf094c..0ade12a21d16 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c | |||
@@ -33,7 +33,7 @@ | |||
33 | * The driver architecture is based on the DEC FDDI driver by | 33 | * The driver architecture is based on the DEC FDDI driver by |
34 | * Lawrence V. Stefani and several ethernet drivers. | 34 | * Lawrence V. Stefani and several ethernet drivers. |
35 | * I also used an existing Windows NT miniport driver. | 35 | * I also used an existing Windows NT miniport driver. |
36 | * All hardware dependent fuctions are handled by the SysKonnect | 36 | * All hardware dependent functions are handled by the SysKonnect |
37 | * Hardware Module. | 37 | * Hardware Module. |
38 | * The only headerfiles that are directly related to this source | 38 | * The only headerfiles that are directly related to this source |
39 | * are skfddi.c, h/types.h, h/osdef1st.h, h/targetos.h. | 39 | * are skfddi.c, h/types.h, h/osdef1st.h, h/targetos.h. |
diff --git a/drivers/net/tulip/pnic2.c b/drivers/net/tulip/pnic2.c index b8197666021e..4690c8e69207 100644 --- a/drivers/net/tulip/pnic2.c +++ b/drivers/net/tulip/pnic2.c | |||
@@ -59,7 +59,7 @@ | |||
59 | * Bit 14:12 - autonegotiation state (write 001 to start autonegotiate) | 59 | * Bit 14:12 - autonegotiation state (write 001 to start autonegotiate) |
60 | * Bit 3 - Autopolarity state | 60 | * Bit 3 - Autopolarity state |
61 | * Bit 2 - LS10B - link state of 10baseT 0 - good, 1 - failed | 61 | * Bit 2 - LS10B - link state of 10baseT 0 - good, 1 - failed |
62 | * Bit 1 - LS100B - link state of 100baseT 0 - good, 1- faild | 62 | * Bit 1 - LS100B - link state of 100baseT 0 - good, 1 - failed |
63 | * | 63 | * |
64 | * | 64 | * |
65 | * Data Port Selection Info | 65 | * Data Port Selection Info |
diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c index a351bd5d8176..08f95bd3adb3 100644 --- a/drivers/rtc/rtc-nuc900.c +++ b/drivers/rtc/rtc-nuc900.c | |||
@@ -279,7 +279,7 @@ static int __devinit nuc900_rtc_probe(struct platform_device *pdev) | |||
279 | nuc900_rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev, | 279 | nuc900_rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev, |
280 | &nuc900_rtc_ops, THIS_MODULE); | 280 | &nuc900_rtc_ops, THIS_MODULE); |
281 | if (IS_ERR(nuc900_rtc->rtcdev)) { | 281 | if (IS_ERR(nuc900_rtc->rtcdev)) { |
282 | dev_err(&pdev->dev, "rtc device register faild\n"); | 282 | dev_err(&pdev->dev, "rtc device register failed\n"); |
283 | err = PTR_ERR(nuc900_rtc->rtcdev); | 283 | err = PTR_ERR(nuc900_rtc->rtcdev); |
284 | goto fail4; | 284 | goto fail4; |
285 | } | 285 | } |
diff --git a/drivers/s390/block/dasd_3990_erp.c b/drivers/s390/block/dasd_3990_erp.c index 85bfd8794856..e82d427ff5eb 100644 --- a/drivers/s390/block/dasd_3990_erp.c +++ b/drivers/s390/block/dasd_3990_erp.c | |||
@@ -2197,7 +2197,7 @@ dasd_3990_erp_inspect_32(struct dasd_ccw_req * erp, char *sense) | |||
2197 | 2197 | ||
2198 | /* | 2198 | /* |
2199 | ***************************************************************************** | 2199 | ***************************************************************************** |
2200 | * main ERP control fuctions (24 and 32 byte sense) | 2200 | * main ERP control functions (24 and 32 byte sense) |
2201 | ***************************************************************************** | 2201 | ***************************************************************************** |
2202 | */ | 2202 | */ |
2203 | 2203 | ||
diff --git a/drivers/s390/char/tape_3590.c b/drivers/s390/char/tape_3590.c index fc993acf99b6..deff2c3361e4 100644 --- a/drivers/s390/char/tape_3590.c +++ b/drivers/s390/char/tape_3590.c | |||
@@ -31,7 +31,7 @@ debug_info_t *TAPE_DBF_AREA = NULL; | |||
31 | EXPORT_SYMBOL(TAPE_DBF_AREA); | 31 | EXPORT_SYMBOL(TAPE_DBF_AREA); |
32 | 32 | ||
33 | /******************************************************************* | 33 | /******************************************************************* |
34 | * Error Recovery fuctions: | 34 | * Error Recovery functions: |
35 | * - Read Opposite: implemented | 35 | * - Read Opposite: implemented |
36 | * - Read Device (buffered) log: BRA | 36 | * - Read Device (buffered) log: BRA |
37 | * - Read Library log: BRA | 37 | * - Read Library log: BRA |
@@ -798,7 +798,7 @@ tape_3590_done(struct tape_device *device, struct tape_request *request) | |||
798 | } | 798 | } |
799 | 799 | ||
800 | /* | 800 | /* |
801 | * This fuction is called, when error recovery was successfull | 801 | * This function is called, when error recovery was successful |
802 | */ | 802 | */ |
803 | static inline int | 803 | static inline int |
804 | tape_3590_erp_succeded(struct tape_device *device, struct tape_request *request) | 804 | 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) | |||
809 | } | 809 | } |
810 | 810 | ||
811 | /* | 811 | /* |
812 | * This fuction is called, when error recovery was not successfull | 812 | * This function is called, when error recovery was not successful |
813 | */ | 813 | */ |
814 | static inline int | 814 | static inline int |
815 | tape_3590_erp_failed(struct tape_device *device, struct tape_request *request, | 815 | tape_3590_erp_failed(struct tape_device *device, struct tape_request *request, |
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 0639c994349c..b37fa202d1e3 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -5498,7 +5498,7 @@ lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type) | |||
5498 | * @buff: Buffer containing config region 23 data. | 5498 | * @buff: Buffer containing config region 23 data. |
5499 | * @size: Size of the data buffer. | 5499 | * @size: Size of the data buffer. |
5500 | * | 5500 | * |
5501 | * This fuction parse the FCoE config parameters in config region 23 and | 5501 | * This function parses the FCoE config parameters in config region 23 and |
5502 | * populate driver data structure with the parameters. | 5502 | * populate driver data structure with the parameters. |
5503 | */ | 5503 | */ |
5504 | void | 5504 | void |
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 93ead19507b6..d90c9e89688e 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -1266,7 +1266,6 @@ write_in: | |||
1266 | csr |= AT91_UDP_TXPKTRDY; | 1266 | csr |= AT91_UDP_TXPKTRDY; |
1267 | __raw_writel(csr, creg); | 1267 | __raw_writel(csr, creg); |
1268 | udc->req_pending = 0; | 1268 | udc->req_pending = 0; |
1269 | return; | ||
1270 | } | 1269 | } |
1271 | 1270 | ||
1272 | static void handle_ep0(struct at91_udc *udc) | 1271 | static void handle_ep0(struct at91_udc *udc) |
diff --git a/drivers/usb/gadget/f_audio.c b/drivers/usb/gadget/f_audio.c index 1f48ceb55a77..00975ed903d1 100644 --- a/drivers/usb/gadget/f_audio.c +++ b/drivers/usb/gadget/f_audio.c | |||
@@ -317,8 +317,6 @@ static void f_audio_playback_work(struct work_struct *data) | |||
317 | 317 | ||
318 | u_audio_playback(&audio->card, play_buf->buf, play_buf->actual); | 318 | u_audio_playback(&audio->card, play_buf->buf, play_buf->actual); |
319 | f_audio_buffer_free(play_buf); | 319 | f_audio_buffer_free(play_buf); |
320 | |||
321 | return; | ||
322 | } | 320 | } |
323 | 321 | ||
324 | static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) | 322 | static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) |
diff --git a/drivers/usb/gadget/f_hid.c b/drivers/usb/gadget/f_hid.c index 53e120208e99..111b85ca7ac0 100644 --- a/drivers/usb/gadget/f_hid.c +++ b/drivers/usb/gadget/f_hid.c | |||
@@ -318,8 +318,6 @@ static void hidg_set_report_complete(struct usb_ep *ep, struct usb_request *req) | |||
318 | spin_unlock(&hidg->spinlock); | 318 | spin_unlock(&hidg->spinlock); |
319 | 319 | ||
320 | wake_up(&hidg->read_queue); | 320 | wake_up(&hidg->read_queue); |
321 | |||
322 | return; | ||
323 | } | 321 | } |
324 | 322 | ||
325 | static int hidg_setup(struct usb_function *f, | 323 | static int hidg_setup(struct usb_function *f, |
@@ -413,8 +411,6 @@ static void hidg_disable(struct usb_function *f) | |||
413 | 411 | ||
414 | usb_ep_disable(hidg->in_ep); | 412 | usb_ep_disable(hidg->in_ep); |
415 | hidg->in_ep->driver_data = NULL; | 413 | hidg->in_ep->driver_data = NULL; |
416 | |||
417 | return; | ||
418 | } | 414 | } |
419 | 415 | ||
420 | static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) | 416 | static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) |
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index 08a9a62a39e3..d933e6398412 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c | |||
@@ -287,8 +287,6 @@ static void dr_controller_run(struct fsl_udc *udc) | |||
287 | temp = fsl_readl(&dr_regs->usbcmd); | 287 | temp = fsl_readl(&dr_regs->usbcmd); |
288 | temp |= USB_CMD_RUN_STOP; | 288 | temp |= USB_CMD_RUN_STOP; |
289 | fsl_writel(temp, &dr_regs->usbcmd); | 289 | fsl_writel(temp, &dr_regs->usbcmd); |
290 | |||
291 | return; | ||
292 | } | 290 | } |
293 | 291 | ||
294 | static void dr_controller_stop(struct fsl_udc *udc) | 292 | static void dr_controller_stop(struct fsl_udc *udc) |
@@ -308,8 +306,6 @@ static void dr_controller_stop(struct fsl_udc *udc) | |||
308 | tmp = fsl_readl(&dr_regs->usbcmd); | 306 | tmp = fsl_readl(&dr_regs->usbcmd); |
309 | tmp &= ~USB_CMD_RUN_STOP; | 307 | tmp &= ~USB_CMD_RUN_STOP; |
310 | fsl_writel(tmp, &dr_regs->usbcmd); | 308 | fsl_writel(tmp, &dr_regs->usbcmd); |
311 | |||
312 | return; | ||
313 | } | 309 | } |
314 | 310 | ||
315 | static void dr_ep_setup(unsigned char ep_num, unsigned char dir, | 311 | 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, | |||
416 | p_QH->max_pkt_length = cpu_to_le32(tmp); | 412 | p_QH->max_pkt_length = cpu_to_le32(tmp); |
417 | p_QH->next_dtd_ptr = 1; | 413 | p_QH->next_dtd_ptr = 1; |
418 | p_QH->size_ioc_int_sts = 0; | 414 | p_QH->size_ioc_int_sts = 0; |
419 | |||
420 | return; | ||
421 | } | 415 | } |
422 | 416 | ||
423 | /* Setup qh structure and ep register for ep0. */ | 417 | /* Setup qh structure and ep register for ep0. */ |
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c index c2d2a201f84b..d41b69cf508b 100644 --- a/drivers/usb/gadget/langwell_udc.c +++ b/drivers/usb/gadget/langwell_udc.c | |||
@@ -284,7 +284,6 @@ static void ep0_reset(struct langwell_udc *dev) | |||
284 | } | 284 | } |
285 | 285 | ||
286 | VDBG(dev, "<--- %s()\n", __func__); | 286 | VDBG(dev, "<--- %s()\n", __func__); |
287 | return; | ||
288 | } | 287 | } |
289 | 288 | ||
290 | 289 | ||
@@ -1486,7 +1485,6 @@ static void langwell_udc_start(struct langwell_udc *dev) | |||
1486 | writel(usbcmd, &dev->op_regs->usbcmd); | 1485 | writel(usbcmd, &dev->op_regs->usbcmd); |
1487 | 1486 | ||
1488 | DBG(dev, "<--- %s()\n", __func__); | 1487 | DBG(dev, "<--- %s()\n", __func__); |
1489 | return; | ||
1490 | } | 1488 | } |
1491 | 1489 | ||
1492 | 1490 | ||
@@ -1509,7 +1507,6 @@ static void langwell_udc_stop(struct langwell_udc *dev) | |||
1509 | writel(usbcmd, &dev->op_regs->usbcmd); | 1507 | writel(usbcmd, &dev->op_regs->usbcmd); |
1510 | 1508 | ||
1511 | DBG(dev, "<--- %s()\n", __func__); | 1509 | DBG(dev, "<--- %s()\n", __func__); |
1512 | return; | ||
1513 | } | 1510 | } |
1514 | 1511 | ||
1515 | 1512 | ||
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 980762453a9c..98dfa181449f 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c | |||
@@ -1394,8 +1394,6 @@ static void pxa_ep_fifo_flush(struct usb_ep *_ep) | |||
1394 | } | 1394 | } |
1395 | 1395 | ||
1396 | spin_unlock_irqrestore(&ep->lock, flags); | 1396 | spin_unlock_irqrestore(&ep->lock, flags); |
1397 | |||
1398 | return; | ||
1399 | } | 1397 | } |
1400 | 1398 | ||
1401 | /** | 1399 | /** |
diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c index 020fa5a25fda..eb61ab4b302c 100644 --- a/drivers/usb/gadget/rndis.c +++ b/drivers/usb/gadget/rndis.c | |||
@@ -916,8 +916,6 @@ void rndis_deregister (int configNr) | |||
916 | 916 | ||
917 | if (configNr >= RNDIS_MAX_CONFIGS) return; | 917 | if (configNr >= RNDIS_MAX_CONFIGS) return; |
918 | rndis_per_dev_params [configNr].used = 0; | 918 | rndis_per_dev_params [configNr].used = 0; |
919 | |||
920 | return; | ||
921 | } | 919 | } |
922 | 920 | ||
923 | int rndis_set_param_dev(u8 configNr, struct net_device *dev, u16 *cdc_filter) | 921 | int rndis_set_param_dev(u8 configNr, struct net_device *dev, u16 *cdc_filter) |
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 34a928d3b7d2..ac0f7a4b0341 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -1080,7 +1080,6 @@ nogood: | |||
1080 | ep->hcpriv = NULL; | 1080 | ep->hcpriv = NULL; |
1081 | done: | 1081 | done: |
1082 | spin_unlock_irqrestore (&ehci->lock, flags); | 1082 | spin_unlock_irqrestore (&ehci->lock, flags); |
1083 | return; | ||
1084 | } | 1083 | } |
1085 | 1084 | ||
1086 | static void | 1085 | static void |
diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c index 3e5630369c31..d0abb9b0e673 100644 --- a/drivers/usb/host/imx21-hcd.c +++ b/drivers/usb/host/imx21-hcd.c | |||
@@ -27,8 +27,8 @@ | |||
27 | * * 32 transfer descriptors (called ETDs) | 27 | * * 32 transfer descriptors (called ETDs) |
28 | * * 4Kb of Data memory | 28 | * * 4Kb of Data memory |
29 | * | 29 | * |
30 | * The data memory is shared between the host and fuction controlers | 30 | * The data memory is shared between the host and function controllers |
31 | * (but this driver only supports the host controler) | 31 | * (but this driver only supports the host controller) |
32 | * | 32 | * |
33 | * So setting up a transfer involves: | 33 | * So setting up a transfer involves: |
34 | * * Allocating a ETD | 34 | * * Allocating a ETD |
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index c3b4ccc7337b..15ae39d6cc24 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -370,7 +370,6 @@ sanitize: | |||
370 | } | 370 | } |
371 | ep->hcpriv = NULL; | 371 | ep->hcpriv = NULL; |
372 | spin_unlock_irqrestore (&ohci->lock, flags); | 372 | spin_unlock_irqrestore (&ohci->lock, flags); |
373 | return; | ||
374 | } | 373 | } |
375 | 374 | ||
376 | static int ohci_get_frame (struct usb_hcd *hcd) | 375 | static int ohci_get_frame (struct usb_hcd *hcd) |
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index d9c85a292737..8026dc85996c 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
@@ -544,8 +544,6 @@ static void oxu_buf_free(struct oxu_hcd *oxu, struct ehci_qtd *qtd) | |||
544 | qtd->buffer = NULL; | 544 | qtd->buffer = NULL; |
545 | 545 | ||
546 | spin_unlock(&oxu->mem_lock); | 546 | spin_unlock(&oxu->mem_lock); |
547 | |||
548 | return; | ||
549 | } | 547 | } |
550 | 548 | ||
551 | static inline void ehci_qtd_init(struct ehci_qtd *qtd, dma_addr_t dma) | 549 | 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) | |||
571 | oxu->qtd_used[index] = 0; | 569 | oxu->qtd_used[index] = 0; |
572 | 570 | ||
573 | spin_unlock(&oxu->mem_lock); | 571 | spin_unlock(&oxu->mem_lock); |
574 | |||
575 | return; | ||
576 | } | 572 | } |
577 | 573 | ||
578 | static struct ehci_qtd *ehci_qtd_alloc(struct oxu_hcd *oxu) | 574 | 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) | |||
615 | oxu->qh_used[index] = 0; | 611 | oxu->qh_used[index] = 0; |
616 | 612 | ||
617 | spin_unlock(&oxu->mem_lock); | 613 | spin_unlock(&oxu->mem_lock); |
618 | |||
619 | return; | ||
620 | } | 614 | } |
621 | 615 | ||
622 | static void qh_destroy(struct kref *kref) | 616 | static void qh_destroy(struct kref *kref) |
@@ -693,8 +687,6 @@ static void oxu_murb_free(struct oxu_hcd *oxu, struct oxu_murb *murb) | |||
693 | oxu->murb_used[index] = 0; | 687 | oxu->murb_used[index] = 0; |
694 | 688 | ||
695 | spin_unlock(&oxu->mem_lock); | 689 | spin_unlock(&oxu->mem_lock); |
696 | |||
697 | return; | ||
698 | } | 690 | } |
699 | 691 | ||
700 | static struct oxu_murb *oxu_murb_alloc(struct oxu_hcd *oxu) | 692 | static struct oxu_murb *oxu_murb_alloc(struct oxu_hcd *oxu) |
@@ -3070,7 +3062,6 @@ nogood: | |||
3070 | ep->hcpriv = NULL; | 3062 | ep->hcpriv = NULL; |
3071 | done: | 3063 | done: |
3072 | spin_unlock_irqrestore(&oxu->lock, flags); | 3064 | spin_unlock_irqrestore(&oxu->lock, flags); |
3073 | return; | ||
3074 | } | 3065 | } |
3075 | 3066 | ||
3076 | static int oxu_get_frame(struct usb_hcd *hcd) | 3067 | static int oxu_get_frame(struct usb_hcd *hcd) |
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 83b5f9cea85a..5b37b08e0d80 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c | |||
@@ -338,8 +338,6 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev) | |||
338 | writel(0x3f, op_reg_base + EHCI_USBSTS); | 338 | writel(0x3f, op_reg_base + EHCI_USBSTS); |
339 | 339 | ||
340 | iounmap(base); | 340 | iounmap(base); |
341 | |||
342 | return; | ||
343 | } | 341 | } |
344 | 342 | ||
345 | /* | 343 | /* |
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 5b31bae92dbc..fab764946c74 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -316,7 +316,6 @@ static void u132_ring_requeue_work(struct u132 *u132, struct u132_ring *ring, | |||
316 | } else if (queue_delayed_work(workqueue, &ring->scheduler, 0)) | 316 | } else if (queue_delayed_work(workqueue, &ring->scheduler, 0)) |
317 | return; | 317 | return; |
318 | kref_put(&u132->kref, u132_hcd_delete); | 318 | kref_put(&u132->kref, u132_hcd_delete); |
319 | return; | ||
320 | } | 319 | } |
321 | 320 | ||
322 | static void u132_ring_queue_work(struct u132 *u132, struct u132_ring *ring, | 321 | 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, | |||
324 | { | 323 | { |
325 | kref_get(&u132->kref); | 324 | kref_get(&u132->kref); |
326 | u132_ring_requeue_work(u132, ring, delta); | 325 | u132_ring_requeue_work(u132, ring, delta); |
327 | return; | ||
328 | } | 326 | } |
329 | 327 | ||
330 | static void u132_ring_cancel_work(struct u132 *u132, struct u132_ring *ring) | 328 | 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, | |||
543 | mutex_unlock(&u132->scheduler_lock); | 541 | mutex_unlock(&u132->scheduler_lock); |
544 | u132_endp_put_kref(u132, endp); | 542 | u132_endp_put_kref(u132, endp); |
545 | usb_hcd_giveback_urb(hcd, urb, status); | 543 | usb_hcd_giveback_urb(hcd, urb, status); |
546 | return; | ||
547 | } | 544 | } |
548 | 545 | ||
549 | static void u132_hcd_forget_urb(struct u132 *u132, struct u132_endp *endp, | 546 | 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, | |||
574 | endp->active = 0; | 571 | endp->active = 0; |
575 | spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); | 572 | spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); |
576 | kfree(urbq); | 573 | kfree(urbq); |
577 | } usb_hcd_giveback_urb(hcd, urb, status); | 574 | } |
578 | return; | 575 | usb_hcd_giveback_urb(hcd, urb, status); |
579 | } | 576 | } |
580 | 577 | ||
581 | static inline int edset_input(struct u132 *u132, struct u132_ring *ring, | 578 | 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) | |||
3085 | u132->endp[endps] = NULL; | 3082 | u132->endp[endps] = NULL; |
3086 | 3083 | ||
3087 | mutex_unlock(&u132->sw_lock); | 3084 | mutex_unlock(&u132->sw_lock); |
3088 | return; | ||
3089 | } | 3085 | } |
3090 | 3086 | ||
3091 | static int __devinit u132_probe(struct platform_device *pdev) | 3087 | static int __devinit u132_probe(struct platform_device *pdev) |
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c index 3a6bcd5fee09..5a47805d9580 100644 --- a/drivers/usb/image/microtek.c +++ b/drivers/usb/image/microtek.c | |||
@@ -398,7 +398,6 @@ void mts_int_submit_urb (struct urb* transfer, | |||
398 | context->srb->result = DID_ERROR << 16; | 398 | context->srb->result = DID_ERROR << 16; |
399 | mts_transfer_cleanup(transfer); | 399 | mts_transfer_cleanup(transfer); |
400 | } | 400 | } |
401 | return; | ||
402 | } | 401 | } |
403 | 402 | ||
404 | 403 | ||
@@ -409,7 +408,6 @@ static void mts_transfer_cleanup( struct urb *transfer ) | |||
409 | 408 | ||
410 | if ( likely(context->final_callback != NULL) ) | 409 | if ( likely(context->final_callback != NULL) ) |
411 | context->final_callback(context->srb); | 410 | context->final_callback(context->srb); |
412 | |||
413 | } | 411 | } |
414 | 412 | ||
415 | static void mts_transfer_done( struct urb *transfer ) | 413 | static void mts_transfer_done( struct urb *transfer ) |
@@ -420,8 +418,6 @@ static void mts_transfer_done( struct urb *transfer ) | |||
420 | context->srb->result |= (unsigned)(*context->scsi_status)<<1; | 418 | context->srb->result |= (unsigned)(*context->scsi_status)<<1; |
421 | 419 | ||
422 | mts_transfer_cleanup(transfer); | 420 | mts_transfer_cleanup(transfer); |
423 | |||
424 | return; | ||
425 | } | 421 | } |
426 | 422 | ||
427 | 423 | ||
@@ -452,8 +448,6 @@ static void mts_data_done( struct urb* transfer ) | |||
452 | } | 448 | } |
453 | 449 | ||
454 | mts_get_status(transfer); | 450 | mts_get_status(transfer); |
455 | |||
456 | return; | ||
457 | } | 451 | } |
458 | 452 | ||
459 | 453 | ||
@@ -496,8 +490,6 @@ static void mts_command_done( struct urb *transfer ) | |||
496 | mts_get_status(transfer); | 490 | mts_get_status(transfer); |
497 | } | 491 | } |
498 | } | 492 | } |
499 | |||
500 | return; | ||
501 | } | 493 | } |
502 | 494 | ||
503 | static void mts_do_sg (struct urb* transfer) | 495 | static void mts_do_sg (struct urb* transfer) |
@@ -522,7 +514,6 @@ static void mts_do_sg (struct urb* transfer) | |||
522 | sg[context->fragment].length, | 514 | sg[context->fragment].length, |
523 | context->fragment + 1 == scsi_sg_count(context->srb) ? | 515 | context->fragment + 1 == scsi_sg_count(context->srb) ? |
524 | mts_data_done : mts_do_sg); | 516 | mts_data_done : mts_do_sg); |
525 | return; | ||
526 | } | 517 | } |
527 | 518 | ||
528 | static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 }; | 519 | static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 }; |
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index aecf380f6ecc..c5b571050d8c 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -456,7 +456,6 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi) | |||
456 | static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi) | 456 | static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi) |
457 | { | 457 | { |
458 | ftdi_command_queue_work(ftdi, 0); | 458 | ftdi_command_queue_work(ftdi, 0); |
459 | return; | ||
460 | } | 459 | } |
461 | 460 | ||
462 | static void ftdi_elan_command_work(struct work_struct *work) | 461 | static void ftdi_elan_command_work(struct work_struct *work) |
@@ -483,7 +482,6 @@ static void ftdi_elan_command_work(struct work_struct *work) | |||
483 | static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi) | 482 | static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi) |
484 | { | 483 | { |
485 | ftdi_respond_queue_work(ftdi, 0); | 484 | ftdi_respond_queue_work(ftdi, 0); |
486 | return; | ||
487 | } | 485 | } |
488 | 486 | ||
489 | static void ftdi_elan_respond_work(struct work_struct *work) | 487 | static void ftdi_elan_respond_work(struct work_struct *work) |
diff --git a/drivers/usb/mon/mon_main.c b/drivers/usb/mon/mon_main.c index 812dc288bb8c..10405119985c 100644 --- a/drivers/usb/mon/mon_main.c +++ b/drivers/usb/mon/mon_main.c | |||
@@ -90,7 +90,6 @@ static void mon_bus_submit(struct mon_bus *mbus, struct urb *urb) | |||
90 | r->rnf_submit(r->r_data, urb); | 90 | r->rnf_submit(r->r_data, urb); |
91 | } | 91 | } |
92 | spin_unlock_irqrestore(&mbus->lock, flags); | 92 | spin_unlock_irqrestore(&mbus->lock, flags); |
93 | return; | ||
94 | } | 93 | } |
95 | 94 | ||
96 | static void mon_submit(struct usb_bus *ubus, struct urb *urb) | 95 | 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 | |||
117 | r->rnf_error(r->r_data, urb, error); | 116 | r->rnf_error(r->r_data, urb, error); |
118 | } | 117 | } |
119 | spin_unlock_irqrestore(&mbus->lock, flags); | 118 | spin_unlock_irqrestore(&mbus->lock, flags); |
120 | return; | ||
121 | } | 119 | } |
122 | 120 | ||
123 | static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error) | 121 | static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error) |
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 6fca870e957e..a83a139da5bc 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -829,7 +829,6 @@ void musb_g_rx(struct musb *musb, u8 epnum) | |||
829 | DBG(3, "packet waiting for %s%s request\n", | 829 | DBG(3, "packet waiting for %s%s request\n", |
830 | musb_ep->desc ? "" : "inactive ", | 830 | musb_ep->desc ? "" : "inactive ", |
831 | musb_ep->end_point.name); | 831 | musb_ep->end_point.name); |
832 | return; | ||
833 | } | 832 | } |
834 | 833 | ||
835 | /* ------------------------------------------------------------ */ | 834 | /* ------------------------------------------------------------ */ |
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index f5d06746cc3b..2edf238b00b9 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -1320,8 +1320,6 @@ continue_read: | |||
1320 | cypress_set_dead(port); | 1320 | cypress_set_dead(port); |
1321 | } | 1321 | } |
1322 | } | 1322 | } |
1323 | |||
1324 | return; | ||
1325 | } /* cypress_read_int_callback */ | 1323 | } /* cypress_read_int_callback */ |
1326 | 1324 | ||
1327 | 1325 | ||
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index eb12d9b096b4..4fc588cc4716 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -2069,7 +2069,6 @@ static void ftdi_set_termios(struct tty_struct *tty, | |||
2069 | /* lower DTR/RTS */ | 2069 | /* lower DTR/RTS */ |
2070 | clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); | 2070 | clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); |
2071 | } | 2071 | } |
2072 | return; | ||
2073 | } | 2072 | } |
2074 | 2073 | ||
2075 | static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) | 2074 | static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) |
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c index a42b29a695b2..26710b189918 100644 --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c | |||
@@ -1264,7 +1264,6 @@ static void garmin_read_bulk_callback(struct urb *urb) | |||
1264 | garmin_data_p->flags &= ~FLAGS_BULK_IN_ACTIVE; | 1264 | garmin_data_p->flags &= ~FLAGS_BULK_IN_ACTIVE; |
1265 | spin_unlock_irqrestore(&garmin_data_p->lock, flags); | 1265 | spin_unlock_irqrestore(&garmin_data_p->lock, flags); |
1266 | } | 1266 | } |
1267 | return; | ||
1268 | } | 1267 | } |
1269 | 1268 | ||
1270 | 1269 | ||
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index 76e6fb3aab7a..892e916ef67e 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -1465,8 +1465,6 @@ static void edge_throttle(struct tty_struct *tty) | |||
1465 | if (status != 0) | 1465 | if (status != 0) |
1466 | return; | 1466 | return; |
1467 | } | 1467 | } |
1468 | |||
1469 | return; | ||
1470 | } | 1468 | } |
1471 | 1469 | ||
1472 | 1470 | ||
@@ -1770,8 +1768,6 @@ static void edge_break(struct tty_struct *tty, int break_state) | |||
1770 | dbg("%s - error sending break set/clear command.", | 1768 | dbg("%s - error sending break set/clear command.", |
1771 | __func__); | 1769 | __func__); |
1772 | } | 1770 | } |
1773 | |||
1774 | return; | ||
1775 | } | 1771 | } |
1776 | 1772 | ||
1777 | 1773 | ||
@@ -2042,7 +2038,6 @@ static void process_rcvd_status(struct edgeport_serial *edge_serial, | |||
2042 | dbg("%s - Unrecognized IOSP status code %u", __func__, code); | 2038 | dbg("%s - Unrecognized IOSP status code %u", __func__, code); |
2043 | break; | 2039 | break; |
2044 | } | 2040 | } |
2045 | return; | ||
2046 | } | 2041 | } |
2047 | 2042 | ||
2048 | 2043 | ||
@@ -2095,8 +2090,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 newMsr) | |||
2095 | 2090 | ||
2096 | /* Save the new modem status */ | 2091 | /* Save the new modem status */ |
2097 | edge_port->shadowMSR = newMsr & 0xf0; | 2092 | edge_port->shadowMSR = newMsr & 0xf0; |
2098 | |||
2099 | return; | ||
2100 | } | 2093 | } |
2101 | 2094 | ||
2102 | 2095 | ||
@@ -2143,8 +2136,6 @@ static void handle_new_lsr(struct edgeport_port *edge_port, __u8 lsrData, | |||
2143 | icount->parity++; | 2136 | icount->parity++; |
2144 | if (newLsr & LSR_FRM_ERR) | 2137 | if (newLsr & LSR_FRM_ERR) |
2145 | icount->frame++; | 2138 | icount->frame++; |
2146 | |||
2147 | return; | ||
2148 | } | 2139 | } |
2149 | 2140 | ||
2150 | 2141 | ||
@@ -2720,7 +2711,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
2720 | baud = tty_termios_baud_rate(old_termios); | 2711 | baud = tty_termios_baud_rate(old_termios); |
2721 | tty_encode_baud_rate(tty, baud, baud); | 2712 | tty_encode_baud_rate(tty, baud, baud); |
2722 | } | 2713 | } |
2723 | return; | ||
2724 | } | 2714 | } |
2725 | 2715 | ||
2726 | 2716 | ||
@@ -2922,7 +2912,6 @@ static void load_application_firmware(struct edgeport_serial *edge_serial) | |||
2922 | 0x40, 0x4000, 0x0001, NULL, 0, 3000); | 2912 | 0x40, 0x4000, 0x0001, NULL, 0, 3000); |
2923 | 2913 | ||
2924 | release_firmware(fw); | 2914 | release_firmware(fw); |
2925 | return; | ||
2926 | } | 2915 | } |
2927 | 2916 | ||
2928 | 2917 | ||
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index dc47f986df57..9d6be304dff9 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -1571,8 +1571,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 msr) | |||
1571 | } | 1571 | } |
1572 | } | 1572 | } |
1573 | tty_kref_put(tty); | 1573 | tty_kref_put(tty); |
1574 | |||
1575 | return; | ||
1576 | } | 1574 | } |
1577 | 1575 | ||
1578 | static void handle_new_lsr(struct edgeport_port *edge_port, int lsr_data, | 1576 | 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, | |||
2424 | dbg("%s - error %d when trying to write config to device", | 2422 | dbg("%s - error %d when trying to write config to device", |
2425 | __func__, status); | 2423 | __func__, status); |
2426 | kfree(config); | 2424 | kfree(config); |
2427 | return; | ||
2428 | } | 2425 | } |
2429 | 2426 | ||
2430 | static void edge_set_termios(struct tty_struct *tty, | 2427 | static void edge_set_termios(struct tty_struct *tty, |
@@ -2445,7 +2442,6 @@ static void edge_set_termios(struct tty_struct *tty, | |||
2445 | return; | 2442 | return; |
2446 | /* change the port settings to the new ones specified */ | 2443 | /* change the port settings to the new ones specified */ |
2447 | change_port_settings(tty, edge_port, old_termios); | 2444 | change_port_settings(tty, edge_port, old_termios); |
2448 | return; | ||
2449 | } | 2445 | } |
2450 | 2446 | ||
2451 | static int edge_tiocmset(struct tty_struct *tty, struct file *file, | 2447 | static int edge_tiocmset(struct tty_struct *tty, struct file *file, |
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index efc72113216b..12ed594f5f80 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c | |||
@@ -807,7 +807,6 @@ static void read_rxcmd_callback(struct urb *urb) | |||
807 | iuu_uart_read_callback, port); | 807 | iuu_uart_read_callback, port); |
808 | result = usb_submit_urb(port->read_urb, GFP_ATOMIC); | 808 | result = usb_submit_urb(port->read_urb, GFP_ATOMIC); |
809 | dbg("%s - submit result = %d", __func__, result); | 809 | dbg("%s - submit result = %d", __func__, result); |
810 | return; | ||
811 | } | 810 | } |
812 | 811 | ||
813 | static int iuu_uart_on(struct usb_serial_port *port) | 812 | static int iuu_uart_on(struct usb_serial_port *port) |
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index 185fe9a7d4e0..a10dd5676ccc 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c | |||
@@ -292,7 +292,6 @@ static void keyspan_pda_rx_unthrottle(struct tty_struct *tty) | |||
292 | port->interrupt_in_urb->dev = port->serial->dev; | 292 | port->interrupt_in_urb->dev = port->serial->dev; |
293 | if (usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL)) | 293 | if (usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL)) |
294 | dbg(" usb_submit_urb(read urb) failed"); | 294 | dbg(" usb_submit_urb(read urb) failed"); |
295 | return; | ||
296 | } | 295 | } |
297 | 296 | ||
298 | 297 | ||
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index 30922a7e3347..f442333dfa99 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -827,7 +827,6 @@ exit: | |||
827 | dev_err(&urb->dev->dev, | 827 | dev_err(&urb->dev->dev, |
828 | "%s - Error %d submitting control urb\n", | 828 | "%s - Error %d submitting control urb\n", |
829 | __func__, result); | 829 | __func__, result); |
830 | return; | ||
831 | } | 830 | } |
832 | 831 | ||
833 | /* | 832 | /* |
@@ -907,7 +906,6 @@ exit: | |||
907 | dev_err(&urb->dev->dev, | 906 | dev_err(&urb->dev->dev, |
908 | "%s - Error %d submitting control urb\n", | 907 | "%s - Error %d submitting control urb\n", |
909 | __func__, result); | 908 | __func__, result); |
910 | return; | ||
911 | } | 909 | } |
912 | 910 | ||
913 | /* | 911 | /* |
@@ -1227,8 +1225,6 @@ static void mos7720_break(struct tty_struct *tty, int break_state) | |||
1227 | mos7720_port->shadowLCR = data; | 1225 | mos7720_port->shadowLCR = data; |
1228 | write_mos_reg(serial, port->number - port->serial->minor, | 1226 | write_mos_reg(serial, port->number - port->serial->minor, |
1229 | LCR, mos7720_port->shadowLCR); | 1227 | LCR, mos7720_port->shadowLCR); |
1230 | |||
1231 | return; | ||
1232 | } | 1228 | } |
1233 | 1229 | ||
1234 | /* | 1230 | /* |
@@ -1746,7 +1742,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
1746 | dbg("usb_submit_urb(read bulk) failed, status = %d", | 1742 | dbg("usb_submit_urb(read bulk) failed, status = %d", |
1747 | status); | 1743 | status); |
1748 | } | 1744 | } |
1749 | return; | ||
1750 | } | 1745 | } |
1751 | 1746 | ||
1752 | /* | 1747 | /* |
@@ -1803,7 +1798,6 @@ static void mos7720_set_termios(struct tty_struct *tty, | |||
1803 | dbg("usb_submit_urb(read bulk) failed, status = %d", | 1798 | dbg("usb_submit_urb(read bulk) failed, status = %d", |
1804 | status); | 1799 | status); |
1805 | } | 1800 | } |
1806 | return; | ||
1807 | } | 1801 | } |
1808 | 1802 | ||
1809 | /* | 1803 | /* |
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 585b7e663740..d3fc30c5959d 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -1355,8 +1355,6 @@ static void mos7840_break(struct tty_struct *tty, int break_state) | |||
1355 | mos7840_port->shadowLCR); | 1355 | mos7840_port->shadowLCR); |
1356 | mos7840_set_uart_reg(port, LINE_CONTROL_REGISTER, | 1356 | mos7840_set_uart_reg(port, LINE_CONTROL_REGISTER, |
1357 | mos7840_port->shadowLCR); | 1357 | mos7840_port->shadowLCR); |
1358 | |||
1359 | return; | ||
1360 | } | 1358 | } |
1361 | 1359 | ||
1362 | /***************************************************************************** | 1360 | /***************************************************************************** |
@@ -1587,8 +1585,6 @@ static void mos7840_throttle(struct tty_struct *tty) | |||
1587 | if (status < 0) | 1585 | if (status < 0) |
1588 | return; | 1586 | return; |
1589 | } | 1587 | } |
1590 | |||
1591 | return; | ||
1592 | } | 1588 | } |
1593 | 1589 | ||
1594 | /***************************************************************************** | 1590 | /***************************************************************************** |
@@ -2063,8 +2059,6 @@ static void mos7840_change_port_settings(struct tty_struct *tty, | |||
2063 | mos7840_port->delta_msr_cond = 1; | 2059 | mos7840_port->delta_msr_cond = 1; |
2064 | dbg("mos7840_change_port_settings mos7840_port->shadowLCR is End %x", | 2060 | dbg("mos7840_change_port_settings mos7840_port->shadowLCR is End %x", |
2065 | mos7840_port->shadowLCR); | 2061 | mos7840_port->shadowLCR); |
2066 | |||
2067 | return; | ||
2068 | } | 2062 | } |
2069 | 2063 | ||
2070 | /***************************************************************************** | 2064 | /***************************************************************************** |
@@ -2133,7 +2127,6 @@ static void mos7840_set_termios(struct tty_struct *tty, | |||
2133 | mos7840_port->read_urb_busy = false; | 2127 | mos7840_port->read_urb_busy = false; |
2134 | } | 2128 | } |
2135 | } | 2129 | } |
2136 | return; | ||
2137 | } | 2130 | } |
2138 | 2131 | ||
2139 | /***************************************************************************** | 2132 | /***************************************************************************** |
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 89c724c0ac0a..60f38d5e64fc 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -246,8 +246,6 @@ static void omninet_read_bulk_callback(struct urb *urb) | |||
246 | dev_err(&port->dev, | 246 | dev_err(&port->dev, |
247 | "%s - failed resubmitting read urb, error %d\n", | 247 | "%s - failed resubmitting read urb, error %d\n", |
248 | __func__, result); | 248 | __func__, result); |
249 | |||
250 | return; | ||
251 | } | 249 | } |
252 | 250 | ||
253 | static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port, | 251 | static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port, |
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index d47b56e9e8ce..7481ff8a49e4 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -620,8 +620,6 @@ static void sierra_indat_callback(struct urb *urb) | |||
620 | dev_err(&port->dev, "resubmit read urb failed." | 620 | dev_err(&port->dev, "resubmit read urb failed." |
621 | "(%d)\n", err); | 621 | "(%d)\n", err); |
622 | } | 622 | } |
623 | |||
624 | return; | ||
625 | } | 623 | } |
626 | 624 | ||
627 | static void sierra_instat_callback(struct urb *urb) | 625 | static void sierra_instat_callback(struct urb *urb) |
diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c index 329d311a35d9..765aa983bf58 100644 --- a/drivers/usb/serial/spcp8x5.c +++ b/drivers/usb/serial/spcp8x5.c | |||
@@ -441,7 +441,6 @@ static void spcp8x5_set_termios(struct tty_struct *tty, | |||
441 | spcp8x5_set_workMode(serial->dev, 0x000a, | 441 | spcp8x5_set_workMode(serial->dev, 0x000a, |
442 | SET_WORKING_MODE_U2C, priv->type); | 442 | SET_WORKING_MODE_U2C, priv->type); |
443 | } | 443 | } |
444 | return; | ||
445 | } | 444 | } |
446 | 445 | ||
447 | /* open the serial port. do some usb system call. set termios and get the line | 446 | /* open the serial port. do some usb system call. set termios and get the line |
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index 0c70b4a621bb..fbc946797801 100644 --- a/drivers/usb/serial/usb_wwan.c +++ b/drivers/usb/serial/usb_wwan.c | |||
@@ -234,7 +234,6 @@ static void usb_wwan_indat_callback(struct urb *urb) | |||
234 | } | 234 | } |
235 | 235 | ||
236 | } | 236 | } |
237 | return; | ||
238 | } | 237 | } |
239 | 238 | ||
240 | static void usb_wwan_outdat_callback(struct urb *urb) | 239 | static void usb_wwan_outdat_callback(struct urb *urb) |
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 12ed8209ca72..3f9ac88d588c 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -655,8 +655,6 @@ static void whiteheat_release(struct usb_serial *serial) | |||
655 | } | 655 | } |
656 | kfree(info); | 656 | kfree(info); |
657 | } | 657 | } |
658 | |||
659 | return; | ||
660 | } | 658 | } |
661 | 659 | ||
662 | static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) | 660 | 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) | |||
955 | spin_lock_irq(&info->lock); | 953 | spin_lock_irq(&info->lock); |
956 | info->flags |= THROTTLED; | 954 | info->flags |= THROTTLED; |
957 | spin_unlock_irq(&info->lock); | 955 | spin_unlock_irq(&info->lock); |
958 | |||
959 | return; | ||
960 | } | 956 | } |
961 | 957 | ||
962 | 958 | ||
@@ -975,8 +971,6 @@ static void whiteheat_unthrottle(struct tty_struct *tty) | |||
975 | 971 | ||
976 | if (actually_throttled) | 972 | if (actually_throttled) |
977 | rx_data_softint(&info->rx_work); | 973 | rx_data_softint(&info->rx_work); |
978 | |||
979 | return; | ||
980 | } | 974 | } |
981 | 975 | ||
982 | 976 | ||
diff --git a/drivers/video/bf54x-lq043fb.c b/drivers/video/bf54x-lq043fb.c index b020ba7f1cf2..e7d0f525041e 100644 --- a/drivers/video/bf54x-lq043fb.c +++ b/drivers/video/bf54x-lq043fb.c | |||
@@ -241,12 +241,12 @@ static int request_ports(struct bfin_bf54xfb_info *fbi) | |||
241 | u16 disp = fbi->mach_info->disp; | 241 | u16 disp = fbi->mach_info->disp; |
242 | 242 | ||
243 | if (gpio_request(disp, DRIVER_NAME)) { | 243 | if (gpio_request(disp, DRIVER_NAME)) { |
244 | printk(KERN_ERR "Requesting GPIO %d faild\n", disp); | 244 | printk(KERN_ERR "Requesting GPIO %d failed\n", disp); |
245 | return -EFAULT; | 245 | return -EFAULT; |
246 | } | 246 | } |
247 | 247 | ||
248 | if (peripheral_request_list(eppi_req_18, DRIVER_NAME)) { | 248 | if (peripheral_request_list(eppi_req_18, DRIVER_NAME)) { |
249 | printk(KERN_ERR "Requesting Peripherals faild\n"); | 249 | printk(KERN_ERR "Requesting Peripherals failed\n"); |
250 | gpio_free(disp); | 250 | gpio_free(disp); |
251 | return -EFAULT; | 251 | return -EFAULT; |
252 | } | 252 | } |
@@ -256,7 +256,7 @@ static int request_ports(struct bfin_bf54xfb_info *fbi) | |||
256 | u16 eppi_req_24[] = EPPI0_24; | 256 | u16 eppi_req_24[] = EPPI0_24; |
257 | 257 | ||
258 | if (peripheral_request_list(eppi_req_24, DRIVER_NAME)) { | 258 | if (peripheral_request_list(eppi_req_24, DRIVER_NAME)) { |
259 | printk(KERN_ERR "Requesting Peripherals faild\n"); | 259 | printk(KERN_ERR "Requesting Peripherals failed\n"); |
260 | peripheral_free_list(eppi_req_18); | 260 | peripheral_free_list(eppi_req_18); |
261 | gpio_free(disp); | 261 | gpio_free(disp); |
262 | return -EFAULT; | 262 | return -EFAULT; |
diff --git a/drivers/video/bfin-t350mcqb-fb.c b/drivers/video/bfin-t350mcqb-fb.c index 7a50272eaab9..3cf77676947c 100644 --- a/drivers/video/bfin-t350mcqb-fb.c +++ b/drivers/video/bfin-t350mcqb-fb.c | |||
@@ -192,7 +192,7 @@ static int bfin_t350mcqb_request_ports(int action) | |||
192 | { | 192 | { |
193 | if (action) { | 193 | if (action) { |
194 | if (peripheral_request_list(ppi0_req_8, DRIVER_NAME)) { | 194 | if (peripheral_request_list(ppi0_req_8, DRIVER_NAME)) { |
195 | printk(KERN_ERR "Requesting Peripherals faild\n"); | 195 | printk(KERN_ERR "Requesting Peripherals failed\n"); |
196 | return -EFAULT; | 196 | return -EFAULT; |
197 | } | 197 | } |
198 | } else | 198 | } else |
diff --git a/fs/exofs/inode.c b/fs/exofs/inode.c index 088cb476b68a..185ef1281e0c 100644 --- a/fs/exofs/inode.c +++ b/fs/exofs/inode.c | |||
@@ -508,7 +508,7 @@ static int write_exec(struct page_collect *pcol) | |||
508 | 508 | ||
509 | pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); | 509 | pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL); |
510 | if (!pcol_copy) { | 510 | if (!pcol_copy) { |
511 | EXOFS_ERR("write_exec: Faild to kmalloc(pcol)\n"); | 511 | EXOFS_ERR("write_exec: Failed to kmalloc(pcol)\n"); |
512 | ret = -ENOMEM; | 512 | ret = -ENOMEM; |
513 | goto err; | 513 | goto err; |
514 | } | 514 | } |
@@ -524,7 +524,7 @@ static int write_exec(struct page_collect *pcol) | |||
524 | 524 | ||
525 | ret = exofs_oi_write(oi, ios); | 525 | ret = exofs_oi_write(oi, ios); |
526 | if (unlikely(ret)) { | 526 | if (unlikely(ret)) { |
527 | EXOFS_ERR("write_exec: exofs_oi_write() Faild\n"); | 527 | EXOFS_ERR("write_exec: exofs_oi_write() Failed\n"); |
528 | goto err; | 528 | goto err; |
529 | } | 529 | } |
530 | 530 | ||
@@ -625,7 +625,7 @@ try_again: | |||
625 | /* split the request, next loop will start again */ | 625 | /* split the request, next loop will start again */ |
626 | ret = write_exec(pcol); | 626 | ret = write_exec(pcol); |
627 | if (unlikely(ret)) { | 627 | if (unlikely(ret)) { |
628 | EXOFS_DBGMSG("write_exec faild => %d", ret); | 628 | EXOFS_DBGMSG("write_exec failed => %d", ret); |
629 | goto fail; | 629 | goto fail; |
630 | } | 630 | } |
631 | 631 | ||
@@ -716,7 +716,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
716 | ret = simple_write_begin(file, mapping, pos, len, flags, pagep, | 716 | ret = simple_write_begin(file, mapping, pos, len, flags, pagep, |
717 | fsdata); | 717 | fsdata); |
718 | if (ret) { | 718 | if (ret) { |
719 | EXOFS_DBGMSG("simple_write_begin faild\n"); | 719 | EXOFS_DBGMSG("simple_write_begin failed\n"); |
720 | goto out; | 720 | goto out; |
721 | } | 721 | } |
722 | 722 | ||
@@ -729,7 +729,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping, | |||
729 | if (ret) { | 729 | if (ret) { |
730 | /*SetPageError was done by _readpage. Is it ok?*/ | 730 | /*SetPageError was done by _readpage. Is it ok?*/ |
731 | unlock_page(page); | 731 | unlock_page(page); |
732 | EXOFS_DBGMSG("__readpage_filler faild\n"); | 732 | EXOFS_DBGMSG("__readpage_filler failed\n"); |
733 | } | 733 | } |
734 | } | 734 | } |
735 | out: | 735 | out: |
@@ -1094,7 +1094,7 @@ static void create_done(struct exofs_io_state *ios, void *p) | |||
1094 | atomic_dec(&sbi->s_curr_pending); | 1094 | atomic_dec(&sbi->s_curr_pending); |
1095 | 1095 | ||
1096 | if (unlikely(ret)) { | 1096 | if (unlikely(ret)) { |
1097 | EXOFS_ERR("object=0x%llx creation faild in pid=0x%llx", | 1097 | EXOFS_ERR("object=0x%llx creation failed in pid=0x%llx", |
1098 | _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); | 1098 | _LLU(exofs_oi_objno(oi)), _LLU(sbi->layout.s_pid)); |
1099 | /*TODO: When FS is corrupted creation can fail, object already | 1099 | /*TODO: When FS is corrupted creation can fail, object already |
1100 | * exist. Get rid of this asynchronous creation, if exist | 1100 | * exist. Get rid of this asynchronous creation, if exist |
@@ -1214,7 +1214,7 @@ static int exofs_update_inode(struct inode *inode, int do_sync) | |||
1214 | 1214 | ||
1215 | args = kzalloc(sizeof(*args), GFP_KERNEL); | 1215 | args = kzalloc(sizeof(*args), GFP_KERNEL); |
1216 | if (!args) { | 1216 | if (!args) { |
1217 | EXOFS_DBGMSG("Faild kzalloc of args\n"); | 1217 | EXOFS_DBGMSG("Failed kzalloc of args\n"); |
1218 | return -ENOMEM; | 1218 | return -ENOMEM; |
1219 | } | 1219 | } |
1220 | 1220 | ||
diff --git a/fs/exofs/ios.c b/fs/exofs/ios.c index e2732203fa93..908cdbe4b99a 100644 --- a/fs/exofs/ios.c +++ b/fs/exofs/ios.c | |||
@@ -55,7 +55,7 @@ int exofs_read_kern(struct osd_dev *od, u8 *cred, struct osd_obj_id *obj, | |||
55 | 55 | ||
56 | ret = osd_finalize_request(or, 0, cred, NULL); | 56 | ret = osd_finalize_request(or, 0, cred, NULL); |
57 | if (unlikely(ret)) { | 57 | if (unlikely(ret)) { |
58 | EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", ret); | 58 | EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", ret); |
59 | goto out; | 59 | goto out; |
60 | } | 60 | } |
61 | 61 | ||
@@ -79,7 +79,7 @@ int exofs_get_io_state(struct exofs_layout *layout, | |||
79 | */ | 79 | */ |
80 | ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL); | 80 | ios = kzalloc(exofs_io_state_size(layout->s_numdevs), GFP_KERNEL); |
81 | if (unlikely(!ios)) { | 81 | if (unlikely(!ios)) { |
82 | EXOFS_DBGMSG("Faild kzalloc bytes=%d\n", | 82 | EXOFS_DBGMSG("Failed kzalloc bytes=%d\n", |
83 | exofs_io_state_size(layout->s_numdevs)); | 83 | exofs_io_state_size(layout->s_numdevs)); |
84 | *pios = NULL; | 84 | *pios = NULL; |
85 | return -ENOMEM; | 85 | return -ENOMEM; |
@@ -172,7 +172,7 @@ static int exofs_io_execute(struct exofs_io_state *ios) | |||
172 | 172 | ||
173 | ret = osd_finalize_request(or, 0, ios->cred, NULL); | 173 | ret = osd_finalize_request(or, 0, ios->cred, NULL); |
174 | if (unlikely(ret)) { | 174 | if (unlikely(ret)) { |
175 | EXOFS_DBGMSG("Faild to osd_finalize_request() => %d\n", | 175 | EXOFS_DBGMSG("Failed to osd_finalize_request() => %d\n", |
176 | ret); | 176 | ret); |
177 | return ret; | 177 | return ret; |
178 | } | 178 | } |
@@ -365,7 +365,7 @@ static int _add_stripe_unit(struct exofs_io_state *ios, unsigned *cur_pg, | |||
365 | 365 | ||
366 | per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); | 366 | per_dev->bio = bio_kmalloc(GFP_KERNEL, bio_size); |
367 | if (unlikely(!per_dev->bio)) { | 367 | if (unlikely(!per_dev->bio)) { |
368 | EXOFS_DBGMSG("Faild to allocate BIO size=%u\n", | 368 | EXOFS_DBGMSG("Failed to allocate BIO size=%u\n", |
369 | bio_size); | 369 | bio_size); |
370 | return -ENOMEM; | 370 | return -ENOMEM; |
371 | } | 371 | } |
@@ -584,7 +584,7 @@ static int _sbi_write_mirror(struct exofs_io_state *ios, int cur_comp) | |||
584 | master_dev->bio->bi_max_vecs); | 584 | master_dev->bio->bi_max_vecs); |
585 | if (unlikely(!bio)) { | 585 | if (unlikely(!bio)) { |
586 | EXOFS_DBGMSG( | 586 | EXOFS_DBGMSG( |
587 | "Faild to allocate BIO size=%u\n", | 587 | "Failed to allocate BIO size=%u\n", |
588 | master_dev->bio->bi_max_vecs); | 588 | master_dev->bio->bi_max_vecs); |
589 | ret = -ENOMEM; | 589 | ret = -ENOMEM; |
590 | goto out; | 590 | goto out; |
diff --git a/fs/jfs/jfs_mount.c b/fs/jfs/jfs_mount.c index 7b698f2ec45a..9895595fd2f2 100644 --- a/fs/jfs/jfs_mount.c +++ b/fs/jfs/jfs_mount.c | |||
@@ -97,7 +97,7 @@ int jfs_mount(struct super_block *sb) | |||
97 | 97 | ||
98 | ipaimap = diReadSpecial(sb, AGGREGATE_I, 0); | 98 | ipaimap = diReadSpecial(sb, AGGREGATE_I, 0); |
99 | if (ipaimap == NULL) { | 99 | if (ipaimap == NULL) { |
100 | jfs_err("jfs_mount: Faild to read AGGREGATE_I"); | 100 | jfs_err("jfs_mount: Failed to read AGGREGATE_I"); |
101 | rc = -EIO; | 101 | rc = -EIO; |
102 | goto errout20; | 102 | goto errout20; |
103 | } | 103 | } |
@@ -148,7 +148,7 @@ int jfs_mount(struct super_block *sb) | |||
148 | if ((sbi->mntflag & JFS_BAD_SAIT) == 0) { | 148 | if ((sbi->mntflag & JFS_BAD_SAIT) == 0) { |
149 | ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1); | 149 | ipaimap2 = diReadSpecial(sb, AGGREGATE_I, 1); |
150 | if (!ipaimap2) { | 150 | if (!ipaimap2) { |
151 | jfs_err("jfs_mount: Faild to read AGGREGATE_I"); | 151 | jfs_err("jfs_mount: Failed to read AGGREGATE_I"); |
152 | rc = -EIO; | 152 | rc = -EIO; |
153 | goto errout35; | 153 | goto errout35; |
154 | } | 154 | } |
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 8b27c9849b42..52f032306c7c 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -648,7 +648,7 @@ static int register_trace_probe(struct trace_probe *tp) | |||
648 | } | 648 | } |
649 | ret = register_probe_event(tp); | 649 | ret = register_probe_event(tp); |
650 | if (ret) { | 650 | if (ret) { |
651 | pr_warning("Faild to register probe event(%d)\n", ret); | 651 | pr_warning("Failed to register probe event(%d)\n", ret); |
652 | goto end; | 652 | goto end; |
653 | } | 653 | } |
654 | 654 | ||
diff --git a/mm/percpu.c b/mm/percpu.c index e61dc2cc5873..039f51a0dc3f 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -31,7 +31,7 @@ | |||
31 | * as small as 4 bytes. The allocator organizes chunks into lists | 31 | * as small as 4 bytes. The allocator organizes chunks into lists |
32 | * according to free size and tries to allocate from the fullest one. | 32 | * according to free size and tries to allocate from the fullest one. |
33 | * Each chunk keeps the maximum contiguous area size hint which is | 33 | * Each chunk keeps the maximum contiguous area size hint which is |
34 | * guaranteed to be eqaul to or larger than the maximum contiguous | 34 | * guaranteed to be equal to or larger than the maximum contiguous |
35 | * area in the chunk. This helps the allocator not to iterate the | 35 | * area in the chunk. This helps the allocator not to iterate the |
36 | * chunk maps unnecessarily. | 36 | * chunk maps unnecessarily. |
37 | * | 37 | * |
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index ebd3f1d9d889..58e741128968 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
@@ -115,7 +115,7 @@ struct mesh_path { | |||
115 | * @hash_rnd: random value used for hash computations | 115 | * @hash_rnd: random value used for hash computations |
116 | * @entries: number of entries in the table | 116 | * @entries: number of entries in the table |
117 | * @free_node: function to free nodes of the table | 117 | * @free_node: function to free nodes of the table |
118 | * @copy_node: fuction to copy nodes of the table | 118 | * @copy_node: function to copy nodes of the table |
119 | * @size_order: determines size of the table, there will be 2^size_order hash | 119 | * @size_order: determines size of the table, there will be 2^size_order hash |
120 | * buckets | 120 | * buckets |
121 | * @mean_chain_len: maximum average length for the hash buckets' list, if it is | 121 | * @mean_chain_len: maximum average length for the hash buckets' list, if it is |
diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c index 2bf23406637a..74944a2dd436 100644 --- a/net/wanrouter/wanmain.c +++ b/net/wanrouter/wanmain.c | |||
@@ -471,7 +471,7 @@ static int wanrouter_device_setup(struct wan_device *wandev, | |||
471 | data = vmalloc(conf->data_size); | 471 | data = vmalloc(conf->data_size); |
472 | if (!data) { | 472 | if (!data) { |
473 | printk(KERN_INFO | 473 | printk(KERN_INFO |
474 | "%s: ERROR, Faild allocate kernel memory !\n", | 474 | "%s: ERROR, Failed allocate kernel memory !\n", |
475 | wandev->name); | 475 | wandev->name); |
476 | kfree(conf); | 476 | kfree(conf); |
477 | return -ENOBUFS; | 477 | return -ENOBUFS; |
@@ -481,7 +481,7 @@ static int wanrouter_device_setup(struct wan_device *wandev, | |||
481 | err = wandev->setup(wandev, conf); | 481 | err = wandev->setup(wandev, conf); |
482 | } else { | 482 | } else { |
483 | printk(KERN_INFO | 483 | printk(KERN_INFO |
484 | "%s: ERROR, Faild to copy from user data !\n", | 484 | "%s: ERROR, Failed to copy from user data !\n", |
485 | wandev->name); | 485 | wandev->name); |
486 | err = -EFAULT; | 486 | err = -EFAULT; |
487 | } | 487 | } |