misc: pci_endpoint_test: Aggregate params checking for xfer
stable inclusion from stable-v5.10.148 commit 40a29e58f6394963829bb1a26ff3bc9ef6c3aae5 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0WL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=40a29e58f6394963829bb1a26ff3bc9ef6c3aae5 -------------------------------- commit 3e42deaa upstream. Each transfer test functions have same parameter checking code. This patch unites those to an introduced function. Signed-off-by:Shunsuke Mie <mie@igel.co.jp> Cc: stable <stable@kernel.org> Link: https://lore.kernel.org/r/20220907020100.122588-1-mie@igel.co.jp Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com> Reviewed-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment