diff options
author | Stefan Raspl <raspl@linux.ibm.com> | 2022-07-25 16:09:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-27 13:24:42 +0100 |
commit | 0a2f4f9893c83bd722bd55a903fb682da2eb24ba (patch) | |
tree | f91395f47b473f3390369f8508f808e3efae247f /include/net | |
parent | eb481b02bd182a96e22070895bf887277b82150f (diff) | |
download | linux-0a2f4f9893c83bd722bd55a903fb682da2eb24ba.tar.gz linux-0a2f4f9893c83bd722bd55a903fb682da2eb24ba.tar.bz2 linux-0a2f4f9893c83bd722bd55a903fb682da2eb24ba.zip |
s390/ism: Cleanups
Reworked signature of the function to retrieve the system EID: No plausible
reason to use a double pointer. And neither to pass in the device as an
argument, as this identifier is by definition per system, not per device.
Plus some minor consistency edits.
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Wenjia Zhang < wenjia@linux.ibm.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/smc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/smc.h b/include/net/smc.h index 37f829d9c6e5..1868a5014dea 100644 --- a/include/net/smc.h +++ b/include/net/smc.h @@ -72,7 +72,7 @@ struct smcd_ops { int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx, bool sf, unsigned int offset, void *data, unsigned int size); - void (*get_system_eid)(struct smcd_dev *dev, u8 **eid); + u8* (*get_system_eid)(void); u16 (*get_chid)(struct smcd_dev *dev); }; |