aboutsummaryrefslogtreecommitdiff
path: root/block/blk-integrity.c
diff options
context:
space:
mode:
authorGravatar Bart Van Assche <bart.vanassche@wdc.com> 2017-08-30 11:42:09 -0700
committerGravatar Jens Axboe <axboe@kernel.dk> 2017-09-01 13:56:39 -0600
commit2f79136ba2df07ce7563158f7948c4ce770f8132 (patch)
tree2a68b34d5162b00bf65a3fcb8f32d61eaa31623a /block/blk-integrity.c
parentbfq: Declare local functions static (diff)
downloadlinux-2f79136ba2df07ce7563158f7948c4ce770f8132.tar.gz
linux-2f79136ba2df07ce7563158f7948c4ce770f8132.tar.bz2
linux-2f79136ba2df07ce7563158f7948c4ce770f8132.zip
bfq: Check kstrtoul() return value
Make sysfs writes fail for invalid numbers instead of storing uninitialized data copied from the stack. This patch removes all uninitialized_var() occurrences from the BFQ source code. Acked-by: Paolo Valente <paolo.valente@linaro.org> Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions