Re: [patch] ktime: Fix signed / unsigned mismatch in ktime_to_ns
From: Ingo Molnar
Date: Fri Nov 10 2006 - 13:36:23 EST
* Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> The 32 bit implementation of ktime_to_ns returns unsigned value, while the
> 64 bit version correctly returns an signed value. There is no current user
> affected by this, but it has to be fixed, as ktime values can be negative.
>
> Pointed-out-by: Helmut Duregger <Helmut.Duregger@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Ingo Molnar <mingo@xxxxxxx>
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/