linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: wfx: remove space at the start of a line
@ 2022-04-02 11:48 Alaa Mohamed
  2022-04-03 11:02 ` Greg KH
  2022-04-03 11:07 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: Alaa Mohamed @ 2022-04-02 11:48 UTC (permalink / raw)
  To: outreachy
  Cc: gregkh, jerome.pouiller, linux-staging, linux-kernel,
	eng.alaamohamedsoliman.am

Fix " WARNING: please, no spaces at the start of a line"
Reported by checkpatch

Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
---
 drivers/staging/wfx/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
index b93b16b900c8..e575a81ca2ca 100644
--- a/drivers/staging/wfx/main.c
+++ b/drivers/staging/wfx/main.c
@@ -170,7 +170,7 @@ bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor)
  *
  * The PDS file is an array of Time-Length-Value structs.
  */
- int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
+int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
 {
 	int ret, chunk_type, chunk_len, chunk_num = 0;
 
-- 
2.35.1


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

* Re: [PATCH] staging: wfx: remove space at the start of a line
  2022-04-02 11:48 [PATCH] staging: wfx: remove space at the start of a line Alaa Mohamed
@ 2022-04-03 11:02 ` Greg KH
  2022-04-03 11:07 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2022-04-03 11:02 UTC (permalink / raw)
  To: Alaa Mohamed; +Cc: outreachy, jerome.pouiller, linux-staging, linux-kernel

On Sat, Apr 02, 2022 at 01:48:31PM +0200, Alaa Mohamed wrote:
> Fix " WARNING: please, no spaces at the start of a line"
> Reported by checkpatch
> 
> Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
> ---
>  drivers/staging/wfx/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
> index b93b16b900c8..e575a81ca2ca 100644
> --- a/drivers/staging/wfx/main.c
> +++ b/drivers/staging/wfx/main.c
> @@ -170,7 +170,7 @@ bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor)
>   *
>   * The PDS file is an array of Time-Length-Value structs.
>   */
> - int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
> +int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
>  {
>  	int ret, chunk_type, chunk_len, chunk_num = 0;
>  
> -- 
> 2.35.1
> 
> 

Does not apply to my tree :(

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

* Re: [PATCH] staging: wfx: remove space at the start of a line
  2022-04-02 11:48 [PATCH] staging: wfx: remove space at the start of a line Alaa Mohamed
  2022-04-03 11:02 ` Greg KH
@ 2022-04-03 11:07 ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2022-04-03 11:07 UTC (permalink / raw)
  To: Alaa Mohamed; +Cc: outreachy, jerome.pouiller, linux-staging, linux-kernel

On Sat, Apr 02, 2022 at 01:48:31PM +0200, Alaa Mohamed wrote:
> Fix " WARNING: please, no spaces at the start of a line"
> Reported by checkpatch
> 
> Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
> ---
>  drivers/staging/wfx/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
> index b93b16b900c8..e575a81ca2ca 100644
> --- a/drivers/staging/wfx/main.c
> +++ b/drivers/staging/wfx/main.c
> @@ -170,7 +170,7 @@ bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor)
>   *
>   * The PDS file is an array of Time-Length-Value structs.
>   */
> - int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
> +int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len)
>  {
>  	int ret, chunk_type, chunk_len, chunk_num = 0;
>  
> -- 
> 2.35.1
> 
> 

Someone else already did this change, sorry.

greg k-h

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

end of thread, other threads:[~2022-04-03 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-02 11:48 [PATCH] staging: wfx: remove space at the start of a line Alaa Mohamed
2022-04-03 11:02 ` Greg KH
2022-04-03 11:07 ` Greg KH

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).