Move C labels to start-of-line

Also mark the corresponding lint test stable.

Change-Id: Ib7c9ed88c5254bf56e68c01cdbd5ab91cd7bfc2f
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/772
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Patrick Georgi 2012-03-07 15:55:47 +01:00 committed by Stefan Reinauer
parent 533ec00689
commit c5fc7db355
17 changed files with 24 additions and 24 deletions

View File

@ -267,7 +267,7 @@ void smp_write_intsrc_pci_bridge(struct mp_config_table *mc,
smp_write_intsrc_pci_bridge(mc, irqtype, irqflag, child, dstapic, dstirq_x);
}
next:
next:
child = child->sibling;
}

View File

@ -227,7 +227,7 @@ static void set_cpu_ops(struct device *cpu)
}
}
return;
found:
found:
cpu->ops = driver->ops;
}

View File

@ -511,7 +511,7 @@ static int selfboot(struct lb_memory *mem, struct cbfs_payload *payload)
jmp_to_elf_entry((void*)entry, bounce_buffer, bounce_size);
return 1;
out:
out:
return 0;
}

View File

@ -123,7 +123,7 @@ int vtxprintf(void (*tx_byte)(unsigned char byte), const char *fmt, va_list args
/* process flags */
flags = 0;
repeat:
repeat:
++fmt; /* this also skips first '%' */
switch (*fmt) {
case '-': flags |= LEFT; goto repeat;

View File

@ -47,7 +47,7 @@ _secondary_start:
1: hlt
jmp 1b
gdtaddr:
gdtaddr:
.word gdt_limit /* the table limit */
.long gdt /* we know the offset */

View File

@ -267,7 +267,7 @@ void pmm_handleInt()
rval = 0xFFFFFFFF;
goto exit;
}
exit:
exit:
/* exit handler of this function, restore registers, put return value in DX:AX */
M.x86 = backup_regs;
M.x86.R_DX = (u16) ((rval >> 16) & 0xFFFF);

View File

@ -166,7 +166,7 @@ int xmodemReceive(unsigned char *dest, int destsz)
_outbyte(ACK);
continue;
}
reject:
reject:
flushinput();
_outbyte(NAK);
}

View File

@ -681,7 +681,7 @@ hw_err:
#if CONFIG_QRANK_DIMM_SUPPORT
sz.rank = 0;
#endif
out:
out:
return sz;
}

View File

@ -49,7 +49,7 @@
/* for PCI_ADDR(0, 0x18, 2, 0x98) index,
and PCI_ADDR(0x, 0x18, 2, 0x9c) data */
/*
index:
index:
[29: 0] DctOffset (Dram Controller Offset)
[30:30] DctAccessWrite (Dram Controller Read/Write Select)
0 = read access
@ -659,7 +659,7 @@ static void sdram_set_registers(const struct mem_controller *ctrl, struct sys_in
/* for PCI_ADDR(0, 0x18, 2, 0x98) index,
and PCI_ADDR(0x, 0x18, 2, 0x9c) data */
/*
index:
index:
[29: 0] DctOffset (Dram Controller Offset)
[30:30] DctAccessWrite (Dram Controller Read/Write Select)
0 = read access
@ -820,7 +820,7 @@ static void spd_get_dimm_size(unsigned device, struct dimm_size *sz)
sz->col = 0;
sz->bank = 0;
sz->rank = 0;
out:
out:
return;
}

View File

@ -419,7 +419,7 @@ static void do_test2(int i)
raminit_main();
done:
done:
memcpy(&end_buf, &tmp_buf, sizeof(end_buf));
}

View File

@ -161,7 +161,7 @@ static struct dimm_size spd_get_dimm_size(unsigned device)
hw_err:
sz.side1 = 0;
sz.side2 = 0;
out:
out:
return sz;
}
@ -286,7 +286,7 @@ static int spd_set_row_attributes(const struct mem_controller *ctrl,
/* If an hw_error occurs report that I have no memory */
hw_err:
dra = 0;
out:
out:
return dra;
}
@ -658,7 +658,7 @@ static int spd_set_dram_controller_mode(const struct mem_controller *ctrl,
/* If an hw_error occurs report that I have no memory */
hw_err:
drc = 0;
out:
out:
return drc;
}

View File

@ -164,7 +164,7 @@ static struct dimm_size spd_get_dimm_size(unsigned device)
hw_err:
sz.side1 = 0;
sz.side2 = 0;
out:
out:
return sz;
}
@ -291,7 +291,7 @@ static int spd_set_row_attributes(const struct mem_controller *ctrl,
/* If an hw_error occurs report that I have no memory */
hw_err:
dra = 0;
out:
out:
return dra;
}
@ -664,7 +664,7 @@ static int spd_set_dram_controller_mode(const struct mem_controller *ctrl,
/* If an hw_error occurs report that I have no memory */
hw_err:
drc = 0;
out:
out:
return drc;
}

View File

@ -154,7 +154,7 @@ static struct dimm_size spd_get_dimm_size(u16 device)
hw_err:
sz.side1 = 0;
sz.side2 = 0;
out:
out:
return sz;
}
@ -281,7 +281,7 @@ static int spd_set_row_attributes(const struct mem_controller *ctrl,
/* If an hw_error occurs report that I have no memory */
hw_err:
dra = 0;
out:
out:
return dra;
}
@ -597,7 +597,7 @@ static int spd_set_dram_controller_mode(const struct mem_controller *ctrl,
/* If an hw_error occurs report that I have no memory */
hw_err:
drc = 0;
out:
out:
return drc;
}

View File

@ -126,7 +126,7 @@ static struct dimm_size spd_get_dimm_size(u16 device)
hw_err:
sz.side1 = 0;
sz.side2 = 0;
out:
out:
print_debug("dimm ");
print_debug_hex8(device);
print_debug(" size = ");

View File

@ -1478,7 +1478,7 @@ static struct dimm_size sdram_get_dimm_size(struct sys_info *sysinfo, u16 dimmno
*/
sz.side1 = 0;
sz.side2 = 0;
out:
out:
return sz;
}

View File

@ -194,7 +194,7 @@ static unsigned char do_smbus_read_byte(unsigned smbus_io_base,
return smbus_get_result(smbus_io_base);
err:
err:
print_debug("SMBUS READ ERROR:");
print_debug_hex8(error);
print_debug(" device:");