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
Kirill Smelkov
linux
Commits
95a02b3c
Commit
95a02b3c
authored
Jun 21, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jun 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: raw1394 annotation
parent
d9de55ab
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
55 deletions
+48
-55
drivers/ieee1394/raw1394-private.h
drivers/ieee1394/raw1394-private.h
+2
-2
drivers/ieee1394/raw1394.c
drivers/ieee1394/raw1394.c
+41
-48
drivers/ieee1394/raw1394.h
drivers/ieee1394/raw1394.h
+5
-5
No files found.
drivers/ieee1394/raw1394-private.h
View file @
95a02b3c
...
@@ -35,11 +35,11 @@ struct file_info {
...
@@ -35,11 +35,11 @@ struct file_info {
struct
list_head
addr_list
;
struct
list_head
addr_list
;
u8
*
fcp_buffer
;
u8
__user
*
fcp_buffer
;
/* old ISO API */
/* old ISO API */
u64
listen_channels
;
u64
listen_channels
;
quadlet_t
*
iso_buffer
;
quadlet_t
__user
*
iso_buffer
;
size_t
iso_buffer_length
;
size_t
iso_buffer_length
;
u8
notification
;
/* (busreset-notification) RAW1394_NOTIFY_OFF/ON */
u8
notification
;
/* (busreset-notification) RAW1394_NOTIFY_OFF/ON */
...
...
drivers/ieee1394/raw1394.c
View file @
95a02b3c
This diff is collapsed.
Click to expand it.
drivers/ieee1394/raw1394.h
View file @
95a02b3c
...
@@ -105,18 +105,18 @@ typedef struct arm_request {
...
@@ -105,18 +105,18 @@ typedef struct arm_request {
__u8
extended_transaction_code
;
__u8
extended_transaction_code
;
__u32
generation
;
__u32
generation
;
__u16
buffer_length
;
__u16
buffer_length
;
__u8
*
buffer
;
__u8
__user
*
buffer
;
}
*
arm_request_t
;
}
*
arm_request_t
;
typedef
struct
arm_response
{
typedef
struct
arm_response
{
__s32
response_code
;
__s32
response_code
;
__u16
buffer_length
;
__u16
buffer_length
;
__u8
*
buffer
;
__u8
__user
*
buffer
;
}
*
arm_response_t
;
}
*
arm_response_t
;
typedef
struct
arm_request_response
{
typedef
struct
arm_request_response
{
struct
arm_request
*
request
;
struct
arm_request
__user
*
request
;
struct
arm_response
*
response
;
struct
arm_response
__user
*
response
;
}
*
arm_request_response_t
;
}
*
arm_request_response_t
;
/* rawiso API */
/* rawiso API */
...
@@ -136,7 +136,7 @@ struct raw1394_iso_packet_info {
...
@@ -136,7 +136,7 @@ struct raw1394_iso_packet_info {
/* argument for RAW1394_ISO_RECV/XMIT_PACKETS ioctls */
/* argument for RAW1394_ISO_RECV/XMIT_PACKETS ioctls */
struct
raw1394_iso_packets
{
struct
raw1394_iso_packets
{
__u32
n_packets
;
__u32
n_packets
;
struct
raw1394_iso_packet_info
*
infos
;
struct
raw1394_iso_packet_info
__user
*
infos
;
};
};
struct
raw1394_iso_config
{
struct
raw1394_iso_config
{
...
...
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