[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221226025145.4363-1-chuanjian@nfschina.com>
Date: Mon, 26 Dec 2022 10:51:45 +0800
From: Dong Chuanjian <chuanjian@...china.com>
To: fbarrat@...ux.ibm.com, ajd@...ux.ibm.com, arnd@...db.de,
gregkh@...uxfoundation.org
Cc: inuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Dong Chuanjian <chuanjian@...china.com>
Subject: [PATCH] drivers/misc/ocxl/context.c : eliminate unnecessary type conversions
remove unnecessary void* type casting.
Signed-off-by: Dong Chuanjian <chuanjian@...china.com>
diff --git a/drivers/misc/ocxl/context.c b/drivers/misc/ocxl/context.c
index 9eb0d93b01c6..d6e081812300 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;
--
2.18.2
Powered by blists - more mailing lists