On Sun, Mar 29 2015, Mike Snitzer wrote:
> On Tue, Dec 9, 2014 at 4:03 PM, Rasmus Villemoes
> wrote:
>> Return the mathematically correct answer when an argument is 0.
>>
>> Signed-off-by: Rasmus Villemoes
>
> This change is the source of 3.19 regression for stacking device
> limits, via commit
On Tue, Dec 9, 2014 at 4:03 PM, Rasmus Villemoes
wrote:
> Return the mathematically correct answer when an argument is 0.
>
> Signed-off-by: Rasmus Villemoes
> ---
> lib/lcm.c | 6 ++
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/lib/lcm.c b/lib/lcm.c
> index 01b3aa922dd
Return the mathematically correct answer when an argument is 0.
Signed-off-by: Rasmus Villemoes
---
lib/lcm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/lcm.c b/lib/lcm.c
index 01b3aa922dda..51cc6b13cd52 100644
--- a/lib/lcm.c
+++ b/lib/lcm.c
@@ -8,9 +8,7 @@ un
Return the mathematically correct answer when an argument is 0.
Signed-off-by: Rasmus Villemoes
---
I don't think there is any instance of lcm(0,n) in the kernel, but at
least this reduces code size a little.
lib/lcm.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/li
4 matches
Mail list logo