OSDN Git Service

testptp: promote 'perout' variable to int64_t
authorVladimir Oltean <olteanv@gmail.com>
Mon, 20 Jul 2020 17:55:58 +0000 (20:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 01:04:59 +0000 (18:04 -0700)
commit4a09a981002bafdac1decf4116c77bf8f5496326
treeb992978145a553f7552e163ccc5339e380230acb
parent0c17ac5424daaa5fbf4842792f112fb6d7c81841
testptp: promote 'perout' variable to int64_t

Since 'perout' holds the nanosecond value of the signal's period, it
should be a 64-bit value. Current assumption is that it cannot be larger
than 1 second.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/ptp/testptp.c