Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
0d6132ba
Commit
0d6132ba
authored
Mar 05, 2009
by
Pierre Ossman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdio: handle cis end marker in link field
Signed-off-by:
Pierre Ossman
<
drzeus@drzeus.cx
>
parent
1b331e69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/mmc/core/sdio_cis.c
drivers/mmc/core/sdio_cis.c
+4
-0
No files found.
drivers/mmc/core/sdio_cis.c
View file @
0d6132ba
...
@@ -227,6 +227,10 @@ static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)
...
@@ -227,6 +227,10 @@ static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)
if
(
ret
)
if
(
ret
)
break
;
break
;
/* a size of 0xff also means we're done */
if
(
tpl_link
==
0xff
)
break
;
this
=
kmalloc
(
sizeof
(
*
this
)
+
tpl_link
,
GFP_KERNEL
);
this
=
kmalloc
(
sizeof
(
*
this
)
+
tpl_link
,
GFP_KERNEL
);
if
(
!
this
)
if
(
!
this
)
return
-
ENOMEM
;
return
-
ENOMEM
;
...
...
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