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

2007-08-15 Thread Robin Getz
On Mon 13 Aug 2007 22:05, Mike Frysinger pondered:
> 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
> 
> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
> ---
> diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
> index 0dcc01c..7f1a830 100755
> --- a/scripts/checksyscalls.sh
> +++ b/scripts/checksyscalls.sh
> @@ -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
> -

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

-Robin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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

2007-08-13 Thread Mike Frysinger
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

Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
---
diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
index 0dcc01c..7f1a830 100755
--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/