diff options
author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-29 10:12:53 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-30 11:10:02 -0700 |
commit | 74ce94ac38a6eac2ffc235739294f24964fd0a86 (patch) | |
tree | 68200c0a8b730d6df334eadf1f77b7d24648fd0d /lib | |
parent | fbdaffe41adca26cb9566e92060b97cd6dd87b60 (diff) |
sfc: Convert to use ERR_CAST()
As opposed to open-code, using the ERR_CAST macro clearly indicates that
this is a pointer to an error value and a type conversion was performed.
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Martin Habets <habetsm.xilinx@gmail.com>
Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://patch.msgid.link/20240829021253.3066-1-shenlichuan@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions