projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56632fc
)
Revert "usb: ftp: fix the bug of ftp ioctrl args problem with 32bit userspace on...
author
Huang, Tao
<huangtao@rock-chips.com>
Tue, 5 May 2015 08:11:36 +0000
(16:11 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Tue, 5 May 2015 09:30:12 +0000
(17:30 +0800)
This reverts commit
c04cdecff9f7283308b286e1bc1dbf0edfe4453b
.
include/uapi/linux/usb/f_mtp.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/usb/f_mtp.h
b/include/uapi/linux/usb/f_mtp.h
index 9a08c643ae20574ff29021b71e08e04b529e142c..503291855abda22a46d4f365259c45accdae11a7 100644
(file)
--- a/
include/uapi/linux/usb/f_mtp.h
+++ b/
include/uapi/linux/usb/f_mtp.h
@@
-38,22
+38,12
@@
struct mtp_file_range {
uint32_t transaction_id;
};
-/* support of 32bit userspace on 64bit platforms */
-#ifdef CONFIG_COMPAT
-struct mtp_event {
- /* size of the event */
- int32_t length;
- /* event data to send */
- compat_uptr_t data;
-};
-#else
struct mtp_event {
/* size of the event */
size_t length;
/* event data to send */
void *data;
};
-#endif
/* Sends the specified file range to the host */
#define MTP_SEND_FILE _IOW('M', 0, struct mtp_file_range)