diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-01-23 15:28:09 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-24 18:53:31 +0000 |
commit | d126515a16d268ec5aae5daf116df53cdc47fb88 (patch) | |
tree | 2a4c685badfc18859ce0d70cffe598bd4f20a614 /src/panfrost/pandecode/decode.c | |
parent | 4a553212fa171ddaf849d4abb2d67208390cd769 (diff) |
panfrost: Don't use implicit mali_exception_status enum
Fixes ../src/panfrost/pandecode/public.h:53:33: warning: ‘enum mali_exception_access’ declared inside parameter list will not be visible outside of this definition or declaration
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3543>
Diffstat (limited to 'src/panfrost/pandecode/decode.c')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 2750f206759..c28b13f2efa 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -480,7 +480,7 @@ pandecode_block_format(enum mali_block_format fmt) #define DEFINE_CASE(name) case MALI_EXCEPTION_ACCESS_## name: return ""#name char * -pandecode_exception_access(enum mali_exception_access access) +pandecode_exception_access(unsigned access) { switch (access) { DEFINE_CASE(NONE); |