summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-acpi.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-27 12:53:22 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-12-11 12:48:06 +0100
commita5b97be2a7bbfc20d75f51f0969f102015edab6d (patch)
tree7327615525a7aed8b215941ff09fdc2509d6a144 /drivers/mmc/host/sdhci-acpi.c
parentmmc: sdhci-of-arasan: Add sdhci_arasan_set_power (diff)
downloadlinux-a5b97be2a7bbfc20d75f51f0969f102015edab6d.tar.xz
linux-a5b97be2a7bbfc20d75f51f0969f102015edab6d.zip
mmc_test: use ktime_get_ts64 for timestamps
Calling getnstimeofday() can suffer from time jumps and from the y2038 overflow, so it is not appropriate here. Using ktime_get_ts64() solves both problems. Using ktime_get() with ktime_t timestamps would also work, but it seems that we mainly want to print the times as seconds+nanoseconds, so it would require an extra division in the output. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-acpi.c')
0 files changed, 0 insertions, 0 deletions