Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docsrc: fix procfs example

Add MODULE_LICENSE() to DocBook/procfs_example.c since modpost complained
about a missing license there.

Remove tty procfs removal since the creation was deleted long ago
(http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commitdiff;h=5ad9cb65e9b15e5b83e2dd1c10a4bcaccc4ec644).

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: <J.A.K.Mouw@its.tudelft.nl>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
5d39d944 3794f3e8

+1 -3
+1 -3
Documentation/DocBook/procfs_example.c
··· 189 189 return 0; 190 190 191 191 no_symlink: 192 - remove_proc_entry("tty", example_dir); 193 - no_tty: 194 192 remove_proc_entry("bar", example_dir); 195 193 no_bar: 196 194 remove_proc_entry("foo", example_dir); ··· 204 206 static void __exit cleanup_procfs_example(void) 205 207 { 206 208 remove_proc_entry("jiffies_too", example_dir); 207 - remove_proc_entry("tty", example_dir); 208 209 remove_proc_entry("bar", example_dir); 209 210 remove_proc_entry("foo", example_dir); 210 211 remove_proc_entry("jiffies", example_dir); ··· 219 222 220 223 MODULE_AUTHOR("Erik Mouw"); 221 224 MODULE_DESCRIPTION("procfs examples"); 225 + MODULE_LICENSE("GPL");