Messages in this thread | | | Subject | Re: [PATCH] LoongArch: KVM: Remove useless MODULE macro for MODULE_DEVICE_TABLE | From | maobibo <> | Date | Tue, 2 Apr 2024 21:06:54 +0800 |
| |
On 2024/4/2 下午8:47, Wentao Guan wrote: > Hello,Bibo, > > I change this that we see other guys use "MODULE_DEVICE_TABLE(cpu,..." > without use that MODULE macro,and mark cpu_feature struct "__maybe_unused", > do the same way to avoid unused variable compiler warning :).
yeap, it looks good to me with __maybe_unused added.
Regards Bibo Mao > > BRs > Wentao Guan >
| |