You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in_kmsg: use strtoull to fix timestamp parsing on 32-bit systems
On 32-bit systems, kmsg stops producing logs after sometime. This
is because of ERANGE error. The ERANGE error occurs when processing
timestamp, because although val is of type uint64_t, strtol cannot
process the value because of long being only 4 bytes, which is not
sufficient to hold the timestamp values. It would be better to use
strtoull instead, to make sure we have 8 bytes to store the value
on all systems.
Signed-off-by: Mohd Husaam Mehdi <[email protected]>
0 commit comments