linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] drivers/misc/ocxl/context.c : eliminate unnecessary type conversions
       [not found] <20221226025145.4363-1-chuanjian@nfschina.com>
@ 2023-01-04  7:06 ` Andrew Donnellan
  0 siblings, 0 replies; only message in thread
From: Andrew Donnellan @ 2023-01-04  7:06 UTC (permalink / raw)
  To: Dong Chuanjian, fbarrat, arnd, gregkh; +Cc: linuxppc-dev, linux-kernel

On Mon, 2022-12-26 at 10:51 +0800, Dong Chuanjian wrote:
> remove unnecessary void* type casting.
> 
> Signed-off-by: Dong Chuanjian <chuanjian@nfschina.com>


[+linuxppc-dev, which was misspelled in the original email]

Acked-by: Andrew Donnellan <ajd@linux.ibm.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;

-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd@linux.ibm.com   IBM Australia Limited

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-04  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20221226025145.4363-1-chuanjian@nfschina.com>
2023-01-04  7:06 ` [PATCH] drivers/misc/ocxl/context.c : eliminate unnecessary type conversions Andrew Donnellan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).