mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-26 06:36:23 +00:00
frv/chris: fix lines with a missing semicolons
Commit b26b2d494b659f9 ("resource/PCI: align functions now return start of resource") added lines with missing semicolons. Add the missing semicolons to the FRV and CRIS arch code. Signed-off-by: David Howells <dhowells@redhat.com> Cc: linux@dominikbrodowski.net Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
a53f4f9efa
commit
f7454c5d5c
@ -50,7 +50,7 @@ pcibios_align_resource(void *data, const struct resource *res,
|
|||||||
if ((res->flags & IORESOURCE_IO) && (start & 0x300))
|
if ((res->flags & IORESOURCE_IO) && (start & 0x300))
|
||||||
start = (start + 0x3ff) & ~0x3ff;
|
start = (start + 0x3ff) & ~0x3ff;
|
||||||
|
|
||||||
return start
|
return start;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pcibios_enable_resources(struct pci_dev *dev, int mask)
|
int pcibios_enable_resources(struct pci_dev *dev, int mask)
|
||||||
|
@ -41,7 +41,7 @@ pcibios_align_resource(void *data, const struct resource *res,
|
|||||||
if ((res->flags & IORESOURCE_IO) && (start & 0x300))
|
if ((res->flags & IORESOURCE_IO) && (start & 0x300))
|
||||||
start = (start + 0x3ff) & ~0x3ff;
|
start = (start + 0x3ff) & ~0x3ff;
|
||||||
|
|
||||||
return start
|
return start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user