* [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
@ 2023-11-13 1:22 Li zeming
2023-11-14 12:53 ` Frederic Barrat
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Li zeming @ 2023-11-13 1:22 UTC (permalink / raw)
To: fbarrat, ajd, arnd, gregkh; +Cc: linuxppc-dev, linux-kernel, Li zeming
The irq pointer does not need to cast the type.
Signed-off-by: Li zeming <zeming@nfschina.com>
---
drivers/misc/ocxl/afu_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/ocxl/afu_irq.c b/drivers/misc/ocxl/afu_irq.c
index a06920b7e049a..36f7379b8e2de 100644
--- a/drivers/misc/ocxl/afu_irq.c
+++ b/drivers/misc/ocxl/afu_irq.c
@@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(ocxl_irq_set_handler);
static irqreturn_t afu_irq_handler(int virq, void *data)
{
- struct afu_irq *irq = (struct afu_irq *) data;
+ struct afu_irq *irq = data;
trace_ocxl_afu_irq_receive(virq);
--
2.18.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
2023-11-13 1:22 [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions Li zeming
@ 2023-11-14 12:53 ` Frederic Barrat
2023-11-20 4:06 ` Andrew Donnellan
2023-12-07 12:38 ` Michael Ellerman
2 siblings, 0 replies; 4+ messages in thread
From: Frederic Barrat @ 2023-11-14 12:53 UTC (permalink / raw)
To: Li zeming, ajd, arnd, gregkh; +Cc: linuxppc-dev, linux-kernel
On 13/11/2023 02:22, Li zeming wrote:
> The irq pointer does not need to cast the type.
>
> Signed-off-by: Li zeming <zeming@nfschina.com>
> ---
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Fred
> drivers/misc/ocxl/afu_irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/ocxl/afu_irq.c b/drivers/misc/ocxl/afu_irq.c
> index a06920b7e049a..36f7379b8e2de 100644
> --- a/drivers/misc/ocxl/afu_irq.c
> +++ b/drivers/misc/ocxl/afu_irq.c
> @@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(ocxl_irq_set_handler);
>
> static irqreturn_t afu_irq_handler(int virq, void *data)
> {
> - struct afu_irq *irq = (struct afu_irq *) data;
> + struct afu_irq *irq = data;
>
> trace_ocxl_afu_irq_receive(virq);
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
2023-11-13 1:22 [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions Li zeming
2023-11-14 12:53 ` Frederic Barrat
@ 2023-11-20 4:06 ` Andrew Donnellan
2023-12-07 12:38 ` Michael Ellerman
2 siblings, 0 replies; 4+ messages in thread
From: Andrew Donnellan @ 2023-11-20 4:06 UTC (permalink / raw)
To: Li zeming, fbarrat, arnd, gregkh; +Cc: linuxppc-dev, linux-kernel
On Mon, 2023-11-13 at 09:22 +0800, Li zeming wrote:
> The irq pointer does not need to cast the type.
>
> Signed-off-by: Li zeming <zeming@nfschina.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
> ---
> drivers/misc/ocxl/afu_irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/ocxl/afu_irq.c
> b/drivers/misc/ocxl/afu_irq.c
> index a06920b7e049a..36f7379b8e2de 100644
> --- a/drivers/misc/ocxl/afu_irq.c
> +++ b/drivers/misc/ocxl/afu_irq.c
> @@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(ocxl_irq_set_handler);
>
> static irqreturn_t afu_irq_handler(int virq, void *data)
> {
> - struct afu_irq *irq = (struct afu_irq *) data;
> + struct afu_irq *irq = data;
>
> trace_ocxl_afu_irq_receive(virq);
>
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@linux.ibm.com IBM Australia Limited
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
2023-11-13 1:22 [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions Li zeming
2023-11-14 12:53 ` Frederic Barrat
2023-11-20 4:06 ` Andrew Donnellan
@ 2023-12-07 12:38 ` Michael Ellerman
2 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2023-12-07 12:38 UTC (permalink / raw)
To: fbarrat, ajd, arnd, gregkh, Li zeming; +Cc: linuxppc-dev, linux-kernel
On Mon, 13 Nov 2023 09:22:02 +0800, Li zeming wrote:
> The irq pointer does not need to cast the type.
>
>
Applied to powerpc/next.
[1/1] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
https://git.kernel.org/powerpc/c/84ba5d3675e23e6fa824a2268c5b6a04b52dde4d
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-07 12:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-13 1:22 [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions Li zeming
2023-11-14 12:53 ` Frederic Barrat
2023-11-20 4:06 ` Andrew Donnellan
2023-12-07 12:38 ` Michael Ellerman
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).