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
71a8924b
Commit
71a8924b
authored
Mar 20, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: omninet: fix up debugging comments
Signed-off-by:
Greg Kroah-Hartman
<
gregkh@suse.de
>
parent
e9a66c64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
drivers/usb/serial/omninet.c
drivers/usb/serial/omninet.c
+4
-6
No files found.
drivers/usb/serial/omninet.c
View file @
71a8924b
...
@@ -204,7 +204,7 @@ static void omninet_read_bulk_callback (struct urb *urb, struct pt_regs *regs)
...
@@ -204,7 +204,7 @@ static void omninet_read_bulk_callback (struct urb *urb, struct pt_regs *regs)
int
i
;
int
i
;
int
result
;
int
result
;
// dbg("omninet_read_bulk_callback"
);
dbg
(
"%s - port %d"
,
__FUNCTION__
,
port
->
number
);
if
(
urb
->
status
)
{
if
(
urb
->
status
)
{
dbg
(
"%s - nonzero read bulk status received: %d"
,
__FUNCTION__
,
urb
->
status
);
dbg
(
"%s - nonzero read bulk status received: %d"
,
__FUNCTION__
,
urb
->
status
);
...
@@ -250,7 +250,7 @@ static int omninet_write (struct usb_serial_port *port, const unsigned char *buf
...
@@ -250,7 +250,7 @@ static int omninet_write (struct usb_serial_port *port, const unsigned char *buf
int
result
;
int
result
;
// dbg("omninet_write port %d"
, port->number);
dbg
(
"%s - port %d"
,
__FUNCTION__
,
port
->
number
);
if
(
count
==
0
)
{
if
(
count
==
0
)
{
dbg
(
"%s - write request of 0 bytes"
,
__FUNCTION__
);
dbg
(
"%s - write request of 0 bytes"
,
__FUNCTION__
);
...
@@ -302,7 +302,7 @@ static int omninet_write_room (struct usb_serial_port *port)
...
@@ -302,7 +302,7 @@ static int omninet_write_room (struct usb_serial_port *port)
if
(
wport
->
write_urb_busy
)
if
(
wport
->
write_urb_busy
)
room
=
wport
->
bulk_out_size
-
OMNINET_HEADERLEN
;
room
=
wport
->
bulk_out_size
-
OMNINET_HEADERLEN
;
// dbg("omninet_write_room returns %d"
, room);
dbg
(
"%s - returns %d"
,
__FUNCTION__
,
room
);
return
(
room
);
return
(
room
);
}
}
...
@@ -312,7 +312,7 @@ static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs)
...
@@ -312,7 +312,7 @@ static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs)
/* struct omninet_header *header = (struct omninet_header *) urb->transfer_buffer; */
/* struct omninet_header *header = (struct omninet_header *) urb->transfer_buffer; */
struct
usb_serial_port
*
port
=
(
struct
usb_serial_port
*
)
urb
->
context
;
struct
usb_serial_port
*
port
=
(
struct
usb_serial_port
*
)
urb
->
context
;
// dbg("omninet_write_bulk_callback, port %0x\n", port
);
dbg
(
"%s - port %0x
\n
"
,
__FUNCTION__
,
port
->
number
);
port
->
write_urb_busy
=
0
;
port
->
write_urb_busy
=
0
;
if
(
urb
->
status
)
{
if
(
urb
->
status
)
{
...
@@ -321,8 +321,6 @@ static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs)
...
@@ -321,8 +321,6 @@ static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs)
}
}
schedule_work
(
&
port
->
work
);
schedule_work
(
&
port
->
work
);
// dbg("omninet_write_bulk_callback, tty %0x\n", tty);
}
}
...
...
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