/* * This module emits "Hello, world" on printk when loaded. * * It is designed to be used for basic evaluation of the module loading * subsystem (for example when validating module signing/verification). It * lacks any extra dependencies, and will not normally be loaded by the * system unless explicitly requested by name. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/module.h> #include <linux/printk.h> static int __init test_module_init(void) { pr_warn("Hello, world\n"); return 0; } module_init(test_module_init); static void __exit test_module_exit(void) { pr_warn("Goodbye\n"); } module_exit(test_module_exit); MODULE_AUTHOR("Kees Cook <keescook@chromium.org>"); MODULE_LICENSE("GPL"); /net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/netfilter/nf_conntrack_seqadj.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/netfilter/nf_conntrack_seqadj.c'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/netfilter/nf_conntrack_seqadj.c'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/netfilter/nf_conntrack_seqadj.c'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/netfilter/nf_conntrack_seqadj.c'> <select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/netfilter'>netfilter</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/netfilter/nf_conntrack_seqadj.c'>nf_conntrack_seqadj.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/netfilter/nf_conntrack_seqadj.c?showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>