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
589271d4
Commit
589271d4
authored
Aug 27, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: keyspan_pda driver: fixed __FUNCTION__ usages.
parent
0937f7d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/usb/serial/keyspan_pda.c
drivers/usb/serial/keyspan_pda.c
+5
-5
No files found.
drivers/usb/serial/keyspan_pda.c
View file @
589271d4
...
@@ -679,11 +679,11 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp)
...
@@ -679,11 +679,11 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp)
1
,
1
,
2
*
HZ
);
2
*
HZ
);
if
(
rc
<
0
)
{
if
(
rc
<
0
)
{
dbg
(
__FUNCTION__
" - roomquery failed"
);
dbg
(
"%s - roomquery failed"
,
__FUNCTION__
);
goto
error
;
goto
error
;
}
}
if
(
rc
==
0
)
{
if
(
rc
==
0
)
{
dbg
(
__FUNCTION__
" - roomquery returned 0 bytes"
);
dbg
(
"%s - roomquery returned 0 bytes"
,
__FUNCTION__
);
rc
=
-
EIO
;
rc
=
-
EIO
;
goto
error
;
goto
error
;
}
}
...
@@ -702,7 +702,7 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp)
...
@@ -702,7 +702,7 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp)
port
->
interrupt_in_urb
->
dev
=
serial
->
dev
;
port
->
interrupt_in_urb
->
dev
=
serial
->
dev
;
rc
=
usb_submit_urb
(
port
->
interrupt_in_urb
,
GFP_KERNEL
);
rc
=
usb_submit_urb
(
port
->
interrupt_in_urb
,
GFP_KERNEL
);
if
(
rc
)
{
if
(
rc
)
{
dbg
(
__FUNCTION__
" - usb_submit_urb(read int) failed"
);
dbg
(
"%s - usb_submit_urb(read int) failed"
,
__FUNCTION__
);
goto
error
;
goto
error
;
}
}
...
@@ -746,7 +746,7 @@ static int keyspan_pda_fake_startup (struct usb_serial *serial)
...
@@ -746,7 +746,7 @@ static int keyspan_pda_fake_startup (struct usb_serial *serial)
record
=
&
xircom_pgs_firmware
[
0
];
record
=
&
xircom_pgs_firmware
[
0
];
#endif
#endif
if
(
record
==
NULL
)
{
if
(
record
==
NULL
)
{
err
(
__FUNCTION__
": unknown vendor, aborting."
);
err
(
"%s: unknown vendor, aborting."
,
__FUNCTION__
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
...
@@ -797,7 +797,7 @@ static int keyspan_pda_startup (struct usb_serial *serial)
...
@@ -797,7 +797,7 @@ static int keyspan_pda_startup (struct usb_serial *serial)
static
void
keyspan_pda_shutdown
(
struct
usb_serial
*
serial
)
static
void
keyspan_pda_shutdown
(
struct
usb_serial
*
serial
)
{
{
dbg
(
__FUNCTION__
);
dbg
(
"%s"
,
__FUNCTION__
);
kfree
(
serial
->
port
[
0
].
private
);
kfree
(
serial
->
port
[
0
].
private
);
}
}
...
...
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