aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2025-05-22 06:42:35 +0000
committerAndi Shyti <[email protected]>2025-06-25 20:45:48 +0000
commit56ad91c1aa9c18064348edf69308080b03c9dc48 (patch)
tree2fe6982a27fbeed8d1b2fb8b672febe2b42ea6eb /lib/crypto/mpi/mpi-cmp.c
parenti2c: imx: fix emulated smbus block read (diff)
downloadkernel-56ad91c1aa9c18064348edf69308080b03c9dc48.tar.gz
kernel-56ad91c1aa9c18064348edf69308080b03c9dc48.zip
i2c: robotfuzz-osif: disable zero-length read messages
This driver passes the length of an i2c_msg directly to usb_control_msg(). If the message is now a read and of length 0, it violates the USB protocol and a warning will be printed. Enable the I2C_AQ_NO_ZERO_LEN_READ quirk for this adapter thus forbidding 0-length read messages altogether. Fixes: 83e53a8f120f ("i2c: Add bus driver for for OSIF USB i2c device.") Signed-off-by: Wolfram Sang <[email protected]> Cc: <[email protected]> # v3.14+ Signed-off-by: Andi Shyti <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions