net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_p...
[platform/kernel/linux-rpi.git] / net / smc / smc_cdc.c
index 84c8a43..5d180d2 100644 (file)
@@ -72,7 +72,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;