* [PATCH] resource: Remove unneeded semicolon
@ 2021-01-18 1:50 Chengyang Fan
2021-01-19 14:32 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Chengyang Fan @ 2021-01-18 1:50 UTC (permalink / raw)
To: rafael.j.wysocki; +Cc: guohanjun, linux-kernel
Remove a superfluous semicolon after function definition.
Signed-off-by: Chengyang Fan <cy.fan@huawei.com>
---
include/linux/ioport.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/ioport.h b/include/linux/ioport.h
index fe48b7840665..803c10f6a6df 100644
--- a/include/linux/ioport.h
+++ b/include/linux/ioport.h
@@ -337,7 +337,7 @@ static inline void irqresource_disabled(struct resource *res, u32 irq)
#ifdef CONFIG_IO_STRICT_DEVMEM
void revoke_devmem(struct resource *res);
#else
-static inline void revoke_devmem(struct resource *res) { };
+static inline void revoke_devmem(struct resource *res) { }
#endif
#endif /* __ASSEMBLY__ */
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] resource: Remove unneeded semicolon
2021-01-18 1:50 [PATCH] resource: Remove unneeded semicolon Chengyang Fan
@ 2021-01-19 14:32 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2021-01-19 14:32 UTC (permalink / raw)
To: Chengyang Fan; +Cc: guohanjun, linux-kernel, Greg Kroah-Hartman
On 1/18/2021 2:50 AM, Chengyang Fan wrote:
> Remove a superfluous semicolon after function definition.
>
> Signed-off-by: Chengyang Fan <cy.fan@huawei.com>
> ---
> include/linux/ioport.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/ioport.h b/include/linux/ioport.h
> index fe48b7840665..803c10f6a6df 100644
> --- a/include/linux/ioport.h
> +++ b/include/linux/ioport.h
> @@ -337,7 +337,7 @@ static inline void irqresource_disabled(struct resource *res, u32 irq)
> #ifdef CONFIG_IO_STRICT_DEVMEM
> void revoke_devmem(struct resource *res);
> #else
> -static inline void revoke_devmem(struct resource *res) { };
> +static inline void revoke_devmem(struct resource *res) { }
> #endif
>
> #endif /* __ASSEMBLY__ */
The patch is fine AFAICS, so
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
but I'm not sure why it has been sent to me.
It would be better to send it to Greg instead.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-19 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-18 1:50 [PATCH] resource: Remove unneeded semicolon Chengyang Fan
2021-01-19 14:32 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.