diff options
author | Li zeming <zeming@nfschina.com> | 2023-11-13 02:15:43 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-27 12:01:14 +0100 |
commit | 82d30723d58fccbd2d7d707fab7649b541fafa1b (patch) | |
tree | 27fde3249e4b58031a2e7fc897dabbc8ad566b8b /drivers/misc | |
parent | powerpc/rtas: Remove 'extern' from function declarations in rtas.h (diff) | |
download | linux-82d30723d58fccbd2d7d707fab7649b541fafa1b.tar.xz linux-82d30723d58fccbd2d7d707fab7649b541fafa1b.zip |
misc: ocxl: context: Remove unnecessary (void*) conversions
The ctx pointer does not need to cast the type.
Signed-off-by: Li zeming <zeming@nfschina.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231113011543.6940-1-zeming@nfschina.com
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/ocxl/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ocxl/context.c b/drivers/misc/ocxl/context.c index 7f83116ae11a..cded7d1caf32 100644 --- a/drivers/misc/ocxl/context.c +++ b/drivers/misc/ocxl/context.c @@ -55,7 +55,7 @@ EXPORT_SYMBOL_GPL(ocxl_context_alloc); */ static void xsl_fault_error(void *data, u64 addr, u64 dsisr) { - struct ocxl_context *ctx = (struct ocxl_context *) data; + struct ocxl_context *ctx = data; mutex_lock(&ctx->xsl_error_lock); ctx->xsl_error.addr = addr; |