summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJim Liu <[email protected]>2025-08-07 13:28:32 +0800
committerJerome Forissier <[email protected]>2025-08-18 14:08:57 +0200
commit59ec495f6c645c80d934034ffe48adb2ea75839a (patch)
tree66d7365bfbb2805ab4b51d07b805347e96641142 /scripts/checkpatch.pl
parent2e9155cb9f366a6b9191af0850efad1948b4c785 (diff)
net: designware: Fix get_timer value overflow
get_timer returns a ulong value representing system time in ms. On a 64-bit system, this ulong value is 64 bits long. However, the driver stores it in a 32-bit unsigned integer, which overflows after 49 days up time, causing the driver to get an incorrect time. Replace the unsigned int variable with a ulong type to properly store the value returned by get_timer. Signed-off-by: Stanley Chu <[email protected]> Signed-off-by: Jim Liu <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions