diff options
author | Yuesong Li <[email protected]> | 2024-08-29 20:52:35 +0800 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2024-09-03 14:21:37 -0700 |
commit | 1f9651bfc51326fbed10df820c4e80f885f921d8 (patch) | |
tree | e06fc94ba159f9cb41c4fd521c7e1b947e760e57 /drivers/fpga/fpga-bridge.c | |
parent | 431c1646e1f86b949fa3685efc50b660a364c2b6 (diff) |
cxl/port: Convert to use ERR_CAST()
Use ERR_CAST() as it is designed for casting an error pointer to
another type.
This macro utilizes the __force and __must_check modifiers, which instruct
the compiler to verify for errors at the locations where it is employed.
Signed-off-by: Yuesong Li <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions