summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-04-19 10:28:55 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2024-05-02 11:33:12 +0200
commit757a2713761fa90bb8f57cba231a3e7259944463 (patch)
tree2fdb376f07bb77194c900ad079df9c77e14e114c /drivers/target
parent73ef0aecba78aa9ebd309b10b6cd17d94e632892 (diff)
fbdev/deferred-io: Move pageref setup into separate helper
Set up struct fb_deferred_io_pageref in the new helper function fb_deferred_io_pageref_lookup(), which runs when the pageref is first taken. Remove the setup code from the rest of the code. At first, the code allocates the memory of all pageref structs. The setup of the various fields happens when the pageref is required. v2: - fix typo in commit message (Javier) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240419083331.7761-3-tzimmermann@suse.de
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions