i2c: Fix grammatical errors in i2c_msg documentation
Subsystems (2)
PATCH v2 1/1 i2c: Fix grammatical errors in i2c_msg documentation
Fix the following grammatical errors in i2c_msg documentation:
1. Makes only sense in → Makes sense only in
2. may have changed those standard protocol behaviors → may alter the standard protocol behavior
Signed-off-by Viswanath <[email protected]>
--- include/uapi/linux/i2c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/linux/i2c.h +2 -2
@@ -24,7 +24,7 @@* %I2C_M_RD: read data (from slave to master). Guaranteed to be 0x0001! * * Optional: -* %I2C_M_DMA_SAFE: the buffer of this message is DMA safe. Makes only sense +* %I2C_M_DMA_SAFE: the buffer of this message is DMA safe. Makes sense only * in kernelspace, because userspace buffers are copied anyway * * Only if I2C_FUNC_10BIT_ADDR is set:
@@ -66,7 +66,7 @@* @i2c_msg transaction segment, beginning with a (repeated) START. * * Alternatively, when the adapter supports %I2C_FUNC_PROTOCOL_MANGLING then -* passing certain @flags may have changed those standard protocol behaviors. +* passing certain @flags may alter the standard protocol behavior. * Those flags are only for use with broken/nonconforming slaves, and with * adapters which are known to support the specific mangling options they need. */
Signature · 1 line
2.49.0
Quoted 24 lines · Viswanath
Fix the following grammatical errors in
i2c_msgdocumentation:
1. Makes only sense in → Makes sense only in
2. may have changed those standard protocol behaviors → may alter the standard protocol behaviorSigned-off-by Viswanath <[email protected]>--- include/uapi/linux/i2c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/uapi/linux/i2c.h +1
-1@@ -24,7 +24,7 @@* %I2C_M_RD: read data (from slave to master). Guaranteed to be 0x0001! * * Optional: -* %I2C_M_DMA_SAFE: the buffer of this message is DMA safe. Makes only sense +* %I2C_M_DMA_SAFE: the buffer of this message is DMA safe. Makes sense only * in kernelspace, because userspace buffers are copied anyway * * Only if I2C_FUNC_10BIT_ADDR is set:
include/uapi/linux/i2c.h line 69
Quoted 5 lines
include/uapi/linux/i2c.h +1
-1@@ -66,7 +66,7 @@* @i2c_msg transaction segment, beginning with a (repeated) START. * * Alternatively, when the adapter supports %I2C_FUNC_PROTOCOL_MANGLING then -* passing certain @flags may have changed those standard protocol behaviors. +* passing certain @flags may alter the standard protocol behavior.
The meaning seems different.
In any case, changes should go to the maintainer, and not only to this list.
julia
Quoted 8 lines
include/uapi/linux/i2c.h +0
-1* Those flags are only for use with broken/nonconforming slaves, and with * adapters which are known to support the specific mangling options they need. */ --2.49.0