[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230421-clk-v3-0-9ff79e7e7fed@outlook.com>
Date: Thu, 27 Apr 2023 03:34:15 +0800
From: Yang Xiwen via B4 Relay
<devnull+forbidden405.outlook.com@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
Yang Xiwen <forbidden405@...look.com>
Subject: [PATCH v3 0/2] clk: fix corner case of
clk_mux_determine_rate_flags()
Signed-off-by: Yang Xiwen <forbidden405@...look.com>
---
Changes in v3:
- Add many unittest functions for mux determine_rate
- Add more checks for ULONG_MAX
- Link to v2: https://lore.kernel.org/r/20230421-clk-v2-0-74c6cc2214d1@outlook.com
Changes in v2:
- Add a unit test to clk_test.c
- Link to v1: https://lore.kernel.org/r/20230421-clk-v1-1-bb503f2f2cf3@outlook.com
---
Yang Xiwen (2):
clk: use ULONG_MAX as the initial value for the iteration in clk_mux_determine_rate_flags()
clk: tests: Add missing test cases for mux determine_rate
drivers/clk/clk.c | 13 ++++-
drivers/clk/clk_test.c | 131 ++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 141 insertions(+), 3 deletions(-)
---
base-commit: 76f598ba7d8e2bfb4855b5298caedd5af0c374a8
change-id: 20230421-clk-64c6b6e21cdb
Best regards,
--
Yang Xiwen <forbidden405@...look.com>
Powered by blists - more mailing lists