Loading
serial: sc16is7xx: refactor FIFO access functions to increase commonality
mainline inclusion from mainline-v6.8-rc1 commit f031d763dcb0b4dbd4bbf1d4324f7ca91761d3b1 category: feature bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAOXYG CVE: CVE-2024-44951 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f031d763dcb0b4dbd4bbf1d4324f7ca91761d3b1 -------------------------------- serial: sc16is7xx: refactor FIFO access functions to increase commonality Simplify FIFO access functions by avoiding to declare a struct sc16is7xx_port *s variable within each function. This is mainly done to have more commonality between the max310x and sc16is7xx drivers. Signed-off-by:Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20231221231823.2327894-15-hugo@hugovil.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Zhao Yipeng <zhaoyipeng5@huawei.com>