mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
s390/dasd: Switch to use %ptSp
Use %ptSp instead of open coded variants to print content of struct timespec64 in human readable format. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Stefan Haberland <sth@linux.ibm.com> Link: https://patch.msgid.link/20251113150217.3030010-19-andriy.shevchenko@linux.intel.com Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
committed by
Petr Mladek
parent
4e7c8ab42e
commit
ed40532ccd
@@ -974,8 +974,7 @@ static void dasd_stats_array(struct seq_file *m, unsigned int *array)
|
||||
static void dasd_stats_seq_print(struct seq_file *m,
|
||||
struct dasd_profile_info *data)
|
||||
{
|
||||
seq_printf(m, "start_time %lld.%09ld\n",
|
||||
(s64)data->starttod.tv_sec, data->starttod.tv_nsec);
|
||||
seq_printf(m, "start_time %ptSp\n", &data->starttod);
|
||||
seq_printf(m, "total_requests %u\n", data->dasd_io_reqs);
|
||||
seq_printf(m, "total_sectors %u\n", data->dasd_io_sects);
|
||||
seq_printf(m, "total_pav %u\n", data->dasd_io_alias);
|
||||
|
||||
Reference in New Issue
Block a user