summaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-30 20:42:09 +0200
committerJens Axboe <axboe@kernel.dk>2017-09-01 21:56:39 +0200
commit2f79136ba2df07ce7563158f7948c4ce770f8132 (patch)
tree2a68b34d5162b00bf65a3fcb8f32d61eaa31623a /mm/slob.c
parentbfq: Declare local functions static (diff)
downloadlinux-2f79136ba2df07ce7563158f7948c4ce770f8132.tar.xz
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 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions