summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vfs.py
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-07-09 12:23:46 +0800
committerAndi Shyti <andi.shyti@linux.intel.com>2025-07-25 23:15:23 +0200
commita9320f3e96adf0398187816b39cfa867340fc40c (patch)
tree69855c534674bce8b623daae32c39a1e12cbda3d /scripts/gdb/linux/vfs.py
parent07e0e8ea6400673fe6eb40d3db2a64f1f2bce4ca (diff)
i2c: st: Use min() to improve code
Use min() to reduce the code and improve its readability. The type of the max parameter in the st_i2c_rd_fill_tx_fifo() was changed from int to u32, because the max parameter passed in is always greater than 0. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20250709042347.550993-1-rongqianfeng@vivo.com
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions