Re: [PATCH v2] vt: Use bsearch library function in is_double_width

2017-08-31 Thread Thomas Meyer
On Thu, Aug 31, 2017 at 05:02:53PM +0200, Greg KH wrote: > On Thu, Aug 31, 2017 at 04:21:15PM +0200, Thomas Meyer wrote: > > Use bsearch library function instead of duplicated functionality. > > One question: Having above changelog text and a nearly similar subject line is fine for you? > > v2:

Re: [PATCH v2] vt: Use bsearch library function in is_double_width

2017-08-31 Thread Thomas Meyer
On Thu, Aug 31, 2017 at 05:02:53PM +0200, Greg KH wrote: > On Thu, Aug 31, 2017 at 04:21:15PM +0200, Thomas Meyer wrote: > > Use bsearch library function instead of duplicated functionality. > > One question: Having above changelog text and a nearly similar subject line is fine for you? > > v2:

Re: [PATCH v2] vt: Use bsearch library function in is_double_width

2017-08-31 Thread Greg KH
On Thu, Aug 31, 2017 at 04:21:15PM +0200, Thomas Meyer wrote: > Use bsearch library function instead of duplicated functionality. > > v2: Re-introduce early exit from old binary search. That's not the difference from the previous patch... And that info goes below the --- line, as the

Re: [PATCH v2] vt: Use bsearch library function in is_double_width

2017-08-31 Thread Greg KH
On Thu, Aug 31, 2017 at 04:21:15PM +0200, Thomas Meyer wrote: > Use bsearch library function instead of duplicated functionality. > > v2: Re-introduce early exit from old binary search. That's not the difference from the previous patch... And that info goes below the --- line, as the

[PATCH v2] vt: Use bsearch library function in is_double_width

2017-08-31 Thread Thomas Meyer
Use bsearch library function instead of duplicated functionality. v2: Re-introduce early exit from old binary search. Signed-off-by: Thomas Meyer --- drivers/tty/vt/vt.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git

[PATCH v2] vt: Use bsearch library function in is_double_width

2017-08-31 Thread Thomas Meyer
Use bsearch library function instead of duplicated functionality. v2: Re-introduce early exit from old binary search. Signed-off-by: Thomas Meyer --- drivers/tty/vt/vt.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/tty/vt/vt.c