+2
−2
Loading
ethtool_cmis_cdb_compose_args() accepts msleep_pre_rpl as u16 but stores it into the u8 field ethtool_cmis_cdb_cmd_args::msleep_pre_rpl, silently truncating values >= 256. Seven of the nine call sites pass 1000 ms (it's the third argument from the end). Fixes: a39c84d7 ("ethtool: cmis_cdb: Add a layer for supporting CDB commands") Reviewed-by:Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by:
Danielle Ratson <danieller@nvidia.com> Link: https://patch.msgid.link/20260522231312.1710836-8-kuba@kernel.org Signed-off-by:
Jakub Kicinski <kuba@kernel.org>