projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb
[oweals/u-boot.git]
/
drivers
/
pci_endpoint
/
pci_ep-uclass.c
diff --git
a/drivers/pci_endpoint/pci_ep-uclass.c
b/drivers/pci_endpoint/pci_ep-uclass.c
index 2f9c70398d76007e0593173413c0bdb82c3e51db..9f53a9a9b9796dbc0762f9600e4f65f8a616503c 100644
(file)
--- a/
drivers/pci_endpoint/pci_ep-uclass.c
+++ b/
drivers/pci_endpoint/pci_ep-uclass.c
@@
-43,7
+43,7
@@
int pci_ep_set_bar(struct udevice *dev, uint func_no, struct pci_bar *ep_bar)
int flags = ep_bar->flags;
/* Some basic bar validity checks */
- if (ep_bar->barno > BAR_5 || ep_bar < BAR_0)
+ if (ep_bar->barno > BAR_5 || ep_bar
->barno
< BAR_0)
return -EINVAL;
if ((ep_bar->barno == BAR_5 &&