diff options
| author | 2026-08-11 14:04:57 +0800 | |
|---|---|---|
| committer | 2026-10-15 10:41:20 +0200 | |
| commit | 4707336330a423191fc28ead250b1963d35719c5 (patch) | |
| tree | 223c5578ab9b49fcf16e303706cd29b97687f5fa /scripts/Makefile.thinlto | |
| parent | USB: serial: mxuport: clean up product ID definitions and device table (diff) | |
USB: serial: mxuport: clean up firmware version handling
Add a small helper for parsing firmware versions and use it for the
firmware image. This avoids open-coded firmware image offsets in
probe() and retains the existing image-size validation before reading
the version bytes.
Keep the existing version comparison policy unchanged, but store the
version components explicitly so that the version can be printed
without unpacking a raw integer.
Print the firmware version fields in decimal, as these fields represent
readable version components rather than hexadecimal values.
Signed-off-by: Crescent Hsieh <crescentcy.hsieh@moxa.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
