Add Delta::to_jiffies_timeout()
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 7 repliesApplied
- v32 patches 4 repliesSuperseded
- v12 patches 5 repliesSuperseded
Changes in v4 from the cover letter
- Use i64::max() and u64::min() instead of the method call syntax (Gary)
- Add Reviewed-by from Gary
v3: https://lore.kernel.org/rust-for-linux/[email protected]/
- Add the first patch to set bindings::HZ to CONFIG_HZ.
- Drop the CONFIG_HZ workaround.
v2: https://lore.kernel.org/rust-for-linux/[email protected]/
- Use mul_u64_add_u64_div_u64() instead of __msecs_to_jiffies().
- Dropped the as_millis_ceil() example and KUnit test patch; the conversion no longer uses as_millis_ceil(). Will send it separately.
v1: https://lore.kernel.org/rust-for-linux/[email protected]/
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust: bindings: set HZ to CONFIG_HZrust/ | +5 | 0 replies | |
| 2/2 | rust: time: add Delta::to_jiffies_timeout() for timeout conversionrust/ rust/ rust/ +1 more | +124 | 6 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Gary Guo |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] Add Delta::to_jiffies_timeout()
From: FUJITA Tomonori <[email protected]>
The first patch makes bindings::HZ resolve to CONFIG_HZ.
The second patch was previously posted as patch 4 of [1]; patches 1-3 of that series have been applied. It has been reworked.
[1] https://lore.kernel.org/rust-for-linux/[email protected]/
---
v4:
- Use i64::max() and u64::min() instead of the method call syntax (Gary)
- Add Reviewed-by from Gary
v3: https://lore.kernel.org/rust-for-linux/[email protected]/
- Add the first patch to set bindings::HZ to CONFIG_HZ.
- Drop the CONFIG_HZ workaround.
v2: https://lore.kernel.org/rust-for-linux/[email protected]/
- Use mul_u64_add_u64_div_u64() instead of __msecs_to_jiffies().
- Dropped the as_millis_ceil() example and KUnit test patch; the conversion no longer uses as_millis_ceil(). Will send it separately.
v1: https://lore.kernel.org/rust-for-linux/[email protected]/
FUJITA Tomonori (2):
rust: bindings: set HZ to CONFIG_HZ
rust: time: add Delta::to_jiffies_timeout() for timeout conversion
rust/bindings/lib.rs | 5 ++ rust/helpers/helpers.c | 1 + rust/helpers/math.c | 8 +++ rust/kernel/Kconfig.test | 10 ++++ rust/kernel/time.rs | 105 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 129 insertions(+) create mode 100644 rust/helpers/math.c
base-commit: 93f51579e7df248780214094418f205253383cc5
Signature · 1 line
2.43.0