aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/firmware_loader/firmware.h
diff options
context:
space:
mode:
authorRuss Weight <[email protected]>2022-04-21 14:21:57 -0700
committerGreg Kroah-Hartman <[email protected]>2022-04-22 17:13:54 +0200
commit4ac4a90d7728b161f0ce0527feb19d60af961dfb (patch)
tree38a8bb620434346d89d06afa43e4b059a0872c25 /drivers/base/firmware_loader/firmware.h
parent42cd402b8fd4672b692400fe5f9eecd55d2794ac (diff)
firmware_loader: Clear data and size in fw_free_paged_buf
The fw_free_paged_buf() function resets the paged buffer information in the fw_priv data structure. Additionally, clear the data and size members of fw_priv in order to facilitate the reuse of fw_priv. This is being done in preparation for enabling userspace to initiate multiple firmware uploads using this sysfs interface. Reviewed-by: Luis Chamberlain <[email protected]> Reviewed-by: Tianfei zhang <[email protected]> Tested-by: Matthew Gerlach <[email protected]> Signed-off-by: Russ Weight <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/firmware.h')
0 files changed, 0 insertions, 0 deletions