Files
erofs-linux/drivers/fwctl
Thorsten Blum 479bec4cb3 pds_fwctl: Replace kzalloc + copy_from_user with memdup_user in pdsfc_fw_rpc
Replace kzalloc() followed by copy_from_user() with memdup_user() to
improve and simplify pdsfc_fw_rpc().

Return early if an error occurs and remove the obsolete 'err_out' label.

No functional changes intended.

Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Thorsten Blum <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Tested-by: Brett Creeley <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
2025-09-22 10:33:10 -03:00
..
2025-03-21 20:57:55 -03:00
2025-03-21 20:57:55 -03:00