aboutsummaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-11-12 00:08:46 -0800
committerJens Axboe <axboe@kernel.dk>2018-11-12 08:28:37 -0700
commit18e962ac0781bcb70d433de3b2a325ff792b4288 (patch)
tree08a29ea40815efa2d7504cb12f89cec1ec77cf54 /.cocciconfig
parentfloppy: fix race condition in __floppy_read_block_0() (diff)
downloadlinux-dev-18e962ac0781bcb70d433de3b2a325ff792b4288.tar.xz
linux-dev-18e962ac0781bcb70d433de3b2a325ff792b4288.zip
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>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions