* [PATCH] cpufreq: powernow-k6: replace symbolic permissions with octal
@ 2026-06-12 23:16 Jack Lee
0 siblings, 0 replies; only message in thread
From: Jack Lee @ 2026-06-12 23:16 UTC (permalink / raw)
To: rafael, viresh.kumar; +Cc: linux-pm, linux-kernel, Jack Lee
Symbolic permissions S_IRUGO are deprecated in favor of octal
permissions. Replace S_IRUGO with 0444.
Signed-off-by: Jack Lee <skunkolee@gmail.com>
---
drivers/cpufreq/powernow-k6.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/cpufreq/powernow-k6.c b/drivers/cpufreq/powernow-k6.c
index 99d2244e03b0..764907b04c04 100644
--- a/drivers/cpufreq/powernow-k6.c
+++ b/drivers/cpufreq/powernow-k6.c
@@ -29,10 +29,10 @@ static unsigned int max_multiplier;
static unsigned int param_busfreq = 0;
static unsigned int param_max_multiplier = 0;
-module_param_named(max_multiplier, param_max_multiplier, uint, S_IRUGO);
+module_param_named(max_multiplier, param_max_multiplier, uint, 0444);
MODULE_PARM_DESC(max_multiplier, "Maximum multiplier (allowed values: 20 30 35 40 45 50 55 60)");
-module_param_named(bus_frequency, param_busfreq, uint, S_IRUGO);
+module_param_named(bus_frequency, param_busfreq, uint, 0444);
MODULE_PARM_DESC(bus_frequency, "Bus frequency in kHz");
/* Clock ratio multiplied by 10 - see table 27 in AMD#23446 */
--
2.54.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-12 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12 23:16 [PATCH] cpufreq: powernow-k6: replace symbolic permissions with octal Jack Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox