diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-07-07 04:40:19 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-07-09 20:48:07 -0400 |
commit | 0108bc808107b97e101b15af9705729626be6447 (patch) | |
tree | 1daa36e4937fdeca38f7efdcecb83b1e56046258 /drivers/isdn/Makefile | |
parent | 9b234db37825860b833ba110673301e2009f0546 (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/isdn/Makefile')
0 files changed, 0 insertions, 0 deletions