[PATCH] staging: wfx: remove space at the start of the line

Jaehee Park posted 1 patch 4 years, 2 months ago
drivers/staging/wfx/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] staging: wfx: remove space at the start of the line
Posted by Jaehee Park 4 years, 2 months ago
Remove spaces at the start of the line to follow the linux kernel
coding style. Issue found by checkpatch:
WARNING: please, no spaces at the start of a line.

Signed-off-by: Jaehee Park <jhpark1013@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.25.1
Re: [PATCH] staging: wfx: remove space at the start of the line
Posted by Jérôme Pouiller 4 years, 2 months ago
On Wednesday 30 March 2022 00:25:34 CEST Jaehee Park wrote:
> Remove spaces at the start of the line to follow the linux kernel
> coding style. Issue found by checkpatch:
> WARNING: please, no spaces at the start of a line.
> 
> Signed-off-by: Jaehee Park <jhpark1013@gmail.com>

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.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.25.1
> 
> 


-- 
Jérôme Pouiller