Commit 9230d5dc authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Stanislaw Gruszka
Browse files

accel/ivpu: Use struct_size()



Use struct_size() instead of hand-writing it. It is less verbose, more
robust and more informative.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarMarco Pagani <marpagan@redhat.com>
Signed-off-by: default avatarStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/0ae53be873c27c9a8740c4fe6d8e7cd1b1224994.1685366864.git.christophe.jaillet@wanadoo.fr
parent 1ebc9f03
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment