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
425d94d0
Commit
425d94d0
authored
Nov 11, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix sparse warnings in io_ti.c
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
39cd5d1a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/usb/serial/io_ti.c
drivers/usb/serial/io_ti.c
+3
-3
drivers/usb/serial/io_usbvend.h
drivers/usb/serial/io_usbvend.h
+1
-1
No files found.
drivers/usb/serial/io_ti.c
View file @
425d94d0
...
...
@@ -377,7 +377,7 @@ static int TIReadDownloadMemory(struct usb_device *dev, int start_address,
status
=
TIReadVendorRequestSync
(
dev
,
UMPC_MEMORY_READ
,
// Request
(
__u16
)
address_type
,
// wValue (Address type)
be_start_address
,
// wIndex (Address to read)
(
__force
__u16
)
be_start_address
,
// wIndex (Address to read)
buffer
,
// TransferBuffer
read_length
);
// TransferBufferLength
...
...
@@ -491,7 +491,7 @@ static int TIWriteDownloadI2C (struct edgeport_serial *serial, int start_address
status
=
TISendVendorRequestSync
(
serial
->
serial
->
dev
,
UMPC_MEMORY_WRITE
,
// Request
(
__u16
)
address_type
,
// wValue
be_start_address
,
// wIndex
(
__force
__u16
)
be_start_address
,
// wIndex
buffer
,
// TransferBuffer
write_length
);
if
(
status
)
{
...
...
@@ -518,7 +518,7 @@ static int TIWriteDownloadI2C (struct edgeport_serial *serial, int start_address
status
=
TISendVendorRequestSync
(
serial
->
serial
->
dev
,
UMPC_MEMORY_WRITE
,
// Request
(
__u16
)
address_type
,
// wValue
be_start_address
,
// wIndex
(
__force
__u16
)
be_start_address
,
// wIndex
buffer
,
// TransferBuffer
write_length
);
// TransferBufferLength
if
(
status
)
{
...
...
drivers/usb/serial/io_usbvend.h
View file @
425d94d0
...
...
@@ -619,7 +619,7 @@ struct watchport_firmware_version
// Structure of header of download image in fw_down.h
struct
ti_i2c_image_header
{
__
u
16
Length
;
__
le
16
Length
;
__u8
CheckSum
;
}
__attribute__
((
packed
));
...
...
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