Omar Sandoval 18e962ac07 kyber: fix wrong strlcpy() size in trace_kyber_latency()
When copying to the latency type, we should be passing LATENCY_TYPE_LEN,
not DOMAIN_LEN (this isn't a problem in practice because we only pass
"total" or "I/O"). Fix it by changing all of the strlcpy() calls to use
sizeof().

Fixes: 6c3b7af1c975 ("kyber: add tracepoints")
Reported-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Tested-by: Jordan Glover <Golden_Miller83@protonmail.ch>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-11-12 08:28:37 -07:00
..
2018-04-16 11:53:35 +01:00
2017-12-13 15:10:01 -05:00
2018-04-04 13:41:27 +01:00
2018-06-19 10:06:29 -07:00
2017-11-17 14:58:01 -08:00
2018-10-25 11:17:40 -06:00
2017-11-17 09:51:57 -08:00
2017-09-25 20:38:26 +02:00
2018-07-26 10:17:47 +02:00
2018-10-03 14:35:17 -04:00
2018-02-13 21:30:22 +01:00
2017-12-19 10:56:24 +01:00
2018-04-18 23:37:39 -04:00