drm/panfrost: Remove type name from internal struct again
authorSteven Price <steven.price@arm.com>
Thu, 3 Nov 2022 11:40:36 +0000 (11:40 +0000)
committerSteven Price <steven.price@arm.com>
Mon, 7 Nov 2022 15:35:43 +0000 (15:35 +0000)
Commit 72655fb942c1 ("drm/panfrost: replace endian-specific types with
native ones") accidentally reverted part of the parent commit
7228d9d79248 ("drm/panfrost: Remove type name from internal structs")
leading to the situation that the Panfrost UAPI header still doesn't
compile correctly in C++.

Revert the accidental revert and pass me a brown paper bag.

Reported-by: Alyssa Rosenzweig <alyssa@collabora.com>
Fixes: 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones")
Signed-off-by: Steven Price <steven.price@arm.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221103114036.1581854-1-steven.price@arm.com
include/uapi/drm/panfrost_drm.h

index 6f93c91..9f231d4 100644 (file)
@@ -254,7 +254,7 @@ struct panfrost_dump_object_header {
                        __u64 nbos;
                } reghdr;
 
-               struct pan_bomap_hdr {
+               struct {
                        __u32 valid;
                        __u64 iova;
                        __u32 data[2];