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
0f982aa0
Commit
0f982aa0
authored
Aug 27, 2003
by
Randy Dunlap
Committed by
Greg Kroah-Hartman
Aug 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix printk parameter types
parent
b1525426
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/usb/media/usbvideo.c
drivers/usb/media/usbvideo.c
+2
-2
drivers/usb/serial/visor.c
drivers/usb/serial/visor.c
+2
-2
No files found.
drivers/usb/media/usbvideo.c
View file @
0f982aa0
...
...
@@ -1600,7 +1600,7 @@ static ssize_t usbvideo_v4l_read(struct file *file, char *buf,
return
-
EFAULT
;
if
(
uvd
->
debug
>=
1
)
info
(
"%s: %d. bytes, noblock=%d."
,
__FUNCTION__
,
count
,
noblock
);
info
(
"%s: %
Z
d. bytes, noblock=%d."
,
__FUNCTION__
,
count
,
noblock
);
down
(
&
uvd
->
lock
);
...
...
@@ -1718,7 +1718,7 @@ static ssize_t usbvideo_v4l_read(struct file *file, char *buf,
/* Update last read position */
frame
->
seqRead_Index
+=
count
;
if
(
uvd
->
debug
>=
1
)
{
err
(
"%s: {copy} count used=%d, new seqRead_Index=%ld"
,
err
(
"%s: {copy} count used=%
Z
d, new seqRead_Index=%ld"
,
__FUNCTION__
,
count
,
frame
->
seqRead_Index
);
}
...
...
drivers/usb/serial/visor.c
View file @
0f982aa0
...
...
@@ -649,7 +649,7 @@ static int palm_os_3_probe (struct usb_serial *serial, const struct usb_device_i
transfer_buffer
=
kmalloc
(
sizeof
(
*
connection_info
),
GFP_KERNEL
);
if
(
!
transfer_buffer
)
{
dev_err
(
dev
,
"%s - kmalloc(%d) failed.
\n
"
,
__FUNCTION__
,
dev_err
(
dev
,
"%s - kmalloc(%
Z
d) failed.
\n
"
,
__FUNCTION__
,
sizeof
(
*
connection_info
));
return
-
ENOMEM
;
}
...
...
@@ -735,7 +735,7 @@ static int palm_os_4_probe (struct usb_serial *serial, const struct usb_device_i
transfer_buffer
=
kmalloc
(
sizeof
(
*
connection_info
),
GFP_KERNEL
);
if
(
!
transfer_buffer
)
{
dev_err
(
dev
,
"%s - kmalloc(%d) failed.
\n
"
,
__FUNCTION__
,
dev_err
(
dev
,
"%s - kmalloc(%
Z
d) failed.
\n
"
,
__FUNCTION__
,
sizeof
(
*
connection_info
));
return
-
ENOMEM
;
}
...
...
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