diff mbox

[OPW,kernel] staging:sep: Add space after return type of function

Message ID 20140308105929.GA18110@himangi-Inspiron-N5110gmail.com
State New, archived
Headers show

Commit Message

HIMANGI SARAOGI March 8, 2014, 10:59 a.m. UTC
This patch fixes the checkpatch.pl warning:
WARNING: missing space after return type.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
---
 drivers/staging/sep/sep_crypto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Greg Kroah-Hartman March 9, 2014, 4:27 a.m. UTC | #1
On Sat, Mar 08, 2014 at 04:29:29PM +0530, Himangi Saraogi wrote:
> This patch fixes the checkpatch.pl warning:
> WARNING: missing space after return type.
> 
> Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
> ---
>  drivers/staging/sep/sep_crypto.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/sep/sep_crypto.c b/drivers/staging/sep/sep_crypto.c
> index 7fc2675..965485f 100644
> --- a/drivers/staging/sep/sep_crypto.c
> +++ b/drivers/staging/sep/sep_crypto.c
> @@ -112,7 +112,7 @@ static void sep_do_callback(struct work_struct *work)
>   *	on what operation is to be done
>   */
>  static int sep_submit_work(struct workqueue_struct *work_queue,
> -	void(*funct)(void *),
> +	void (*funct)(void *),
>  	void *data)
>  {
>  	struct sep_work_struct *sep_work;

This patch doesn't apply to my current tree :(
diff mbox

Patch

diff --git a/drivers/staging/sep/sep_crypto.c b/drivers/staging/sep/sep_crypto.c
index 7fc2675..965485f 100644
--- a/drivers/staging/sep/sep_crypto.c
+++ b/drivers/staging/sep/sep_crypto.c
@@ -112,7 +112,7 @@  static void sep_do_callback(struct work_struct *work)
  *	on what operation is to be done
  */
 static int sep_submit_work(struct workqueue_struct *work_queue,
-	void(*funct)(void *),
+	void (*funct)(void *),
 	void *data)
 {
 	struct sep_work_struct *sep_work;