Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Himanshu Jha
On Sun, Aug 12, 2018 at 12:28:37PM +0530, Sumit Kumar wrote: > Remove null ptr check before kfree because kfree is null ptr safe. > Issue found by checkpatch. > > Signed-off-by: Sumit Kumar Hmm. Victim of copy-paste I guess. No worries. Next time just use: $ git commit -s To understand what

Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Himanshu Jha
On Sun, Aug 12, 2018 at 12:28:37PM +0530, Sumit Kumar wrote: > Remove null ptr check before kfree because kfree is null ptr safe. > Issue found by checkpatch. > > Signed-off-by: Sumit Kumar Hmm. Victim of copy-paste I guess. No worries. Next time just use: $ git commit -s To understand what

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Greg Kroah-Hartman
On Sun, Aug 12, 2018 at 03:17:53AM +0530, Sumit Kumar wrote: > Remove null ptr check before kfree because kfree is null ptr safe. > Issue found by checkpatch. > > Signed-off-by: Sumit Kumar Do not use fake email addresses in a signed-off-by line :(

Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Greg Kroah-Hartman
On Sun, Aug 12, 2018 at 03:11:22AM +0530, Sumit Kumar wrote: > Adding a mailing list in cc as per recommendation from greg's patch bot. > + linux-kernel@vger.kernel.org > > $ scripts/get_maintainer.pl -f > /tmp/0001-staging-gasket-remove-null-ptr-check-before-kfree.patch > fatal:

Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Greg Kroah-Hartman
On Sun, Aug 12, 2018 at 03:17:53AM +0530, Sumit Kumar wrote: > Remove null ptr check before kfree because kfree is null ptr safe. > Issue found by checkpatch. > > Signed-off-by: Sumit Kumar Do not use fake email addresses in a signed-off-by line :(

Re: [PATCH] staging: gasket: remove null ptr check before kfree

2018-08-12 Thread Greg Kroah-Hartman
On Sun, Aug 12, 2018 at 03:11:22AM +0530, Sumit Kumar wrote: > Adding a mailing list in cc as per recommendation from greg's patch bot. > + linux-kernel@vger.kernel.org > > $ scripts/get_maintainer.pl -f > /tmp/0001-staging-gasket-remove-null-ptr-check-before-kfree.patch > fatal:

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-11 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c

[PATCH] staging: gasket: remove null ptr check before kfree

2018-08-11 Thread Sumit Kumar
Remove null ptr check before kfree because kfree is null ptr safe. Issue found by checkpatch. Signed-off-by: Sumit Kumar --- drivers/staging/gasket/gasket_page_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_page_table.c