diff options
author | Jörg Wagner <jorwag@google.com> | 2023-12-14 09:44:26 +0000 |
---|---|---|
committer | Jörg Wagner <jorwag@google.com> | 2023-12-14 09:44:26 +0000 |
commit | 049a542207ed694271316782397b78b2e202086a (patch) | |
tree | 105e9378d4d5062dc72109fdd4a77c915bd9425d /mali_kbase/mali_malisw.h | |
parent | e61eb93296e9f940b32d4ad4b0c3a5557cbeaf17 (diff) | |
download | gpu-049a542207ed694271316782397b78b2e202086a.tar.gz |
Update KMD to r47p0
Provenance: ipdelivery@ad01e50d640910a99224382bb227e6d4de627657
Change-Id: I19ac9bce34a5c5a319c1b4a388e8b037b3dfe6e7
Diffstat (limited to 'mali_kbase/mali_malisw.h')
-rw-r--r-- | mali_kbase/mali_malisw.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mali_kbase/mali_malisw.h b/mali_kbase/mali_malisw.h index d9db189..a44765a 100644 --- a/mali_kbase/mali_malisw.h +++ b/mali_kbase/mali_malisw.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * - * (C) COPYRIGHT 2014-2015, 2018, 2020-2022 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2014-2023 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -36,7 +36,7 @@ * As a macro it may evaluate its arguments more than once. * Refer to MAX macro for more details */ -#define MIN(x, y) ((x) < (y) ? (x) : (y)) +#define MIN(x, y) ((x) < (y) ? (x) : (y)) /** * MAX - Return the greater of two values. @@ -50,7 +50,7 @@ * to retrieve the min and max of two values, consider using a conditional swap * instead. */ -#define MAX(x, y) ((x) < (y) ? (y) : (x)) +#define MAX(x, y) ((x) < (y) ? (y) : (x)) /** * CSTD_UNUSED - Function-like macro for suppressing unused variable warnings. @@ -60,7 +60,7 @@ * Where possible such variables should be removed; this macro is present for * cases where we much support API backwards compatibility. */ -#define CSTD_UNUSED(x) ((void)(x)) +#define CSTD_UNUSED(x) ((void)(x)) /** * CSTD_NOP - Function-like macro for use where "no behavior" is desired. @@ -69,7 +69,7 @@ * This is useful when compile time macros turn a function-like macro in to a * no-op, but where having no statement is otherwise invalid. */ -#define CSTD_NOP(...) ((void)#__VA_ARGS__) +#define CSTD_NOP(...) ((void)#__VA_ARGS__) /** * CSTD_STR1 - Function-like macro for stringizing a single level macro. @@ -81,7 +81,7 @@ * > "MY_MACRO" * @endcode */ -#define CSTD_STR1(x) #x +#define CSTD_STR1(x) #x /** * CSTD_STR2 - Function-like macro for stringizing a macro's value. @@ -95,14 +95,14 @@ * > "32" * @endcode */ -#define CSTD_STR2(x) CSTD_STR1(x) +#define CSTD_STR2(x) CSTD_STR1(x) - #ifndef fallthrough - #define fallthrough __fallthrough - #endif /* fallthrough */ +#ifndef fallthrough +#define fallthrough __fallthrough +#endif /* fallthrough */ #ifndef __fallthrough -#define __fallthrough __attribute__((fallthrough)) +#define __fallthrough __attribute__((fallthrough)) #endif /* __fallthrough */ #endif /* _MALISW_H_ */ |