2023-10-14 12:15:19

by Muhammad Muzammil

[permalink] [raw]
Subject: [PATCH] drivers: net: wwan: iosm: Fixed multiple typos in multiple files

iosm_ipc_chnl_cfg.h: Fixed typo
iosm_ipc_imem_ops.h: Fixed typo
iosm_ipc_mux.h: Fixed typo
iosm_ipc_pm.h: Fixed typo
iosm_ipc_port.h: Fixed typo
iosm_ipc_trace.h: Fixed typo

Signed-off-by: Muhammad Muzammil <[email protected]>
---
drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.h | 2 +-
drivers/net/wwan/iosm/iosm_ipc_imem_ops.h | 4 ++--
drivers/net/wwan/iosm/iosm_ipc_mux.h | 2 +-
drivers/net/wwan/iosm/iosm_ipc_pm.h | 2 +-
drivers/net/wwan/iosm/iosm_ipc_port.h | 2 +-
drivers/net/wwan/iosm/iosm_ipc_trace.h | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.h b/drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.h
index e77084e76718..fdc211bbeda7 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_chnl_cfg.h
@@ -51,7 +51,7 @@ struct ipc_chnl_cfg {
/**
* ipc_chnl_cfg_get - Get pipe configuration.
* @chnl_cfg: Array of ipc_chnl_cfg struct
- * @index: Channel index (upto MAX_CHANNELS)
+ * @index: Channel index (up to MAX_CHANNELS)
*
* Return: 0 on success and failure value on error
*/
diff --git a/drivers/net/wwan/iosm/iosm_ipc_imem_ops.h b/drivers/net/wwan/iosm/iosm_ipc_imem_ops.h
index 026c5bd0f999..6bd0290e8be7 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_imem_ops.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_imem_ops.h
@@ -36,8 +36,8 @@
/**
* ipc_imem_sys_port_open - Open a port link to CP.
* @ipc_imem: Imem instance.
- * @chl_id: Channel Indentifier.
- * @hp_id: HP Indentifier.
+ * @chl_id: Channel Identifier.
+ * @hp_id: HP Identifier.
*
* Return: channel instance on success, NULL for failure
*/
diff --git a/drivers/net/wwan/iosm/iosm_ipc_mux.h b/drivers/net/wwan/iosm/iosm_ipc_mux.h
index 17ca8d1f9397..db5f1f9ebf26 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_mux.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_mux.h
@@ -432,7 +432,7 @@ int ipc_mux_open_session(struct iosm_mux *ipc_mux, int session_nr);
int ipc_mux_close_session(struct iosm_mux *ipc_mux, int session_nr);

/**
- * ipc_mux_get_max_sessions - Retuns the maximum sessions supported on the
+ * ipc_mux_get_max_sessions - Returns the maximum sessions supported on the
* provided MUX instance..
* @ipc_mux: Pointer to MUX data-struct
*
diff --git a/drivers/net/wwan/iosm/iosm_ipc_pm.h b/drivers/net/wwan/iosm/iosm_ipc_pm.h
index e7c00f388cb0..5f14d7932af9 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_pm.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_pm.h
@@ -172,7 +172,7 @@ bool ipc_pm_prepare_host_sleep(struct iosm_pm *ipc_pm);
bool ipc_pm_prepare_host_active(struct iosm_pm *ipc_pm);

/**
- * ipc_pm_wait_for_device_active - Wait upto IPC_PM_ACTIVE_TIMEOUT_MS ms
+ * ipc_pm_wait_for_device_active - Wait up to IPC_PM_ACTIVE_TIMEOUT_MS ms
* for the device to reach active state
* @ipc_pm: Pointer to power management component
*
diff --git a/drivers/net/wwan/iosm/iosm_ipc_port.h b/drivers/net/wwan/iosm/iosm_ipc_port.h
index 11bc8ed21616..d33c52aebf66 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_port.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_port.h
@@ -18,7 +18,7 @@
* @pcie: PCIe component
* @port_type: WWAN port type
* @channel: Channel instance
- * @chl_id: Channel Indentifier
+ * @chl_id: Channel Identifier
*/
struct iosm_cdev {
struct wwan_port *iosm_port;
diff --git a/drivers/net/wwan/iosm/iosm_ipc_trace.h b/drivers/net/wwan/iosm/iosm_ipc_trace.h
index 5ebe7790585c..3e7c7f163e1d 100644
--- a/drivers/net/wwan/iosm/iosm_ipc_trace.h
+++ b/drivers/net/wwan/iosm/iosm_ipc_trace.h
@@ -29,7 +29,7 @@ enum trace_ctrl_mode {
* @ipc_imem: Imem instance
* @dev: Pointer to device struct
* @channel: Channel instance
- * @chl_id: Channel Indentifier
+ * @chl_id: Channel Identifier
* @trc_mutex: Mutex used for read and write mode
* @mode: Mode for enable and disable trace
*/
--
2.27.0


2023-10-17 05:53:38

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] drivers: net: wwan: iosm: Fixed multiple typos in multiple files

On Sat, Oct 14, 2023 at 05:14:07PM +0500, Muhammad Muzammil wrote:
> iosm_ipc_chnl_cfg.h: Fixed typo
> iosm_ipc_imem_ops.h: Fixed typo
> iosm_ipc_mux.h: Fixed typo
> iosm_ipc_pm.h: Fixed typo
> iosm_ipc_port.h: Fixed typo
> iosm_ipc_trace.h: Fixed typo
>
> Signed-off-by: Muhammad Muzammil <[email protected]>

Thanks Muhammad,

Please consider targeting Networking patches to either
'net' for bug fixes or 'net-next' for other patches.

Subject: [PATCH net-next] ...

Looking at the git log the 'drivers: ' part of the prefix should be
dropped.

Subject: [PATCH net-next] net: iosm: ...

And lastly, if you do spin a v2 of this patch, you might
consider also fixing the misspelling of 'defering' in iosm_ipc_imem_ops.h.

The above notwithstanding, these typo corrections look good to me.

Reviewed-by: Simon Horman <[email protected]>

2023-10-19 01:00:47

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] drivers: net: wwan: iosm: Fixed multiple typos in multiple files

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

On Sat, 14 Oct 2023 17:14:07 +0500 you wrote:
> iosm_ipc_chnl_cfg.h: Fixed typo
> iosm_ipc_imem_ops.h: Fixed typo
> iosm_ipc_mux.h: Fixed typo
> iosm_ipc_pm.h: Fixed typo
> iosm_ipc_port.h: Fixed typo
> iosm_ipc_trace.h: Fixed typo
>
> [...]

Here is the summary with links:
- drivers: net: wwan: iosm: Fixed multiple typos in multiple files
https://git.kernel.org/netdev/net-next/c/2c6370a13f0e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html