Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
84f0b1ef
Commit
84f0b1ef
authored
Mar 11, 2006
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] kzalloc conversion for gx-suspmod
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
388d6c51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
+1
-2
No files found.
arch/i386/kernel/cpu/cpufreq/gx-suspmod.c
View file @
84f0b1ef
...
@@ -459,10 +459,9 @@ static int __init cpufreq_gx_init(void)
...
@@ -459,10 +459,9 @@ static int __init cpufreq_gx_init(void)
dprintk
(
"geode suspend modulation available.
\n
"
);
dprintk
(
"geode suspend modulation available.
\n
"
);
params
=
k
m
alloc
(
sizeof
(
struct
gxfreq_params
),
GFP_KERNEL
);
params
=
k
z
alloc
(
sizeof
(
struct
gxfreq_params
),
GFP_KERNEL
);
if
(
params
==
NULL
)
if
(
params
==
NULL
)
return
-
ENOMEM
;
return
-
ENOMEM
;
memset
(
params
,
0
,
sizeof
(
struct
gxfreq_params
));
params
->
cs55x0
=
gx_pci
;
params
->
cs55x0
=
gx_pci
;
gx_params
=
params
;
gx_params
=
params
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment