]> git.proxmox.com Git - mirror_spl.git/blobdiff - include/sys/mutex.h
Fix cstyle warnings
[mirror_spl.git] / include / sys / mutex.h
index 8cbab7c477ebc590910e4c528fb7893ab12d3700..c7084b3c375db6f9e1dafc6af1e6e60ab50df30b 100644 (file)
@@ -84,13 +84,13 @@ spl_mutex_lockdep_on_maybe(kmutex_t *mp)                    \
                lockdep_on();                                   \
 }
 #else  /* CONFIG_LOCKDEP */
-#define spl_mutex_set_type(mp, type)
-#define spl_mutex_lockdep_off_maybe(mp)
-#define spl_mutex_lockdep_on_maybe(mp)
+#define        spl_mutex_set_type(mp, type)
+#define        spl_mutex_lockdep_off_maybe(mp)
+#define        spl_mutex_lockdep_on_maybe(mp)
 #endif /* CONFIG_LOCKDEP */
 
 /*
- * The following functions must be a #define and not static inline.
+ * The following functions must be a #define   and not static inline.
  * This ensures that the native linux mutex functions (lock/unlock)
  * will be correctly located in the users code which is important
  * for the built in kernel lock analysis tools
@@ -113,6 +113,7 @@ spl_mutex_lockdep_on_maybe(kmutex_t *mp)                    \
        VERIFY3P(mutex_owner(mp), ==, NULL);                    \
 }
 
+/* BEGIN CSTYLED */
 #define        mutex_tryenter(mp)                                      \
 ({                                                             \
        int _rc_;                                               \
@@ -124,6 +125,7 @@ spl_mutex_lockdep_on_maybe(kmutex_t *mp)                    \
                                                                \
        _rc_;                                                   \
 })
+/* END CSTYLED */
 
 #ifdef CONFIG_DEBUG_LOCK_ALLOC
 #define        mutex_enter_nested(mp, subclass)                        \