]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: snic: fix printing time intervals
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jul 2018 12:37:37 +0000 (14:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Jul 2018 03:01:16 +0000 (23:01 -0400)
commit920447f138917d8d5b830b752cff5e5f747f67e8
tree27c29986af18dd34ff4275769f7274f90718c796
parent0993ed922a3e62a66fcad41633985b127ecf71b0
scsi: snic: fix printing time intervals

We don't want to use 'struct timespec' because of the y2038 overflow
problem. The overflow is not actually an issue here, but it's easy to
replace with 'timespec64' for consistency. However, it's worth pointing out
that nanosecond values have nine digits, not eight or ten, so I'm fixing
the format strings accordingly as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_debugfs.c
drivers/scsi/snic/snic_trc.c