[PATCH 71/8]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



orig:	total: 4 errors, 0 warnings, 379 lines checked
patched:total: 2 errors, 0 warnings, 380 lines checked
leftover:

ERROR: Use of SPIN_LOCK_UNLOCKED is deprecated: see
Documentation/spinlocks.txt
#37: FILE: plugin_set.c:37:
+       [0 ... 7] = SPIN_LOCK_UNLOCKED

ERROR: Macros with complex values should be enclosed in parenthesis
#293: FILE: plugin_set.c:293:
+       reiser4_plugin_type PREFIX##_member_to_type_unsafe(pset_member
memb)   \



Signed-off-by: Dushan Tcholich <dusanc@xxxxxxxxx>
--- plugin_set.c.orig	2007-10-26 15:27:20.000000000 +0200
+++ plugin_set.c	2007-10-26 15:30:48.000000000 +0200
@@ -92,7 +92,7 @@ static inline int pseq(const unsigned lo
 
 #define HASH_FIELD(hash, set, field)		\
 ({						\
-        (hash) += (unsigned long)(set)->field >> 2;	\
+	(hash) += (unsigned long)(set)->field >> 2;	\
 })
 
 static inline unsigned long calculate_hash(const plugin_set * set)
@@ -324,7 +324,8 @@ reiser4_plugin *PREFIX##_get(plugin_set 
 
 DEFINE_PSET_OPS(aset);
 
-int set_plugin(plugin_set ** set, pset_member memb, reiser4_plugin * plugin) {
+int set_plugin(plugin_set ** set, pset_member memb, reiser4_plugin * plugin)
+{
 	return plugin_set_field(set,
 		(unsigned long)plugin, pset_descr[memb].offset);
 }

[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux