treewide: Fix typo in printk
Subsystems (22)
PATCH 1/1 treewide: Fix typo in printk
Correct spelling typo in various part of drivers
Signed-off-by Masanari Iida <[email protected]>
--- drivers/gpu/drm/drm_fb_cma_helper.c | 4 ++-- drivers/gpu/drm/radeon/radeon_fb.c | 2 +- drivers/infiniband/ulp/isert/ib_isert.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 +- drivers/misc/dummy-irq.c | 2 +- drivers/misc/lattice-ecp3-config.c | 2 +- drivers/misc/mei/hbm.c | 2 +- drivers/misc/mei/init.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 2 +- drivers/nfc/pn533.c | 2 +- drivers/scsi/pm8001/pm80xx_hwi.c | 2 +- drivers/tty/serial/serial-tegra.c | 2 +- drivers/usb/musb/musb_dsps.c | 2 +- drivers/usb/musb/omap2430.c | 2 +- drivers/video/omap2/displays/panel-n8x0.c | 2 +- fs/btrfs/free-space-cache.c | 2 +- tools/testing/ktest/ktest.pl | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/drm_fb_cma_helper.c +2 -2
@@ -92,7 +92,7 @@ static struct drm_fb_cma *drm_fb_cma_alloc(struct drm_device *dev, ret =drm_framebuffer_init (dev, &fb_cma->fb, &drm_fb_cma_funcs);if (ret) { -dev_err (dev->dev,"Failed to initalize framebuffer: %d\n" , ret); +dev_err (dev->dev,"Failed to initialize framebuffer: %d\n" , ret);kfree (fb_cma);return ERR_PTR (ret); }
@@ -376,7 +376,7 @@ struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev, ret =drm_fb_helper_initial_config (helper, preferred_bpp);if (ret <0 ) { -dev_err (dev->dev,"Failed to set inital hw configuration.\n" ); +dev_err (dev->dev,"Failed to set initial hw configuration.\n" ); goto err_drm_fb_helper_fini; }
drivers/gpu/drm/radeon/radeon_fb.c +1 -1
@@ -230,7 +230,7 @@ static int radeonfb_create(struct drm_fb_helper *helper, ret =radeon_framebuffer_init (rdev->ddev, &rfbdev->rfb, &mode_cmd, gobj);if (ret) { -DRM_ERROR ("failed to initalise framebuffer %d\n" , ret); +DRM_ERROR ("failed to initialize framebuffer %d\n" , ret); goto out_unref; }
drivers/infiniband/ulp/isert/ib_isert.c +1 -1
@@ -1587,7 +1587,7 @@ isert_put_nopin(struct iscsi_cmd *cmd, struct iscsi_conn *conn,isert_init_tx_hdrs (isert_conn, &isert_cmd->tx_desc);isert_init_send_wr (isert_cmd, send_wr); -pr_debug ("Posting NOPIN Reponse IB_WR_SEND >>>>>>>>>>>>>>>>>>>>>>\n" ); +pr_debug ("Posting NOPIN Response IB_WR_SEND >>>>>>>>>>>>>>>>>>>>>>\n" );return isert_post_response (isert_conn, isert_cmd); }
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c +1 -1
@@ -954,7 +954,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq, psize[0 ] = ctx->dec_src_buf_size; allocators[0 ] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX ]; }else { -mfc_err ("This video node is dedicated to decoding. Decoding not initalised\n" ); +mfc_err ("This video node is dedicated to decoding. Decoding not initialized\n" );return -EINVAL ; }return 0 ;
drivers/misc/dummy-irq.c +1 -1
@@ -26,7 +26,7 @@ static irqreturn_t dummy_interrupt(int irq, void *dev_id)static int count =0 ;if (count ==0 ) { -printk (KERN_INFO "dummy-irq: interrupt occured on IRQ %d\n" , +printk (KERN_INFO "dummy-irq: interrupt occurred on IRQ %d\n" , irq); count++; }
drivers/misc/lattice-ecp3-config.c +1 -1
@@ -170,7 +170,7 @@ static void firmware_load(const struct firmware *fw, void *context)/* Check result */ if (status &FPGA_STATUS_DONE ) -dev_info (&spi->dev,"FPGA succesfully configured!\n" ); +dev_info (&spi->dev,"FPGA successfully configured!\n" );else dev_info (&spi->dev,"FPGA not configured (DONE not set)\n" );
drivers/misc/mei/hbm.c +1 -1
@@ -139,7 +139,7 @@ int mei_hbm_start_wait(struct mei_device *dev)if (ret <=0 && (dev->hbm_state <=MEI_HBM_START )) { dev->hbm_state =MEI_HBM_IDLE ; -dev_err (&dev->pdev->dev,"wating for mei start failed\n" ); +dev_err (&dev->pdev->dev,"waiting for mei start failed\n" );return -ETIMEDOUT ; }return 0 ;
drivers/misc/mei/init.c +1 -1
@@ -38,7 +38,7 @@ const char *mei_dev_state_str(int state)MEI_DEV_STATE (POWER_DOWN );MEI_DEV_STATE (POWER_UP );default : -return "unkown" ; +return "unknown" ; }#undef MEI_DEV_STATE }
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c +1 -1
@@ -1675,7 +1675,7 @@ static int qlcnic_sriov_vf_handle_dev_ready(struct qlcnic_adapter *adapter)qlcnic_sriov_vf_attach (adapter); adapter->fw_fail_cnt =0 ;dev_info (dev, -"%s: Reinitalization of VF 0x%x done after FW reset\n" , +"%s: Reinitialization of VF 0x%x done after FW reset\n" , __func__, func); }else { dev_err(dev,
drivers/nfc/pn533.c +1 -1
@@ -1697,7 +1697,7 @@ static int pn533_poll_complete(struct pn533 *dev, void *arg, goto done;if (!dev->poll_mod_count) { -nfc_dev_dbg (&dev->interface->dev,"Polling has been stoped." ); +nfc_dev_dbg (&dev->interface->dev,"Polling has been stopped." ); goto done; }
drivers/scsi/pm8001/pm80xx_hwi.c +1 -1
@@ -3204,7 +3204,7 @@ static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb)break ;case OPC_OUB_DEREG_DEV :PM8001_MSG_DBG (pm8001_ha, -pm8001_printk ("unresgister the deviece\n" )); +pm8001_printk ("unresgister the device\n" ));pm8001_mpi_dereg_resp (pm8001_ha, piomb);break ;case OPC_OUB_GET_DEV_HANDLE :
drivers/tty/serial/serial-tegra.c +1 -1
@@ -1377,7 +1377,7 @@ static int __init tegra_uart_init(void) ret =platform_driver_register (&tegra_uart_platform_driver);if (ret <0 ) { -pr_err ("Uart platfrom driver register failed, e = %d\n" , ret); +pr_err ("Uart platform driver register failed, e = %d\n" , ret);uart_unregister_driver (&tegra_uart_driver);return ret; }
drivers/usb/musb/musb_dsps.c +1 -1
@@ -551,7 +551,7 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue, u8 id) pdata =devm_kzalloc (&pdev->dev,sizeof (*pdata),GFP_KERNEL );if (!pdata) {dev_err (&pdev->dev, -"failed to allocate musb platfrom data\n" ); +"failed to allocate musb platform data\n" ); ret = -ENOMEM ; goto err2; }
drivers/usb/musb/omap2430.c +1 -1
@@ -513,7 +513,7 @@ static int omap2430_probe(struct platform_device *pdev) pdata =devm_kzalloc (&pdev->dev,sizeof (*pdata),GFP_KERNEL );if (!pdata) {dev_err (&pdev->dev, -"failed to allocate musb platfrom data\n" ); +"failed to allocate musb platform data\n" ); goto err2; }
drivers/video/omap2/displays/panel-n8x0.c +1 -1
@@ -527,7 +527,7 @@ static int n8x0_panel_update(struct omap_dss_device *dssdev, dh = dssdev->panel.timings.y_res;if (x !=0 || y !=0 || w != dw || h != dh) { -dev_err (&dssdev->dev,"invaid update region %d, %d, %d, %d\n" , +dev_err (&dssdev->dev,"invalid update region %d, %d, %d, %d\n" , x, y, w, h);return -EINVAL ; }
fs/btrfs/free-space-cache.c +1 -1
@@ -3203,7 +3203,7 @@ static int test_extents(struct btrfs_block_group_cache *cache) ret =btrfs_remove_free_space (cache,2 *1024 *1024 ,4096 );if (ret) { -printk (KERN_ERR "Error removing middle peice %d\n" , ret); +printk (KERN_ERR "Error removing middle piece %d\n" , ret);return ret; }
tools/testing/ktest/ktest.pl +1 -1
@@ -1796,7 +1796,7 @@ sub monitor { # We already booted into the kernel we are testing, # but now we booted into another kernel? # Consider this a triple fault. - doprint "Aleady booted in Linux kernel $version, but now\n"; + doprint "Already booted in Linux kernel $version, but now\n"; doprint "we booted into Linux kernel $1.\n"; doprint "Assuming that this is a triple fault.\n"; doprint "To disable this: set DETECT_TRIPLE_FAULT to 0\n";
Signature · 1 line
1.8.3.rc3
Quoted 3 lines · Masanari Iida
Correct spelling typo in various part of drivers
Signed-off-by Masanari Iida <[email protected]>
Ack except for one line below:
Thanks.
Quoted 26 lines
--- drivers/gpu/drm/drm_fb_cma_helper.c | 4 ++-- drivers/gpu/drm/radeon/radeon_fb.c | 2 +- drivers/infiniband/ulp/isert/ib_isert.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 +- drivers/misc/dummy-irq.c | 2 +- drivers/misc/lattice-ecp3-config.c | 2 +- drivers/misc/mei/hbm.c | 2 +- drivers/misc/mei/init.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 2 +- drivers/nfc/pn533.c | 2 +- drivers/scsi/pm8001/pm80xx_hwi.c | 2 +- drivers/tty/serial/serial-tegra.c | 2 +- drivers/usb/musb/musb_dsps.c | 2 +- drivers/usb/musb/omap2430.c | 2 +- drivers/video/omap2/displays/panel-n8x0.c | 2 +- fs/btrfs/free-space-cache.c | 2 +- tools/testing/ktest/ktest.pl | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-)drivers/scsi/pm8001/pm80xx_hwi.c +0
-0
drivers/scsi/pm8001/pm80xx_hwi.c static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb) · line 3207
Quoted 5 lines
drivers/scsi/pm8001/pm80xx_hwi.c +1
-1@@ -3204,7 +3204,7 @@ static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb)break ;case OPC_OUB_DEREG_DEV :PM8001_MSG_DBG (pm8001_ha, -pm8001_printk ("unresgister the deviece\n" )); +pm8001_printk ("unresgister the device\n" ));
unregister
Quoted 3 lines
drivers/scsi/pm8001/pm80xx_hwi.c +0
-0pm8001_mpi_dereg_resp (pm8001_ha, piomb);break ;case OPC_OUB_GET_DEV_HANDLE :
Signature · 1 line
~Randy
Correct spelling typo in various part of drivers
Signed-off-by Masanari Iida <[email protected]>
--- drivers/gpu/drm/drm_fb_cma_helper.c | 4 ++-- drivers/gpu/drm/radeon/radeon_fb.c | 2 +- drivers/infiniband/ulp/isert/ib_isert.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 2 +- drivers/misc/dummy-irq.c | 2 +- drivers/misc/lattice-ecp3-config.c | 2 +- drivers/misc/mei/hbm.c | 2 +- drivers/misc/mei/init.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 2 +- drivers/nfc/pn533.c | 2 +- drivers/scsi/pm8001/pm80xx_hwi.c | 2 +- drivers/tty/serial/serial-tegra.c | 2 +- drivers/usb/musb/musb_dsps.c | 2 +- drivers/usb/musb/omap2430.c | 2 +- drivers/video/omap2/displays/panel-n8x0.c | 2 +- fs/btrfs/free-space-cache.c | 2 +- tools/testing/ktest/ktest.pl | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-)
drivers/gpu/drm/drm_fb_cma_helper.c +2 -2
@@ -92,7 +92,7 @@ static struct drm_fb_cma *drm_fb_cma_alloc(struct drm_device *dev, ret =drm_framebuffer_init (dev, &fb_cma->fb, &drm_fb_cma_funcs);if (ret) { -dev_err (dev->dev,"Failed to initalize framebuffer: %d\n" , ret); +dev_err (dev->dev,"Failed to initialize framebuffer: %d\n" , ret);kfree (fb_cma);return ERR_PTR (ret); }
@@ -376,7 +376,7 @@ struct drm_fbdev_cma *drm_fbdev_cma_init(struct drm_device *dev, ret =drm_fb_helper_initial_config (helper, preferred_bpp);if (ret <0 ) { -dev_err (dev->dev,"Failed to set inital hw configuration.\n" ); +dev_err (dev->dev,"Failed to set initial hw configuration.\n" ); goto err_drm_fb_helper_fini; }
drivers/gpu/drm/radeon/radeon_fb.c +1 -1
@@ -230,7 +230,7 @@ static int radeonfb_create(struct drm_fb_helper *helper, ret =radeon_framebuffer_init (rdev->ddev, &rfbdev->rfb, &mode_cmd, gobj);if (ret) { -DRM_ERROR ("failed to initalise framebuffer %d\n" , ret); +DRM_ERROR ("failed to initialize framebuffer %d\n" , ret); goto out_unref; }
drivers/infiniband/ulp/isert/ib_isert.c +1 -1
@@ -1587,7 +1587,7 @@ isert_put_nopin(struct iscsi_cmd *cmd, struct iscsi_conn *conn,isert_init_tx_hdrs (isert_conn, &isert_cmd->tx_desc);isert_init_send_wr (isert_cmd, send_wr); -pr_debug ("Posting NOPIN Reponse IB_WR_SEND >>>>>>>>>>>>>>>>>>>>>>\n" ); +pr_debug ("Posting NOPIN Response IB_WR_SEND >>>>>>>>>>>>>>>>>>>>>>\n" );return isert_post_response (isert_conn, isert_cmd); }
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c +1 -1
@@ -954,7 +954,7 @@ static int s5p_mfc_queue_setup(struct vb2_queue *vq, psize[0 ] = ctx->dec_src_buf_size; allocators[0 ] = ctx->dev->alloc_ctx[MFC_BANK1_ALLOC_CTX ]; }else { -mfc_err ("This video node is dedicated to decoding. Decoding not initalised\n" ); +mfc_err ("This video node is dedicated to decoding. Decoding not initialized\n" );return -EINVAL ; }return 0 ;
drivers/misc/dummy-irq.c +1 -1
@@ -26,7 +26,7 @@ static irqreturn_t dummy_interrupt(int irq, void *dev_id)static int count =0 ;if (count ==0 ) { -printk (KERN_INFO "dummy-irq: interrupt occured on IRQ %d\n" , +printk (KERN_INFO "dummy-irq: interrupt occurred on IRQ %d\n" , irq); count++; }
drivers/misc/lattice-ecp3-config.c +1 -1
@@ -170,7 +170,7 @@ static void firmware_load(const struct firmware *fw, void *context)/* Check result */ if (status &FPGA_STATUS_DONE ) -dev_info (&spi->dev,"FPGA succesfully configured!\n" ); +dev_info (&spi->dev,"FPGA successfully configured!\n" );else dev_info (&spi->dev,"FPGA not configured (DONE not set)\n" );
drivers/misc/mei/hbm.c +1 -1
@@ -139,7 +139,7 @@ int mei_hbm_start_wait(struct mei_device *dev)if (ret <=0 && (dev->hbm_state <=MEI_HBM_START )) { dev->hbm_state =MEI_HBM_IDLE ; -dev_err (&dev->pdev->dev,"wating for mei start failed\n" ); +dev_err (&dev->pdev->dev,"waiting for mei start failed\n" );return -ETIMEDOUT ; }return 0 ;
drivers/misc/mei/init.c +1 -1
@@ -38,7 +38,7 @@ const char *mei_dev_state_str(int state)MEI_DEV_STATE (POWER_DOWN );MEI_DEV_STATE (POWER_UP );default : -return "unkown" ; +return "unknown" ; }#undef MEI_DEV_STATE }
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c +1 -1
@@ -1675,7 +1675,7 @@ static int qlcnic_sriov_vf_handle_dev_ready(struct qlcnic_adapter *adapter)qlcnic_sriov_vf_attach (adapter); adapter->fw_fail_cnt =0 ;dev_info (dev, -"%s: Reinitalization of VF 0x%x done after FW reset\n" , +"%s: Reinitialization of VF 0x%x done after FW reset\n" , __func__, func); }else { dev_err(dev,
drivers/nfc/pn533.c +1 -1
@@ -1697,7 +1697,7 @@ static int pn533_poll_complete(struct pn533 *dev, void *arg, goto done;if (!dev->poll_mod_count) { -nfc_dev_dbg (&dev->interface->dev,"Polling has been stoped." ); +nfc_dev_dbg (&dev->interface->dev,"Polling has been stopped." ); goto done; }
drivers/scsi/pm8001/pm80xx_hwi.c +1 -1
@@ -3204,7 +3204,7 @@ static void process_one_iomb(struct pm8001_hba_info *pm8001_ha, void *piomb)break ;case OPC_OUB_DEREG_DEV :PM8001_MSG_DBG (pm8001_ha, -pm8001_printk ("unresgister the deviece\n" )); +pm8001_printk ("unregister the device\n" ));pm8001_mpi_dereg_resp (pm8001_ha, piomb);break ;case OPC_OUB_GET_DEV_HANDLE :
drivers/tty/serial/serial-tegra.c +1 -1
@@ -1377,7 +1377,7 @@ static int __init tegra_uart_init(void) ret =platform_driver_register (&tegra_uart_platform_driver);if (ret <0 ) { -pr_err ("Uart platfrom driver register failed, e = %d\n" , ret); +pr_err ("Uart platform driver register failed, e = %d\n" , ret);uart_unregister_driver (&tegra_uart_driver);return ret; }
drivers/usb/musb/musb_dsps.c +1 -1
@@ -551,7 +551,7 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue, u8 id) pdata =devm_kzalloc (&pdev->dev,sizeof (*pdata),GFP_KERNEL );if (!pdata) {dev_err (&pdev->dev, -"failed to allocate musb platfrom data\n" ); +"failed to allocate musb platform data\n" ); ret = -ENOMEM ; goto err2; }
drivers/usb/musb/omap2430.c +1 -1
@@ -513,7 +513,7 @@ static int omap2430_probe(struct platform_device *pdev) pdata =devm_kzalloc (&pdev->dev,sizeof (*pdata),GFP_KERNEL );if (!pdata) {dev_err (&pdev->dev, -"failed to allocate musb platfrom data\n" ); +"failed to allocate musb platform data\n" ); goto err2; }
drivers/video/omap2/displays/panel-n8x0.c +1 -1
@@ -527,7 +527,7 @@ static int n8x0_panel_update(struct omap_dss_device *dssdev, dh = dssdev->panel.timings.y_res;if (x !=0 || y !=0 || w != dw || h != dh) { -dev_err (&dssdev->dev,"invaid update region %d, %d, %d, %d\n" , +dev_err (&dssdev->dev,"invalid update region %d, %d, %d, %d\n" , x, y, w, h);return -EINVAL ; }
fs/btrfs/free-space-cache.c +1 -1
@@ -3203,7 +3203,7 @@ static int test_extents(struct btrfs_block_group_cache *cache) ret =btrfs_remove_free_space (cache,2 *1024 *1024 ,4096 );if (ret) { -printk (KERN_ERR "Error removing middle peice %d\n" , ret); +printk (KERN_ERR "Error removing middle piece %d\n" , ret);return ret; }
tools/testing/ktest/ktest.pl +1 -1
@@ -1796,7 +1796,7 @@ sub monitor { # We already booted into the kernel we are testing, # but now we booted into another kernel? # Consider this a triple fault. - doprint "Aleady booted in Linux kernel $version, but now\n"; + doprint "Already booted in Linux kernel $version, but now\n"; doprint "we booted into Linux kernel $1.\n"; doprint "Assuming that this is a triple fault.\n"; doprint "To disable this: set DETECT_TRIPLE_FAULT to 0\n";
Signature · 1 line
1.8.3.rc3