summaryrefslogtreecommitdiffstats
path: root/drivers/block/smart1,2.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-10-25 13:53:27 +0200
committerJens Axboe <axboe@fb.com>2016-10-25 19:55:23 +0200
commit366f4aea649a65c3735d91b4409d84c771811290 (patch)
tree0c8e3977ec113b0caeabdb42d290c2f06480504f /drivers/block/smart1,2.h
parentsd: fix uninitialized variable access in error handling (diff)
downloadlinux-366f4aea649a65c3735d91b4409d84c771811290.tar.xz
linux-366f4aea649a65c3735d91b4409d84c771811290.zip
brd: Switch rd_size to unsigned long
Currently rd_size was int which lead to overflow and bogus device size once the requested ramdisk size was 1 TB or more. Although these days ramdisks with 1 TB size are mostly a mistake, the days when they are useful are not far. Reported-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/smart1,2.h')
0 files changed, 0 insertions, 0 deletions