net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_pend_priv *"
PATCH 1/1 net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_pend_priv *"
"struct smc_cdc_tx_pend **" can not directly convert to "struct smc_wr_tx_pend_priv *".
Fixes 2bced6aefa3d ("net/smc: put slot when connection is killed")
Signed-off-by Guangguan Wang <[email protected]>
--- net/smc/smc_cdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/smc/smc_cdc.c +1 -1
@@ -82,7 +82,7 @@ int smc_cdc_get_free_slot(struct smc_connection *conn,/* abnormal termination */ if (!rc)smc_wr_tx_put_slot (link, - (struct smc_wr_tx_pend_priv *)pend); + (struct smc_wr_tx_pend_priv *)(*pend)); rc = -EPIPE ; }return rc;
Signature · 1 line
2.24.3 (Apple Git-128)
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 8 lines · On Sat, 28 May 2022 14:54:57 +0800 you wrote:
"struct
smc_cdc_tx_pend**" can not directly convert to "structsmc_wr_tx_pend_priv*".Fixes 2bced6aefa3d ("net/smc: put slot when connection is killed")Signed-off-by Guangguan Wang <[email protected]>--- net/smc/smc_cdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net] net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_pend_priv *"
https://git.kernel.org/netdev/net/c/e225c9a5a74b
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html