Re: request_module with params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 21 Aug 2017 8:21 am, "Cihangir Akturk" <cakturk@xxxxxxxxx> wrote:
On Sun, Aug 20, 2017 at 09:24:09AM +0100, Okash Khawaja wrote:
> Hi,
>
> Is there a way to load a kernel module from another module and pass
> parameters to it? Something like
>
> request_module("mymod param1=val1");

I think this is exactly what you are looking for:

This works fine when no parameters are supplied. But if I call it like this: 

request_module("mymod param1=val1");

It doesn't work.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux