commit | 2f79136ba2df07ce7563158f7948c4ce770f8132 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@wdc.com> | Wed Aug 30 11:42:09 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 01 13:56:39 2017 -0600 |
tree | 2a68b34d5162b00bf65a3fcb8f32d61eaa31623a | |
parent | dfb79af5469a028e23ba2592a577d9b6f8a5651f [diff] |
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>