Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matisse
android_kernel_samsung_matisse
Commits
e689597f
Commit
e689597f
authored
16 years ago
by
Dominik Brodowski
Browse files
Options
Download
Email Patches
Plain Diff
pcmcia: add braces in error path
Signed-off-by:
Dominik Brodowski
<
linux@dominikbrodowski.net
>
parent
25096986
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/pcmcia/cistpl.c
drivers/pcmcia/cistpl.c
+2
-1
No files found.
drivers/pcmcia/cistpl.c
View file @
e689597f
...
...
@@ -351,10 +351,11 @@ int verify_cis_cache(struct pcmcia_socket *s)
char
*
buf
;
buf
=
kmalloc
(
256
,
GFP_KERNEL
);
if
(
buf
==
NULL
)
if
(
buf
==
NULL
)
{
dev_printk
(
KERN_WARNING
,
&
s
->
dev
,
"no memory for verifying CIS
\n
"
);
return
-
ENOMEM
;
}
list_for_each_entry
(
cis
,
&
s
->
cis_cache
,
node
)
{
int
len
=
cis
->
len
;
...
...
This diff is collapsed.
Click to expand it.
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