static int test_init(){ lont r ; printk(KERN_ALERT "test init\n"); if(1==addOrSub) r = add_integer(a,b); else r = sub_integer(a,b); printk(KERN_ALERT "the result is %ld\n",result); return 0; }
static void hello_exit(void) { int res = sub_integer(2,1); printk(KERN_WARNING "Goodbye, cruel world!,res=%d\n",res); }