imq / linuximq

Pseudo-driver for the intermediate queue device.

Home Page:https://imq.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing MODULE_LICENSE

wongsyrone opened this issue · comments

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/imq.o

Which file or patch?

I think it should be drivers/net/imq.c in https://github.com/imq/linuximq/blob/master/latest/linux-3.18-imq.diff. can you check all patches related to drivers/net/imq.c?

There is one line "MODULE_LICENSE("GPL");" in linux-3.18-imq.diff.

but it is in file net/netfilter/xt_IMQ.c

Ok. I get it. Thanks.

I have fixed it.

@gfreewind sorry to bother you, but I want to ask why there's no MODULE_ALIAS_RTNL_LINK("imq") in linux-3.18-imq.diff.

Thanks your finding.
I think it is lost by chance. I have fixed it now.

@gfreewind the line you added has two plus sign(++) at the front of line.

thanks again :(
It is the my fault. I am busy today, so that I have not tested it.