mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-24 15:52:02 +00:00
14 lines
511 B
Diff
14 lines
511 B
Diff
|
diff --git a/drivers/cpufreq/autohotplug.c b/drivers/cpufreq/autohotplug.c
|
||
|
index 3f7a41a4..d94248c3 100755
|
||
|
--- a/drivers/cpufreq/autohotplug.c
|
||
|
+++ b/drivers/cpufreq/autohotplug.c
|
||
|
@@ -940,7 +940,7 @@ void autohotplug_attr_add(const char *name, unsigned int *value, umode_t mode,
|
||
|
|
||
|
static int autohotplug_attr_init(void)
|
||
|
{
|
||
|
- memset(&autohotplug_data, sizeof(autohotplug_data), 0);
|
||
|
+ memset(&autohotplug_data, 0, sizeof(autohotplug_data));
|
||
|
|
||
|
#ifdef CONFIG_CPU_AUTOHOTPLUG_STATS
|
||
|
autohotplug_attr_stats_init();
|