Re: [PATCH] scripts: prune-kernel : prune kernels generalized way

2019-10-19 Thread Bhaskar Chowdhury
On 12:01 Sat 19 Oct 2019, J. Bruce Fields wrote: On Sat, Oct 19, 2019 at 06:37:22PM +0530, Bhaskar Chowdhury wrote: This patch will remove old kernel from the system in a selective way. Please don't comment out code, just delete it, git's there to keep the old code. I thought it would be

Re: [PATCH] scripts: prune-kernel : prune kernels generalized way

2019-10-19 Thread J. Bruce Fields
On Sat, Oct 19, 2019 at 06:37:22PM +0530, Bhaskar Chowdhury wrote: > This patch will remove old kernel from the system in a selective way. Please don't comment out code, just delete it, git's there to keep the old code. There's some redundant code that should be inside a loop. A little more

[PATCH] scripts: prune-kernel : prune kernels generalized way

2019-10-19 Thread Bhaskar Chowdhury
This patch will remove old kernel from the system in a selective way. Signed-off-by: Bhaskar Chowdhury --- scripts/prune-kernel | 86 1 file changed, 72 insertions(+), 14 deletions(-) diff --git a/scripts/prune-kernel b/scripts/prune-kernel index

Re: [PATCH] scripts : prune-kernel : prune kernels generalized way

2019-10-17 Thread Bhaskar Chowdhury
On 13:16 Thu 17 Oct 2019, Randy Dunlap wrote: On 10/16/19 11:31 PM, Bhaskar Chowdhury wrote: This patch will remove old kernel from the system in a selective way. Signed-off-by: Bhaskar Chowdhury --- For Randy : ✔ ~/git-linux/linux-kbuild [master|AM/REBASE ↑·8|✔] 11:42 $

Re: [PATCH] scripts : prune-kernel : prune kernels generalized way

2019-10-17 Thread Randy Dunlap
On 10/16/19 11:31 PM, Bhaskar Chowdhury wrote: > This patch will remove old kernel from the system in a selective way. > > Signed-off-by: Bhaskar Chowdhury > --- > For Randy : > ✔ ~/git-linux/linux-kbuild [master|AM/REBASE ↑·8|✔] > 11:42 $ ./scripts/checkpatch.pl -f >

[PATCH] scripts : prune-kernel : prune kernels generalized way

2019-10-17 Thread Bhaskar Chowdhury
This patch will remove old kernel from the system in a selective way. Signed-off-by: Bhaskar Chowdhury --- For Randy : ✔ ~/git-linux/linux-kbuild [master|AM/REBASE ↑·8|✔] 11:42 $ ./scripts/checkpatch.pl -f scripts/0001-Fix-all-the-concern-raised-by-Randy.patch total: 0 errors, 0 warnings, 93

Re: [PATCH] scripts : prune-kernel : prune kernels generalized way

2019-10-17 Thread Bhaskar Chowdhury
On 09:08 Wed 16 Oct 2019, Randy Dunlap wrote: On 10/15/19 11:13 PM, Bhaskar Chowdhury wrote: This patch will remove old kernel from the system in a selective way. Signed-off-by: Bhaskar Chowdhury --- Thanks, a bunch to Randy for the hand holding . :) Hi Bhaskar, First problem is that patch

Re: [PATCH] scripts : prune-kernel : prune kernels generalized way

2019-10-16 Thread Randy Dunlap
On 10/15/19 11:13 PM, Bhaskar Chowdhury wrote: > This patch will remove old kernel from the system in a selective way. > > Signed-off-by: Bhaskar Chowdhury > --- > Thanks, a bunch to Randy for the hand holding . :) Hi Bhaskar, First problem is that patch complains: checking file

[PATCH] scripts : prune-kernel : prune kernels generalized way

2019-10-16 Thread Bhaskar Chowdhury
This patch will remove old kernel from the system in a selective way. Signed-off-by: Bhaskar Chowdhury --- Thanks, a bunch to Randy for the hand holding . :) scripts/prune-kernel | 71 1 file changed, 59 insertions(+), 12 deletions(-) diff --git