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
b7811da2
Commit
b7811da2
authored
Jan 15, 2008
by
Stefan Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewire: fw-sbp2: prepare for s/g chaining
Signed-off-by:
Stefan Richter
<
stefanr@s5r6.in-berlin.de
>
parent
285838eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-sbp2.c
+3
-3
No files found.
drivers/firewire/fw-sbp2.c
View file @
b7811da2
...
@@ -1107,9 +1107,9 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device,
...
@@ -1107,9 +1107,9 @@ sbp2_map_scatterlist(struct sbp2_command_orb *orb, struct fw_device *device,
* elements larger than 65535 bytes, some IOMMUs may merge sg elements
* elements larger than 65535 bytes, some IOMMUs may merge sg elements
* during DMA mapping, and Linux currently doesn't prevent this.
* during DMA mapping, and Linux currently doesn't prevent this.
*/
*/
for
(
i
=
0
,
j
=
0
;
i
<
count
;
i
++
)
{
for
(
i
=
0
,
j
=
0
;
i
<
count
;
i
++
,
sg
=
sg_next
(
sg
)
)
{
sg_len
=
sg_dma_len
(
sg
+
i
);
sg_len
=
sg_dma_len
(
sg
);
sg_addr
=
sg_dma_address
(
sg
+
i
);
sg_addr
=
sg_dma_address
(
sg
);
while
(
sg_len
)
{
while
(
sg_len
)
{
/* FIXME: This won't get us out of the pinch. */
/* FIXME: This won't get us out of the pinch. */
if
(
unlikely
(
j
>=
ARRAY_SIZE
(
orb
->
page_table
)))
{
if
(
unlikely
(
j
>=
ARRAY_SIZE
(
orb
->
page_table
)))
{
...
...
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