summaryrefslogtreecommitdiffstats
path: root/fs/qnx4
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-07-19 20:46:28 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:52:30 +0200
commitadfbc1ff342ece2e482254bcc5381fadfffbbb89 (patch)
treeaefa1482a22f0378a1397546595e7980fb4acf75 /fs/qnx4
parentcciss: fix hard reset code. (diff)
downloadlinux-adfbc1ff342ece2e482254bcc5381fadfffbbb89.tar.xz
linux-adfbc1ff342ece2e482254bcc5381fadfffbbb89.zip
cciss: sanitize max commands
cciss: sanitize max commands Some controllers might try to tell us they support 0 commands in performant mode. This is a lie told by buggy firmware. We have to be wary of this lest we try to allocate a negative number of command blocks, which will be treated as unsigned, and get an out of memory condition. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions