Fix " WARNING: please, no spaces at the start of a line"
Reported by checkpatch
Signed-off-by: Alaa Mohamed <[email protected]>
---
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
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 <[email protected]>
> ---
> 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 :(
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 <[email protected]>
> ---
> 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