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
193c0042
Commit
193c0042
authored
Feb 19, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394(r1143): Fix FCP requests, broken by my change for list_for_each_entry().
parent
16eadb50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/ieee1394/raw1394.c
drivers/ieee1394/raw1394.c
+4
-4
No files found.
drivers/ieee1394/raw1394.c
View file @
193c0042
...
@@ -295,7 +295,7 @@ static void iso_receive(struct hpsb_host *host, int channel, quadlet_t *data,
...
@@ -295,7 +295,7 @@ static void iso_receive(struct hpsb_host *host, int channel, quadlet_t *data,
unsigned
long
flags
;
unsigned
long
flags
;
struct
host_info
*
hi
;
struct
host_info
*
hi
;
struct
file_info
*
fi
;
struct
file_info
*
fi
;
struct
pending_request
*
req
;
struct
pending_request
*
req
,
*
req_next
;
struct
iso_block_store
*
ibs
=
NULL
;
struct
iso_block_store
*
ibs
=
NULL
;
LIST_HEAD
(
reqs
);
LIST_HEAD
(
reqs
);
...
@@ -345,7 +345,7 @@ static void iso_receive(struct hpsb_host *host, int channel, quadlet_t *data,
...
@@ -345,7 +345,7 @@ static void iso_receive(struct hpsb_host *host, int channel, quadlet_t *data,
}
}
spin_unlock_irqrestore
(
&
host_info_lock
,
flags
);
spin_unlock_irqrestore
(
&
host_info_lock
,
flags
);
list_for_each_entry
(
req
,
&
reqs
,
list
)
list_for_each_entry
_safe
(
req
,
req_next
,
&
reqs
,
list
)
queue_complete_req
(
req
);
queue_complete_req
(
req
);
}
}
...
@@ -355,7 +355,7 @@ static void fcp_request(struct hpsb_host *host, int nodeid, int direction,
...
@@ -355,7 +355,7 @@ static void fcp_request(struct hpsb_host *host, int nodeid, int direction,
unsigned
long
flags
;
unsigned
long
flags
;
struct
host_info
*
hi
;
struct
host_info
*
hi
;
struct
file_info
*
fi
;
struct
file_info
*
fi
;
struct
pending_request
*
req
;
struct
pending_request
*
req
,
*
req_next
;
struct
iso_block_store
*
ibs
=
NULL
;
struct
iso_block_store
*
ibs
=
NULL
;
LIST_HEAD
(
reqs
);
LIST_HEAD
(
reqs
);
...
@@ -405,7 +405,7 @@ static void fcp_request(struct hpsb_host *host, int nodeid, int direction,
...
@@ -405,7 +405,7 @@ static void fcp_request(struct hpsb_host *host, int nodeid, int direction,
}
}
spin_unlock_irqrestore
(
&
host_info_lock
,
flags
);
spin_unlock_irqrestore
(
&
host_info_lock
,
flags
);
list_for_each_entry
(
req
,
&
reqs
,
list
)
list_for_each_entry
_safe
(
req
,
req_next
,
&
reqs
,
list
)
queue_complete_req
(
req
);
queue_complete_req
(
req
);
}
}
...
...
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