提交 f4e2332c 编写于 作者: P Pete Zaitcev 提交者: Greg Kroah-Hartman

USB: usbmon: touch up the documentation

I think this sentence was confusing regarding the possible size
of the data area.
Signed-off-by: NPete Zaitcev <zaitcev@redhat.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 b07f4d01
...@@ -305,7 +305,7 @@ Before the call, hdr, data, and alloc should be filled. Upon return, the area ...@@ -305,7 +305,7 @@ Before the call, hdr, data, and alloc should be filled. Upon return, the area
pointed by hdr contains the next event structure, and the data buffer contains pointed by hdr contains the next event structure, and the data buffer contains
the data, if any. The event is removed from the kernel buffer. the data, if any. The event is removed from the kernel buffer.
The MON_IOCX_GET copies 48 bytes, MON_IOCX_GETX copies 64 bytes. The MON_IOCX_GET copies 48 bytes to hdr area, MON_IOCX_GETX copies 64 bytes.
MON_IOCX_MFETCH, defined as _IOWR(MON_IOC_MAGIC, 7, struct mon_mfetch_arg) MON_IOCX_MFETCH, defined as _IOWR(MON_IOC_MAGIC, 7, struct mon_mfetch_arg)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册