aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-05-27 17:14:12 -0700
committerStephen Boyd <sboyd@kernel.org>2024-05-29 12:31:02 -0700
commit2607133196c35f31892ee199ce7ffa717bea4ad1 (patch)
treee46908457680778f95d4f0c580166a51e87ec4a5 /lib
parentLinux 6.10-rc1 (diff)
downloadlinux-2607133196c35f31892ee199ce7ffa717bea4ad1.tar.gz
linux-2607133196c35f31892ee199ce7ffa717bea4ad1.zip
clk: sifive: Do not register clkdevs for PRCI clocks
These clkdevs were unnecessary, because systems using this driver always look up clocks using the devicetree. And as Russell King points out[1], since the provided device name was truncated, lookups via clkdev would never match. Recently, commit 8d532528ff6a ("clkdev: report over-sized strings when creating clkdev entries") caused clkdev registration to fail due to the truncation, and this now prevents the driver from probing. Fix the driver by removing the clkdev registration. Link: https://lore.kernel.org/linux-clk/ZkfYqj+OcAxd9O2t@shell.armlinux.org.uk/ [1] Fixes: 30b8e27e3b58 ("clk: sifive: add a driver for the SiFive FU540 PRCI IP block") Fixes: 8d532528ff6a ("clkdev: report over-sized strings when creating clkdev entries") Reported-by: Guenter Roeck <linux@roeck-us.net> Closes: https://lore.kernel.org/linux-clk/7eda7621-0dde-4153-89e4-172e4c095d01@roeck-us.net/ Suggested-by: Russell King <linux@armlinux.org.uk> Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Link: https://lore.kernel.org/r/20240528001432.1200403-1-samuel.holland@sifive.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
.2&id=fde2b4b9bce53445c84155fddeb65e3777f6938f&follow=1'>send-email: drop FakeTerm hackJeff King1-20/+2 2024-04-19Git 2.44.1v2.44.1Johannes Schindelin3-2/+10 2024-04-19Git 2.43.4v2.43.4Johannes Schindelin3-2/+9 2024-04-19Git 2.42.2v2.42.2Johannes Schindelin3-2/+9 2024-04-19Git 2.41.1v2.41.1Johannes Schindelin3-2/+9 2024-04-19Git 2.40.2v2.40.2Johannes Schindelin3-2/+9 2024-04-19Git 2.39.4v2.39.4Johannes Schindelin3-2/+81 2024-04-19fsck: warn about symlink pointing inside a gitdirJohannes Schindelin4-0/+117 2024-04-19core.hooksPath: add some protection while cloningJohannes Schindelin2-1/+27 2024-04-19init.templateDir: consider this config setting protectedJohannes Schindelin2-7/+61 2024-04-19clone: prevent hooks from running during a cloneJohannes Schindelin3-1/+94 2024-04-19Add a helper function to compare file contentsJohannes Schindelin4-0/+123 2024-04-17init: refactor the template directory discovery into its own functionJohannes Schindelin3-18/+37 2024-04-17find_hook(): refactor the `STRIP_EXTENSION` logicJohannes Schindelin1-7/+11 2024-04-17clone: when symbolic links collide with directories, keep the latterJohannes Schindelin3-2/+31 2024-04-17entry: report more colliding pathsJohannes Schindelin3-1/+20 2024-04-17t5510: verify that D/F confusion cannot lead to an RCEJohannes Schindelin1-0/+24 2024-04-17submodule: require the submodule path to contain directories onlyJohannes Schindelin4-5/+113 2024-04-17clone_submodule: avoid using `access()` on directoriesJohannes Schindelin1-1/+1 2024-04-17submodules: submodule paths must not contain symlinksJohannes Schindelin2-0/+83 2024-04-17clone: prevent clashing git dirs when cloning submodule in parallelFilip Hejsek3-2/+66