]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Remove type name from internal structs
authorSteven Price <steven.price@arm.com>
Mon, 17 Oct 2022 10:46:01 +0000 (11:46 +0100)
committerSteven Price <steven.price@arm.com>
Thu, 20 Oct 2022 10:02:01 +0000 (11:02 +0100)
commit99cafce6daa02469ce6e79d10e3fa0f51bfa65d8
treeedd4403afa3b51a219d0c0249ad28c1dc3f68342
parent170426790df326a4b153dbb51eb882ef2e877445
drm/panfrost: Remove type name from internal structs

The two structs internal to struct panfrost_dump_object_header were
named, but sadly that is incompatible with C++, causing an error: "an
anonymous union may only have public non-static data members".

However nothing refers to struct pan_reg_hdr and struct pan_bomap_hdr
and there's no need to export these definitions, so lets drop them. This
fixes the C++ build error with the minimum change in userspace API.

Reported-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Fixes: d9bceec707c5 ("drm/panfrost: Add support for devcoredump")
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017104602.142992-2-steven.price@arm.com
include/uapi/drm/panfrost_drm.h