[PATCH review for 4.9 42/50] hrtimer: Catch invalid clockids again

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Marc Zyngier [ Upstream commit 336a9cde10d641e70bac67d90ae91b3190c3edca ] commit 82e88ff1ea94 ("hrtimer: Revert CLOCK_MONOTONIC_RAW support") removed unfortunately a sanity check in the hrtimer code which was part of that MONOTONIC_RAW patch series. It would have

[PATCH review for 4.9 42/50] hrtimer: Catch invalid clockids again

2017-09-24 Thread Levin, Alexander (Sasha Levin)
From: Marc Zyngier [ Upstream commit 336a9cde10d641e70bac67d90ae91b3190c3edca ] commit 82e88ff1ea94 ("hrtimer: Revert CLOCK_MONOTONIC_RAW support") removed unfortunately a sanity check in the hrtimer code which was part of that MONOTONIC_RAW patch series. It would have caught the bogus usage