Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174203

ioctl does not respect I2C_RDWR_IOCTL_MAX_MSGS (42)

From Will Hoover <willjhoover@gmail.com>
Newsgroups linux.debian.user
Subject ioctl does not respect I2C_RDWR_IOCTL_MAX_MSGS (42)
Date 2016-11-05 19:50 +0100
Message-ID <sAecq-33b-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

According to
http://lxr.free-electrons.com/source/include/uapi/linux/i2c-dev.h#L69 the
I2C_RDWR_IOCTL_MAX_MSGS
<http://lxr.free-electrons.com/ident?i=I2C_RDWR_IOCTL_MAX_MSGS> is set to
42 yet calling ioctl with more than 2 messages returns without error, but
only the first 2 messages are processed. Is this a bug in ioctl?

Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

ioctl does not respect I2C_RDWR_IOCTL_MAX_MSGS (42) Will Hoover <willjhoover@gmail.com> - 2016-11-05 19:50 +0100

csiph-web