]> git.baikalelectronics.ru Git - kernel.git/commit
misc: pci_endpoint_test: Aggregate params checking for xfer
authorShunsuke Mie <mie@igel.co.jp>
Wed, 7 Sep 2022 02:00:59 +0000 (11:00 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Sep 2022 08:24:09 +0000 (10:24 +0200)
commit61f029a2115052c4b56329aadb1c9d6756a4ba7a
treebb2b8af753be1d55776dd539fca6915d2fe5d884
parent3dc58898141ea7eeddd81b78eab8cb3464042afc
misc: pci_endpoint_test: Aggregate params checking for xfer

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>
drivers/misc/pci_endpoint_test.c