diff options
author | Wen Gu <guwen@linux.alibaba.com> | 2024-04-28 14:07:28 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-30 13:24:48 +0200 |
commit | 784c46f5467c3cd516e518de211e26611da5c0fb (patch) | |
tree | c742e6d8fe17d48e38d5251c8b349c36d73e509b /drivers/s390/net | |
parent | e5c5f3596de224422561d48eba6ece5210d967b3 (diff) | |
download | linux-784c46f5467c3cd516e518de211e26611da5c0fb.tar.gz linux-784c46f5467c3cd516e518de211e26611da5c0fb.tar.bz2 linux-784c46f5467c3cd516e518de211e26611da5c0fb.zip |
net/smc: decouple ism_client from SMC-D DMB registration
The struct 'ism_client' is specialized for s390 platform firmware ISM.
So replace it with 'void' to make SMCD DMB registration helper generic
for both Emulated-ISM and existing ISM.
Signed-off-by: Wen Gu <guwen@linux.alibaba.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-and-tested-by: Jan Karcher <jaka@linux.ibm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/ism_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/ism_drv.c b/drivers/s390/net/ism_drv.c index 43778b088ffa..e36e3ea165d3 100644 --- a/drivers/s390/net/ism_drv.c +++ b/drivers/s390/net/ism_drv.c @@ -745,7 +745,7 @@ static int smcd_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, } static int smcd_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, - struct ism_client *client) + void *client) { return ism_register_dmb(smcd->priv, (struct ism_dmb *)dmb, client); } |