summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-07-29 17:14:16 +0200
committerJiri Kosina <jkosina@suse.cz>2014-08-25 10:28:05 +0200
commit56c47754631b98624e844305709d6a296bde20d1 (patch)
treefe555a648df69f9f26b3a12bb2a8d2ad045512e3 /drivers/vfio/vfio.c
parentHID: uhid: simplify report-cb shutdown (diff)
downloadlinux-56c47754631b98624e844305709d6a296bde20d1.tar.xz
linux-56c47754631b98624e844305709d6a296bde20d1.zip
HID: uhid: forward create_req to create2_req
Instead of hard-coding the uhid_dev_create() function twice, copy any create_req into a create2_req structure and forward it. We allocate uhid_create_req on the stack here, but that should be fine. Unlike uhid_create2_req it is fairly small (<1KB) and it's only used temporarily to swap entries. uhid_dev_create2() doesn't access it. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/vfio/vfio.c')
0 files changed, 0 insertions, 0 deletions