Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81454?usp=email )
Change subject: device: Remove blank lines before '}' and after '{'
......................................................................
device: Remove blank lines before '}' and after '{'
Change-Id: I0f9495057c046b8de5b5f699f5bf38bb8e2795e4
Signed-off-by: Elyes Haouas <ehaouas(a)noos.fr>
---
M src/device/mmio.c
M src/device/pci_device.c
M src/device/resource_allocator_v4.c
3 files changed, 0 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/81454/1
diff --git a/src/device/mmio.c b/src/device/mmio.c
index b62805a..ec9acfa 100644
--- a/src/device/mmio.c
+++ b/src/device/mmio.c
@@ -40,5 +40,4 @@
val = 0;
j = 0;
}
-
}
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 8ead8a5..af3355d 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -1491,7 +1491,6 @@
prev = &bus->children;
for (dev = bus->children; dev; dev = dev->sibling) {
-
/*
* If static device is not PCI then enable it here and don't
* treat it as a leftover device.
@@ -1851,7 +1850,6 @@
slot = dev->path.pci.devfn >> 3;
for (; dev ; dev = dev->sibling) {
-
if (dev->path.pci.devfn >> 3 != slot)
break;
diff --git a/src/device/resource_allocator_v4.c b/src/device/resource_allocator_v4.c
index c9630bb..44782d8 100644
--- a/src/device/resource_allocator_v4.c
+++ b/src/device/resource_allocator_v4.c
@@ -140,7 +140,6 @@
print_bridge_res(bridge, bridge_res, print_depth, "");
while ((child = largest_resource(bus, &child_res, type_mask, type_match))) {
-
/* Size 0 resources can be skipped. */
if (!child_res->size)
continue;
@@ -260,7 +259,6 @@
return;
for (child = domain->downstream->children; child; child = child->sibling) {
-
/* Skip if this is not a bridge or has no children under it. */
if (!dev_has_children(child))
continue;
@@ -400,7 +398,6 @@
setup_resource_ranges(domain, type, &ranges);
while ((dev = largest_resource(domain->downstream, &res, type_mask, type))) {
-
if (!res->size)
continue;
@@ -557,7 +554,6 @@
return;
for (child = root->downstream->children; child; child = child->sibling) {
-
if (child->path.type != DEVICE_PATH_DOMAIN)
continue;
--
To view, visit https://review.coreboot.org/c/coreboot/+/81454?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I0f9495057c046b8de5b5f699f5bf38bb8e2795e4
Gerrit-Change-Number: 81454
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Attention is currently required from: Martin L Roth, Nicholas Chin.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/81424?usp=email )
Change subject: util/lint: Check Kconfig and cmos.default for license headers
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/81424?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I6cc94b8e8b4ce6780ef1a72d49b88e85a7c4b832
Gerrit-Change-Number: 81424
Gerrit-PatchSet: 1
Gerrit-Owner: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Nicholas Chin <nic.c3.14(a)gmail.com>
Gerrit-Comment-Date: Sat, 23 Mar 2024 14:09:09 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment