test_firmware: add support for request_firmware_into_buf
authorScott Branden <scott.branden@broadcom.com>
Thu, 22 Aug 2019 18:40:04 +0000 (11:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 11:31:28 +0000 (13:31 +0200)
commit7feebfa487b929b3e085f4f11ae7ac9e2e92e848
tree64735746c4249c148d93eb9bd47a0fd2d4ac7aaf
parent4b708b7b1a2c09fbdfff6b942ebe3a160213aacd
test_firmware: add support for request_firmware_into_buf

Add test config into_buf to allow request_firmware_into_buf to be
called instead of request_firmware/request_firmware_direct.  The number
of parameters differ calling request_firmware_into_buf and support
has not been added to test such api in test_firmware until now.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190822184005.901-2-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/test_firmware.c