I have a compiled version of a linux module, and then I have about 20+ variations of its source. Through various foolish mistakes, I've lost track of which version of the source was the actual one I used to make the module.
I noticed that modinfo <module name>
gives srcversion: <hash>
, and I found some explanation somewhere that says its the "Sum of the source that produced the module". Sounds perfect!
What do I do to my module sources to produce this hash?