summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_malisw.h
diff options
context:
space:
mode:
Diffstat (limited to 'mali_kbase/mali_malisw.h')
-rw-r--r--mali_kbase/mali_malisw.h22
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_ */