Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: i2c: Remove obsolete example

Documentation/i2c/fault-codes illustrates EINVAL error code
as follows:

"One example would be a driver trying an SMBus Block Write
with block size outside the range of 1-32 bytes."

However, the actual implementation of i2c subsystem truncates
data length to be 32 bytes.
Hence this example cannot happen anymore, and since it's obsolete,
let's simply remove it from Documentation/i2c/fault-codes.

Signed-off-by: Helia Correia <helia.correia@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

authored by

Helia Correia and committed by
Wolfram Sang
ce5a111a 5915dbf4

-3
-3
Documentation/i2c/fault-codes
··· 64 64 detected before any I/O operation was started. Use a more 65 65 specific fault code when you can. 66 66 67 - One example would be a driver trying an SMBus Block Write 68 - with block size outside the range of 1-32 bytes. 69 - 70 67 EIO 71 68 This rather vague error means something went wrong when 72 69 performing an I/O operation. Use a more specific fault