aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2019-01-14 16:45:06 +0530
committerLorenzo Pieralisi <[email protected]>2019-02-15 09:59:48 +0000
commit5544d67ed11245ccb64099deb32831308297bf6b (patch)
tree042cb320a556122fd6c94f13e4ce445cdc0c8149 /lib/test_overflow.c
parent1e9efe6c9976552e88c6e6feaca3a78b8cf5aaf6 (diff)
PCI: endpoint: Fix pci_epf_alloc_space() to set correct MEM TYPE flags
pci_epf_alloc_space() sets the MEM TYPE flags to indicate a 32-bit Base Address Register irrespective of the size. Fix it here to indicate 64-bit BAR if the size is > 2GB. Tested-by: Gustavo Pimentel <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions