kernel-fxtec-pro1x/drivers/char/agp
Gustavo A. R. Silva 572d8fda26 char: amd64-agp: Use 64-bit arithmetic instead of 32-bit
Cast *tmp* and *nb_base* to u64 in order to give the compiler
complete information about the proper arithmetic to use.

Notice that such variables are used in contexts that expect
expressions of type u64 (64 bits, unsigned) and the following
expressions are currently being evaluated using 32-bit arithmetic:

tmp << 25
nb_base << 25

Addresses-Coverity-ID: 200586 ("Unintentional integer overflow")
Addresses-Coverity-ID: 200587 ("Unintentional integer overflow")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2018-07-10 13:50:31 +10:00
..
agp.h agp: change agp_free_page_array to use kvfree 2015-01-29 12:37:41 +10:00
ali-agp.c agp: ali: constify pci_device_id. 2017-08-04 16:59:47 +10:00
alpha-agp.c char: agp: Change return type to vm_fault_t 2018-07-10 13:48:11 +10:00
amd-k7-agp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
amd64-agp.c char: amd64-agp: Use 64-bit arithmetic instead of 32-bit 2018-07-10 13:50:31 +10:00
ati-agp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
backend.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00
compat_ioctl.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
compat_ioctl.h
efficeon-agp.c agp: efficeon: constify pci_device_id. 2017-08-04 16:59:48 +10:00
frontend.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
generic.c agp: use set_memory.h header 2017-05-08 17:15:13 -07:00
hp-agp.c
i460-agp.c
intel-agp.c agp: intel: constify pci_device_id. 2017-08-04 16:59:46 +10:00
intel-agp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intel-gtt.c drm/i915: prefer resource_size_t for everything stolen 2017-12-12 12:30:22 +02:00
isoch.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nvidia-agp.c agp: nvidia: Deprecate pci_get_bus_and_slot() 2018-01-11 17:23:50 -06:00
parisc-agp.c
sgi-agp.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
sis-agp.c agp: sis: constify pci_device_id. 2017-08-04 16:59:48 +10:00
sworks-agp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
uninorth-agp.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
via-agp.c agp: Fix up email address & attributions in AGP MODULE_AUTHOR tags 2014-12-23 20:03:10 +10:00