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


Groups > linux.debian.user > #174203 > unrolled thread

ioctl does not respect I2C_RDWR_IOCTL_MAX_MSGS (42)

Started byWill Hoover <willjhoover@gmail.com>
First post2016-11-05 19:50 +0100
Last post2016-11-05 19:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user


Contents

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

#174203 — ioctl does not respect I2C_RDWR_IOCTL_MAX_MSGS (42)

FromWill Hoover <willjhoover@gmail.com>
Date2016-11-05 19:50 +0100
Subjectioctl does not respect I2C_RDWR_IOCTL_MAX_MSGS (42)
Message-ID<sAecq-33b-5@gated-at.bofh.it>

[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?

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web