diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-30 11:42:09 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-01 13:56:39 -0600 |
commit | 2f79136ba2df07ce7563158f7948c4ce770f8132 (patch) | |
tree | 2a68b34d5162b00bf65a3fcb8f32d61eaa31623a /drivers/ata/libata-transport.h | |
parent | dfb79af5469a028e23ba2592a577d9b6f8a5651f (diff) | |
download | linux-2f79136ba2df07ce7563158f7948c4ce770f8132.tar.bz2 |
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 'drivers/ata/libata-transport.h')
0 files changed, 0 insertions, 0 deletions