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
328494ef
Commit
328494ef
authored
May 02, 2002
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
f4f8a039
7eb07124
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/usb/input/hid-core.c
drivers/usb/input/hid-core.c
+4
-4
No files found.
drivers/usb/input/hid-core.c
View file @
328494ef
...
...
@@ -1396,12 +1396,12 @@ static struct hid_device *usb_hid_configure(struct usb_device *dev, int ifnum)
if
(
usb_string
(
dev
,
dev
->
descriptor
.
iManufacturer
,
buf
,
64
)
>
0
)
{
strcat
(
hid
->
name
,
buf
);
if
(
usb_string
(
dev
,
dev
->
descriptor
.
iProduct
,
buf
,
64
)
>
0
)
s
printf
(
hid
->
name
,
"%s %s"
,
hid
->
name
,
buf
);
s
nprintf
(
hid
->
name
,
64
,
"%s %s"
,
hid
->
name
,
buf
);
}
else
s
printf
(
hid
->
name
,
"%04x:%04x"
,
dev
->
descriptor
.
idVendor
,
dev
->
descriptor
.
idProduct
);
s
nprintf
(
hid
->
name
,
64
,
"%04x:%04x"
,
dev
->
descriptor
.
idVendor
,
dev
->
descriptor
.
idProduct
);
usb_make_path
(
dev
,
buf
,
6
3
);
s
printf
(
hid
->
phys
,
"%s/input%d"
,
buf
,
ifnum
);
usb_make_path
(
dev
,
buf
,
6
4
);
s
nprintf
(
hid
->
phys
,
64
,
"%s/input%d"
,
buf
,
ifnum
);
if
(
usb_string
(
dev
,
dev
->
descriptor
.
iSerialNumber
,
hid
->
uniq
,
64
)
<=
0
)
hid
->
uniq
[
0
]
=
0
;
...
...
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