summaryrefslogtreecommitdiff
path: root/arch/ia64/sn
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-07-07 08:40:19 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-07-10 00:48:07 (GMT)
commit0108bc808107b97e101b15af9705729626be6447 (patch)
tree1daa36e4937fdeca38f7efdcecb83b1e56046258 /arch/ia64/sn
parent9b234db37825860b833ba110673301e2009f0546 (diff)
downloadlinux-0108bc808107b97e101b15af9705729626be6447.tar.xz
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 'arch/ia64/sn')
0 files changed, 0 insertions, 0 deletions