Re: [PATCH] [trivial] treewide: Fix typo in printk messages

From: Andy Shevchenko
Date: Fri Feb 27 2015 - 11:04:20 EST


On Fri, Feb 27, 2015 at 4:52 PM, Masanari Iida <standby24x7@xxxxxxxxx> wrote:
> This patch fix spelling typo in printk messages.
>

Can you split by subsystems / drivers under question?

> Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
> ---
> arch/arc/kernel/unwind.c | 2 +-
> arch/powerpc/kernel/prom.c | 2 +-
> arch/powerpc/platforms/85xx/p1022_rdk.c | 4 ++--
> arch/x86/kernel/test_rodata.c | 2 +-
> drivers/iio/adc/max1027.c | 2 +-
> drivers/isdn/hardware/mISDN/mISDNinfineon.c | 2 +-
> drivers/isdn/mISDN/dsp_cmx.c | 2 +-
> drivers/isdn/mISDN/dsp_core.c | 4 ++--
> drivers/media/tuners/msi001.c | 2 +-
> drivers/net/can/usb/kvaser_usb.c | 2 +-
> drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c | 2 +-
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c | 2 +-
> drivers/net/wireless/ath/ath10k/mac.c | 2 +-
> drivers/net/wireless/rtlwifi/rtl8723be/dm.c | 2 +-
> drivers/net/wireless/rtlwifi/rtl8821ae/dm.c | 2 +-
> drivers/parisc/eisa_enumerator.c | 2 +-
> drivers/scsi/be2iscsi/be_cmds.c | 2 +-
> drivers/scsi/osd/osd_initiator.c | 2 +-
> drivers/scsi/qla2xxx/qla_nx.c | 2 +-
> drivers/scsi/qla2xxx/qla_os.c | 4 ++--
> drivers/scsi/wd719x.c | 2 +-
> net/sunrpc/xprtrdma/verbs.c | 4 ++--
> tools/perf/builtin-probe.c | 2 +-
> tools/perf/util/probe-finder.c | 2 +-
> 24 files changed, 28 insertions(+), 28 deletions(-)
>
> diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
> index e550b11..93c6ea5 100644
> --- a/arch/arc/kernel/unwind.c
> +++ b/arch/arc/kernel/unwind.c
> @@ -841,7 +841,7 @@ static int processCFI(const u8 *start, const u8 *end, unsigned long targetLoc,
> break;
> case DW_CFA_GNU_window_save:
> default:
> - unw_debug("UNKNOW OPCODE 0x%x\n", opcode);
> + unw_debug("UNKNOWN OPCODE 0x%x\n", opcode);
> result = 0;
> break;
> }
> diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
> index b8e15c6..308c5e1 100644
> --- a/arch/powerpc/kernel/prom.c
> +++ b/arch/powerpc/kernel/prom.c
> @@ -721,7 +721,7 @@ void __init early_init_devtree(void *params)
> */
> of_scan_flat_dt(early_init_dt_scan_cpus, NULL);
> if (boot_cpuid < 0) {
> - printk("Failed to indentify boot CPU !\n");
> + printk("Failed to identify boot CPU !\n");
> BUG();
> }
>
> diff --git a/arch/powerpc/platforms/85xx/p1022_rdk.c b/arch/powerpc/platforms/85xx/p1022_rdk.c
> index 7a180f0..1efcadd 100644
> --- a/arch/powerpc/platforms/85xx/p1022_rdk.c
> +++ b/arch/powerpc/platforms/85xx/p1022_rdk.c
> @@ -50,14 +50,14 @@ void p1022rdk_set_pixel_clock(unsigned int pixclock)
> /* Map the global utilities registers. */
> guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts");
> if (!guts_np) {
> - pr_err("p1022rdk: missing global utilties device node\n");
> + pr_err("p1022rdk: missing global utilities device node\n");
> return;
> }
>
> guts = of_iomap(guts_np, 0);
> of_node_put(guts_np);
> if (!guts) {
> - pr_err("p1022rdk: could not map global utilties device\n");
> + pr_err("p1022rdk: could not map global utilities device\n");
> return;
> }
>
> diff --git a/arch/x86/kernel/test_rodata.c b/arch/x86/kernel/test_rodata.c
> index b79133a..5ecbfe5 100644
> --- a/arch/x86/kernel/test_rodata.c
> +++ b/arch/x86/kernel/test_rodata.c
> @@ -57,7 +57,7 @@ int rodata_test(void)
> /* test 3: check the value hasn't changed */
> /* If this test fails, we managed to overwrite the data */
> if (!rodata_test_data) {
> - printk(KERN_ERR "rodata_test: Test 3 failes (end data)\n");
> + printk(KERN_ERR "rodata_test: Test 3 fails (end data)\n");
> return -ENODEV;
> }
> /* test 4: check if the rodata section is 4Kb aligned */
> diff --git a/drivers/iio/adc/max1027.c b/drivers/iio/adc/max1027.c
> index 87ee1c7..44bf815 100644
> --- a/drivers/iio/adc/max1027.c
> +++ b/drivers/iio/adc/max1027.c
> @@ -436,7 +436,7 @@ static int max1027_probe(struct spi_device *spi)
> indio_dev->num_channels * 2,
> GFP_KERNEL);
> if (st->buffer == NULL) {
> - dev_err(&indio_dev->dev, "Can't allocate bufffer\n");
> + dev_err(&indio_dev->dev, "Can't allocate buffer\n");
> return -ENOMEM;
> }
>
> diff --git a/drivers/isdn/hardware/mISDN/mISDNinfineon.c b/drivers/isdn/hardware/mISDN/mISDNinfineon.c
> index c1493f4..d5bdbaf 100644
> --- a/drivers/isdn/hardware/mISDN/mISDNinfineon.c
> +++ b/drivers/isdn/hardware/mISDN/mISDNinfineon.c
> @@ -1092,7 +1092,7 @@ inf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> }
> card->ci = get_card_info(ent->driver_data);
> if (!card->ci) {
> - pr_info("mISDN: do not have informations about adapter at %s\n",
> + pr_info("mISDN: do not have information about adapter at %s\n",
> pci_name(pdev));
> kfree(card);
> pci_disable_device(pdev);
> diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c
> index 87f7dff..52c4382 100644
> --- a/drivers/isdn/mISDN/dsp_cmx.c
> +++ b/drivers/isdn/mISDN/dsp_cmx.c
> @@ -295,7 +295,7 @@ dsp_cmx_del_conf_member(struct dsp *dsp)
> }
> }
> printk(KERN_WARNING
> - "%s: dsp is not present in its own conf_meber list.\n",
> + "%s: dsp is not present in its own conf_member list.\n",
> __func__);
>
> return -EINVAL;
> diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c
> index 77025f5..0222b1a 100644
> --- a/drivers/isdn/mISDN/dsp_core.c
> +++ b/drivers/isdn/mISDN/dsp_core.c
> @@ -460,7 +460,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
> }
> if (dsp_debug & DEBUG_DSP_CORE)
> printk(KERN_DEBUG "%s: enable mixing of "
> - "tx-data with conf mebers\n", __func__);
> + "tx-data with conf members\n", __func__);
> dsp->tx_mix = 1;
> dsp_cmx_hardware(dsp->conf, dsp);
> dsp_rx_off(dsp);
> @@ -474,7 +474,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
> }
> if (dsp_debug & DEBUG_DSP_CORE)
> printk(KERN_DEBUG "%s: disable mixing of "
> - "tx-data with conf mebers\n", __func__);
> + "tx-data with conf members\n", __func__);
> dsp->tx_mix = 0;
> dsp_cmx_hardware(dsp->conf, dsp);
> dsp_rx_off(dsp);
> diff --git a/drivers/media/tuners/msi001.c b/drivers/media/tuners/msi001.c
> index 26019e7..74cfc3c 100644
> --- a/drivers/media/tuners/msi001.c
> +++ b/drivers/media/tuners/msi001.c
> @@ -408,7 +408,7 @@ static int msi001_s_ctrl(struct v4l2_ctrl *ctrl)
> s->mixer_gain->cur.val, s->if_gain->val);
> break;
> default:
> - dev_dbg(&s->spi->dev, "unkown control %d\n", ctrl->id);
> + dev_dbg(&s->spi->dev, "unknown control %d\n", ctrl->id);
> ret = -EINVAL;
> }
>
> diff --git a/drivers/net/can/usb/kvaser_usb.c b/drivers/net/can/usb/kvaser_usb.c
> index 2928f70..c43637d 100644
> --- a/drivers/net/can/usb/kvaser_usb.c
> +++ b/drivers/net/can/usb/kvaser_usb.c
> @@ -1092,7 +1092,7 @@ static void kvaser_usb_rx_can_err(const struct kvaser_usb_net_priv *priv,
>
> if (msg->u.rx_can_header.flag & (MSG_FLAG_ERROR_FRAME |
> MSG_FLAG_NERR)) {
> - netdev_err(priv->netdev, "Unknow error (flags: 0x%02x)\n",
> + netdev_err(priv->netdev, "Unknown error (flags: 0x%02x)\n",
> msg->u.rx_can_header.flag);
>
> stats->rx_errors++;
> diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
> index e5aca2d..9b0702a 100644
> --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
> +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
> @@ -592,7 +592,7 @@ int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf,
> mc = kzalloc(mc_num * sizeof(struct bnx2x_mcast_list_elem),
> GFP_KERNEL);
> if (!mc) {
> - BNX2X_ERR("Cannot Configure mulicasts due to lack of memory\n");
> + BNX2X_ERR("Cannot Configure multicasts due to lack of memory\n");
> return -ENOMEM;
> }
> }
> diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
> index 3e0f705..75ee9e4 100644
> --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
> +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
> @@ -818,7 +818,7 @@ int qlcnic_82xx_config_intr_coalesce(struct qlcnic_adapter *adapter,
>
> if (rv)
> netdev_err(adapter->netdev,
> - "Failed to set Rx coalescing parametrs\n");
> + "Failed to set Rx coalescing parameters\n");
>
> return rv;
> }
> diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
> index d6d2f0f..4ce433f 100644
> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -4857,7 +4857,7 @@ static void ath10k_sta_rc_update(struct ieee80211_hw *hw,
> bw = WMI_PEER_CHWIDTH_80MHZ;
> break;
> case IEEE80211_STA_RX_BW_160:
> - ath10k_warn(ar, "Invalid bandwith %d in rc update for %pM\n",
> + ath10k_warn(ar, "Invalid bandwidth %d in rc update for %pM\n",
> sta->bandwidth, sta->addr);
> bw = WMI_PEER_CHWIDTH_20MHZ;
> break;
> diff --git a/drivers/net/wireless/rtlwifi/rtl8723be/dm.c b/drivers/net/wireless/rtlwifi/rtl8723be/dm.c
> index 2367e8f..e77c3a4 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8723be/dm.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8723be/dm.c
> @@ -309,7 +309,7 @@ static void rtl8723be_dm_find_minimum_rssi(struct ieee80211_hw *hw)
> rtl_dm_dig->min_undec_pwdb_for_dm =
> rtlpriv->dm.entry_min_undec_sm_pwdb;
> RT_TRACE(rtlpriv, COMP_BB_POWERSAVING, DBG_LOUD,
> - "AP Ext Port or disconnet PWDB = 0x%x\n",
> + "AP Ext Port or disconnect PWDB = 0x%x\n",
> rtl_dm_dig->min_undec_pwdb_for_dm);
> }
> RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD, "MinUndecoratedPWDBForDM =%d\n",
> diff --git a/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c b/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c
> index 0b2082d..342678d 100644
> --- a/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c
> +++ b/drivers/net/wireless/rtlwifi/rtl8821ae/dm.c
> @@ -873,7 +873,7 @@ static void rtl8821ae_dm_dig(struct ieee80211_hw *hw)
>
> if (rtlpriv->falsealm_cnt.cnt_all > 10000) {
> RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
> - "Abnornally false alarm case.\n");
> + "Abnormally false alarm case.\n");
>
> if (dm_digtable->large_fa_hit != 3)
> dm_digtable->large_fa_hit++;
> diff --git a/drivers/parisc/eisa_enumerator.c b/drivers/parisc/eisa_enumerator.c
> index caa1531..a656d9e 100644
> --- a/drivers/parisc/eisa_enumerator.c
> +++ b/drivers/parisc/eisa_enumerator.c
> @@ -357,7 +357,7 @@ static int parse_slot_config(int slot,
> }
> if (flags & HPEE_FUNCTION_INFO_CFG_FREE_FORM) {
> /* I have no idea how to handle this */
> - printk("function %d have free-form confgiuration, skipping ",
> + printk("function %d have free-form configuration, skipping ",
> num_func);
> pos = p0 + function_len;
> continue;
> diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c
> index 80d97f3..1028760 100644
> --- a/drivers/scsi/be2iscsi/be_cmds.c
> +++ b/drivers/scsi/be2iscsi/be_cmds.c
> @@ -237,7 +237,7 @@ int beiscsi_mccq_compl(struct beiscsi_hba *phba,
> beiscsi_log(phba, KERN_WARNING,
> BEISCSI_LOG_INIT | BEISCSI_LOG_EH |
> BEISCSI_LOG_CONFIG,
> - "BC_%d : Insufficent Buffer Error "
> + "BC_%d : Insufficient Buffer Error "
> "Resp_Len : %d Actual_Resp_Len : %d\n",
> mbx_resp_hdr->response_length,
> mbx_resp_hdr->actual_resp_len);
> diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c
> index 488c392..0cccd60 100644
> --- a/drivers/scsi/osd/osd_initiator.c
> +++ b/drivers/scsi/osd/osd_initiator.c
> @@ -186,7 +186,7 @@ static int _osd_get_print_system_info(struct osd_dev *od,
>
> if (unlikely(len > sizeof(odi->systemid))) {
> OSD_ERR("OSD Target error: OSD_SYSTEM_ID too long(%d). "
> - "device idetification might not work\n", len);
> + "device identification might not work\n", len);
> len = sizeof(odi->systemid);
> }
> odi->systemid_len = len;
> diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c
> index 54cb2ac..7d2b18f 100644
> --- a/drivers/scsi/qla2xxx/qla_nx.c
> +++ b/drivers/scsi/qla2xxx/qla_nx.c
> @@ -1274,7 +1274,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
>
> if (off == ADDR_ERROR) {
> ql_log(ql_log_fatal, vha, 0x0116,
> - "Unknow addr: 0x%08lx.\n", buf[i].addr);
> + "Unknown addr: 0x%08lx.\n", buf[i].addr);
> continue;
> }
>
> diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
> index cce1cbc..00d60f0 100644
> --- a/drivers/scsi/qla2xxx/qla_os.c
> +++ b/drivers/scsi/qla2xxx/qla_os.c
> @@ -4102,7 +4102,7 @@ qla83xx_schedule_work(scsi_qla_host_t *base_vha, int work_code)
> break;
> default:
> ql_log(ql_log_warn, base_vha, 0xb05f,
> - "Unknow work-code=0x%x.\n", work_code);
> + "Unknown work-code=0x%x.\n", work_code);
> }
>
> return;
> @@ -4702,7 +4702,7 @@ qla83xx_idc_state_handler(scsi_qla_host_t *base_vha)
> break;
> default:
> ql_log(ql_log_warn, base_vha, 0xb071,
> - "Unknow Device State: %x.\n", dev_state);
> + "Unknown Device State: %x.\n", dev_state);
> qla83xx_idc_unlock(base_vha, 0);
> qla8xxx_dev_failed_handler(base_vha);
> rval = QLA_FUNCTION_FAILED;
> diff --git a/drivers/scsi/wd719x.c b/drivers/scsi/wd719x.c
> index 289ad01..c8e74d3 100644
> --- a/drivers/scsi/wd719x.c
> +++ b/drivers/scsi/wd719x.c
> @@ -590,7 +590,7 @@ static inline void wd719x_interrupt_SCB(struct wd719x *wd,
> dev_dbg(&wd->pdev->dev, "selection timeout\n");
> break;
> case WD719X_SUE_RESET:
> - dev_dbg(&wd->pdev->dev, "bus reset occured\n");
> + dev_dbg(&wd->pdev->dev, "bus reset occurred\n");
> result = DID_RESET;
> break;
> case WD719X_SUE_BUSERROR:
> diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c
> index 124676c..e28909f 100644
> --- a/net/sunrpc/xprtrdma/verbs.c
> +++ b/net/sunrpc/xprtrdma/verbs.c
> @@ -1136,7 +1136,7 @@ rpcrdma_init_fmrs(struct rpcrdma_ia *ia, struct rpcrdma_buffer *buf)
> int i, rc;
>
> i = (buf->rb_max_requests + 1) * RPCRDMA_MAX_SEGS;
> - dprintk("RPC: %s: initalizing %d FMRs\n", __func__, i);
> + dprintk("RPC: %s: initializing %d FMRs\n", __func__, i);
>
> while (i--) {
> r = kzalloc(sizeof(*r), GFP_KERNEL);
> @@ -1169,7 +1169,7 @@ rpcrdma_init_frmrs(struct rpcrdma_ia *ia, struct rpcrdma_buffer *buf)
> int i, rc;
>
> i = (buf->rb_max_requests + 1) * RPCRDMA_MAX_SEGS;
> - dprintk("RPC: %s: initalizing %d FRMRs\n", __func__, i);
> + dprintk("RPC: %s: initializing %d FRMRs\n", __func__, i);
>
> while (i--) {
> r = kzalloc(sizeof(*r), GFP_KERNEL);
> diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c
> index 921bb69..0bfe9b0 100644
> --- a/tools/perf/builtin-probe.c
> +++ b/tools/perf/builtin-probe.c
> @@ -317,7 +317,7 @@ __cmd_probe(int argc, const char **argv, const char *prefix __maybe_unused)
> OPT_INCR('v', "verbose", &verbose,
> "be more verbose (show parsed arguments, etc)"),
> OPT_BOOLEAN('q', "quiet", &params.quiet,
> - "be quiet (do not show any mesages)"),
> + "be quiet (do not show any messages)"),
> OPT_BOOLEAN('l', "list", &params.list_events,
> "list up current probe events"),
> OPT_CALLBACK('d', "del", NULL, "[GROUP:]EVENT", "delete a probe event.",
> diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c
> index b5247d7..d32cf93 100644
> --- a/tools/perf/util/probe-finder.c
> +++ b/tools/perf/util/probe-finder.c
> @@ -456,7 +456,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
> return -EINVAL;
> }
> if (field->name[0] == '[') {
> - pr_err("Semantic error: %s is not a pointor"
> + pr_err("Semantic error: %s is not a pointer"
> " nor array.\n", varname);
> return -EINVAL;
> }
> --
> 2.3.0.149.gf3f4077
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/



--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/