There are basically three types of versions which shows up when you issue the show module command:
Hardware version (Hw)
Software version (Sw)
Firmware version (Fw)
HW and FW versions are codes that the manufacturer handles on some chips of different types of cards. These information comes from factory and cannot be changed.
The differences in these versions does not affect any kind of compatilibity, when installed in a same chassis. The only thing you need to make sure is that the software that runs in the Supervisor needs to support the line cards so that they are recognized.