mirror of
https://review.coreboot.org/flashrom.git
synced 2025-05-01 00:43:40 +02:00
tests.c: Move opening brace on new line for function body
BUG=b:181803212 TEST=builds and ninja test Change-Id: Ia1b00bb68ec2426161bfc183d93d2c0719a949ec Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55974 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
48c6774d18
commit
514e7ddc10
@ -88,39 +88,45 @@ int __wrap_rget_io_perms(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __wrap_test_outb(unsigned char value, unsigned short port) {
|
void __wrap_test_outb(unsigned char value, unsigned short port)
|
||||||
|
{
|
||||||
/* LOG_ME; */
|
/* LOG_ME; */
|
||||||
if (current_io && current_io->outb)
|
if (current_io && current_io->outb)
|
||||||
current_io->outb(current_io->state, value, port);
|
current_io->outb(current_io->state, value, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char __wrap_test_inb(unsigned short port) {
|
unsigned char __wrap_test_inb(unsigned short port)
|
||||||
|
{
|
||||||
/* LOG_ME; */
|
/* LOG_ME; */
|
||||||
if (current_io && current_io->inb)
|
if (current_io && current_io->inb)
|
||||||
return current_io->inb(current_io->state, port);
|
return current_io->inb(current_io->state, port);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __wrap_test_outw(unsigned short value, unsigned short port) {
|
void __wrap_test_outw(unsigned short value, unsigned short port)
|
||||||
|
{
|
||||||
/* LOG_ME; */
|
/* LOG_ME; */
|
||||||
if (current_io && current_io->outw)
|
if (current_io && current_io->outw)
|
||||||
current_io->outw(current_io->state, value, port);
|
current_io->outw(current_io->state, value, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned short __wrap_test_inw(unsigned short port) {
|
unsigned short __wrap_test_inw(unsigned short port)
|
||||||
|
{
|
||||||
/* LOG_ME; */
|
/* LOG_ME; */
|
||||||
if (current_io && current_io->inw)
|
if (current_io && current_io->inw)
|
||||||
return current_io->inw(current_io->state, port);
|
return current_io->inw(current_io->state, port);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void __wrap_test_outl(unsigned int value, unsigned short port) {
|
void __wrap_test_outl(unsigned int value, unsigned short port)
|
||||||
|
{
|
||||||
/* LOG_ME; */
|
/* LOG_ME; */
|
||||||
if (current_io && current_io->outl)
|
if (current_io && current_io->outl)
|
||||||
current_io->outl(current_io->state, value, port);
|
current_io->outl(current_io->state, value, port);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int __wrap_test_inl(unsigned short port) {
|
unsigned int __wrap_test_inl(unsigned short port)
|
||||||
|
{
|
||||||
/* LOG_ME; */
|
/* LOG_ME; */
|
||||||
if (current_io && current_io->inl)
|
if (current_io && current_io->inl)
|
||||||
return current_io->inl(current_io->state, port);
|
return current_io->inl(current_io->state, port);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user