I would like to pass an array of data to the Linux kernel module.
In the core:
int a[5]; int count; module_param_array(a, int, &count, 0);
But I do not know how to pass values ββfrom the command line. If this is just a variable, I will use:
insmod k1.ko a=10
source share