Re: [PATCH] platform/x86: Add new msi-ec driver

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

 



Hi Nikita,

On 3/1/23 21:17, Nikita Kravets wrote:
> Hi Hans,
> 
> We already have changes addressing Barnabás' remarks merged
> into the original repo, including the pr_fmt macro, so I only
> need to apply them to the kernel.
> 
>> I ran checkpatch on the patch and it found several issues
> 
> Thanks, I'll address them. Some of them are already fixed
> in the original repo.
> 
>> Also it seems that atm the module must always be loaded
>> manually ?
> 
>> I think this should get a dmi_system_id tables with known
>> MSI DMI_SYS_VENDOR() matches in there + a
>> MODULE_DEVICE_TABLE() pointing to the dmi_system_id table
>> to have the driver auto-load on MSI systems.
> 
> It loads automatically for me. Though would be better
> to only auto-load it on MSI systems.

I don't see any module-aliases in the submitted msi-ec.c,
so AFAICT it should not auto load.

Thus, that it is autoloaded for you is weird. Did you
maybe add it to a config file in /etc/modules-load.d/ ?

What is the output of "modinfo msi-ec" on your system ?

Regards,

Hans





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux