public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: usb: Remove unnecessary whitespace in function pointer declaration
@ 2023-09-30 20:41 Jonathan Bergh
  2023-10-01  6:12 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Bergh @ 2023-09-30 20:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, linux-kernel, Jonathan Bergh

Fixed a formatting issue flagged by checkpatch where unnecessary
whitespace was included before the parameter list in the function
pointer declaration.

Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
---
 drivers/usb/c67x00/c67x00.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/c67x00/c67x00.h b/drivers/usb/c67x00/c67x00.h
index a4456d0fffa9..3673357818b4 100644
--- a/drivers/usb/c67x00/c67x00.h
+++ b/drivers/usb/c67x00/c67x00.h
@@ -193,7 +193,7 @@ struct c67x00_sie {
 	/* Entries to be used by the subdrivers */
 	spinlock_t lock;	/* protect this structure */
 	void *private_data;
-	void (*irq) (struct c67x00_sie *sie, u16 int_status, u16 msg);
+	void (*irq)(struct c67x00_sie *sie, u16 int_status, u16 msg);
 
 	/* Read only: */
 	struct c67x00_device *dev;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drivers: usb: Remove unnecessary whitespace in function pointer declaration
  2023-09-30 20:41 [PATCH] drivers: usb: Remove unnecessary whitespace in function pointer declaration Jonathan Bergh
@ 2023-10-01  6:12 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-10-01  6:12 UTC (permalink / raw)
  To: Jonathan Bergh; +Cc: linux-usb, linux-kernel

On Sat, Sep 30, 2023 at 10:41:36PM +0200, Jonathan Bergh wrote:
> Fixed a formatting issue flagged by checkpatch where unnecessary
> whitespace was included before the parameter list in the function
> pointer declaration.
> 
> Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
> ---
>  drivers/usb/c67x00/c67x00.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/c67x00/c67x00.h b/drivers/usb/c67x00/c67x00.h
> index a4456d0fffa9..3673357818b4 100644
> --- a/drivers/usb/c67x00/c67x00.h
> +++ b/drivers/usb/c67x00/c67x00.h
> @@ -193,7 +193,7 @@ struct c67x00_sie {
>  	/* Entries to be used by the subdrivers */
>  	spinlock_t lock;	/* protect this structure */
>  	void *private_data;
> -	void (*irq) (struct c67x00_sie *sie, u16 int_status, u16 msg);
> +	void (*irq)(struct c67x00_sie *sie, u16 int_status, u16 msg);

Same comment as on the other patches, subject line is incorrect, and why
do this?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-01  6:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-30 20:41 [PATCH] drivers: usb: Remove unnecessary whitespace in function pointer declaration Jonathan Bergh
2023-10-01  6:12 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox