summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-07-07 10:40:19 +0200
committerBen Skeggs <bskeggs@redhat.com>2013-07-10 10:48:07 +1000
commit0108bc808107b97e101b15af9705729626be6447 (patch)
tree1daa36e4937fdeca38f7efdcecb83b1e56046258 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parent9b234db37825860b833ba110673301e2009f0546 (diff)
drm/nouveau: do not allow negative sizes for now
The API allows up to 64-bits allocations, but size is handled as int inside nouveau almost everywhere. Until this is fixed it's better to prevent negative sizes. The 256 kB before INT_MAX is paranoia, because of the large page aligning below that could flip it above INT_MAX. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions