]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit738326867a6c27be0513c0bbcb0bcee703932565
treeb992978145a553f7552e163ccc5339e380230acb
parentd243606466ad534f2eceb2a69c1aaad0a684d513
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