モジュールへのパラメータの渡し方 数値の列の受け取り #define __KERNEL__ #define MODULE #include static int hello_a[4] = { 0, 0, 0, 0}; MODULE_PARM(hello_a, "1-4i"); /* 整数の列 */ int init_module() { printk("LKM:[hello_a=%d,%d,%d,%d]¥n", hello_a[0], hello_a[1], hello_a[2], hello_a[3]); return 0; } void cleanup_module() { printk("LKM-test:Bye bye, world ¥n"); }