Re: [PATCH v2] drm: Fix a infinite loop condition when order becomes 0

2022-03-20 Thread Arunpravin Paneer Selvam
On 16/03/22 6:02 pm, Christian König wrote: > Am 16.03.22 um 12:31 schrieb Matthew Auld: >> On 16/03/2022 06:34, Arunpravin Paneer Selvam wrote: >>> handle a situation in the condition order-- == min_order, >>> when order = 0 and min_order = 0, leading to order = -1, >>> it now won't exit the lo

Re: [PATCH v2] drm: Fix a infinite loop condition when order becomes 0

2022-03-20 Thread Arunpravin Paneer Selvam
On 16/03/22 5:01 pm, Matthew Auld wrote: > On 16/03/2022 06:34, Arunpravin Paneer Selvam wrote: >> handle a situation in the condition order-- == min_order, >> when order = 0 and min_order = 0, leading to order = -1, >> it now won't exit the loop. To avoid this problem, >> added a order check in

Re: [PATCH v2] drm: Fix a infinite loop condition when order becomes 0

2022-03-16 Thread Christian König
Am 16.03.22 um 12:31 schrieb Matthew Auld: On 16/03/2022 06:34, Arunpravin Paneer Selvam wrote: handle a situation in the condition order-- == min_order, when order = 0 and min_order = 0, leading to order = -1, it now won't exit the loop. To avoid this problem, added a order check in the same co

Re: [PATCH v2] drm: Fix a infinite loop condition when order becomes 0

2022-03-16 Thread Matthew Auld
On 16/03/2022 06:34, Arunpravin Paneer Selvam wrote: handle a situation in the condition order-- == min_order, when order = 0 and min_order = 0, leading to order = -1, it now won't exit the loop. To avoid this problem, added a order check in the same condition, (i.e) when order is 0, we return -E

Re: [PATCH v2] drm: Fix a infinite loop condition when order becomes 0

2022-03-16 Thread Christian König
Am 16.03.22 um 07:34 schrieb Arunpravin Paneer Selvam: handle a situation in the condition order-- == min_order, when order = 0 and min_order = 0, leading to order = -1, it now won't exit the loop. To avoid this problem, added a order check in the same condition, (i.e) when order is 0, we return

[PATCH v2] drm: Fix a infinite loop condition when order becomes 0

2022-03-15 Thread Arunpravin Paneer Selvam
handle a situation in the condition order-- == min_order, when order = 0 and min_order = 0, leading to order = -1, it now won't exit the loop. To avoid this problem, added a order check in the same condition, (i.e) when order is 0, we return -ENOSPC v2: use full name in email program and in Signed