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
This commit is contained in:
parent
646477fc47
commit
82d30723d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user