public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
* How to Convert Legacy Kernel Modules for modern Kernels
@ 2022-01-20 10:10 Tianrui Wei
  2022-01-21  7:51 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Tianrui Wei @ 2022-01-20 10:10 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 591 bytes --]

Hi,

I was wondering if there're any tools/scripts in Linux that'd help me to convert legacy kernel modules for using on a modern Linux (Kernel > 5.0) system?

If there're not out of box solutions, is there a way I could view the API changes in every subsystem clearly? For example, this particular commit[^1] shows the second return argument is being removed from ki_complete, and it took a lot of fishing down the lkml to do. Perhaps there is a simpler way?

Best Regards,
Tianrui

[1]: https://github.com/tianrui-wei/dma_ip_drivers/commit/bc9207f9756d69a438ce03bfa6b97b6e0a5c5b3e

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 866 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-21  9:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-20 10:10 How to Convert Legacy Kernel Modules for modern Kernels Tianrui Wei
2022-01-21  7:51 ` Greg KH
2022-01-21  8:21   ` Tianrui Wei
2022-01-21  8:53     ` Greg KH
2022-01-21  9:32       ` Tianrui Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox