Skip to contentSkip to conversation

ignoring unimplemented functions that are old and crusty on shiny new ports

PATCH Mike Frysinger 2 participants 2 messages Aug 14, 2007 – Aug 15, 2007

lore
Share & tools
lore
#0 lore raw

would it be possible to get the class of "old and crusty" functions permanently ignored ? i'm thinking of course of "uselib" and "sysfs" ... Blackfin does not implement either of these and i think that's a good thing

---

scripts/checksyscalls.sh +4 -0
index 0dcc01c..7f1a830 100755
@@ -104,6 +104,10 @@ cat << EOF
 #define __IGNORE_sync_file_range
 #endif
 
+/* Old optional stuff no one actually uses */
+#define __IGNORE_sysfs
+#define __IGNORE_uselib
+
 /* Unmerged syscalls for AFS, STREAMS, etc. */
 #define __IGNORE_afs_syscall
 #define __IGNORE_getpmsg
#1 lore raw

On Mon 13 Aug 2007 22:05, Mike Frysinger pondered:

Quoted 14 lines

would it be possible to get the class of "old and crusty" functions permanently ignored ? i'm thinking of course of "uselib" and "sysfs"
...
Blackfin does not implement either of these and i think that's a good thing

---

scripts/checksyscalls.sh +0 -0
index 0dcc01c..7f1a830 100755
@@ -104,6 +104,10 @@ cat << EOF
 #define __IGNORE_sync_file_range

scripts/checksyscalls.sh cat << EOF

Quoted 10 lines
scripts/checksyscalls.sh +4 -1
 #endif
 
+/* Old optional stuff no one actually uses */
+#define __IGNORE_sysfs
+#define __IGNORE_uselib
+
 /* Unmerged syscalls for AFS, STREAMS, etc. */
 #define __IGNORE_afs_syscall
 #define __IGNORE_getpmsg
-

This seems like a good idea to me - as checksyscalls.sh is currently warning about things we didn't implement on purpose.

-Robin