[coreboot-gerrit] Patch set updated for coreboot: LINT TEST: Do not submit

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Sun Apr 17 17:36:48 CEST 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14197

-gerrit

commit 6e092b84d2fea4034fdc24f63ae1cee4a49f3a89
Author: Martin Roth <martinroth at google.com>
Date:   Wed Mar 30 14:08:52 2016 -0600

    LINT TEST: Do not submit
    
    This should cause all of the lint-stable tests to fail.
    
    Change-Id: I38db15c4d169bfebc443007da883e17a08fadc01
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 site-local/tmp.b6e9i3VnEc                        |  0
 src/acpi/sata.c                                  | 18 +++++++++---------
 src/arch/power8/misc.c                           |  2 +-
 src/arch/x86/bootblock_romcc.S                   |  1 +
 src/arch/x86/thread.c                            | 18 +++++++++---------
 src/lib/libgcc.c                                 |  0
 src/mainboard/aaeon/pfm-540i_revb/board_info.txt |  2 +-
 src/mainboard/amd/bettong/Kconfig.name           |  2 --
 src/mainboard/google/storm/board_info.txt        |  6 ------
 src/soc/nvidia/tegra124/spi.c                    |  4 ++--
 src/superio/common/conf_mode.c                   |  3 +++
 11 files changed, 26 insertions(+), 30 deletions(-)

diff --git a/site-local/tmp.b6e9i3VnEc b/site-local/tmp.b6e9i3VnEc
new file mode 100644
index 0000000..e69de29
diff --git a/src/acpi/sata.c b/src/acpi/sata.c
index ec0d505..aab9c0d 100644
--- a/src/acpi/sata.c
+++ b/src/acpi/sata.c
@@ -10,12 +10,12 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
-
+ 
 #include "sata.h"
-
+ 
 #include <arch/acpi.h>
 #include <arch/acpigen.h>
-
+ 
 /* e.g.
  * generate_sata_ssdt_ports("\_SB.PCI0.SATA", 0x3);
  * generates:
@@ -38,23 +38,23 @@ void generate_sata_ssdt_ports(const char *scope, uint32_t enable_map)
 	int i;
 	uint32_t bit;
 	char port_name[4] = "PR00";
-
+ 
 	acpigen_write_scope(scope);
-
+ 
 	/* generate a device for every enabled port */
 	for (i = 0; i < 32; i++) {
 		bit = 1 << i;
 		if (!(bit & enable_map))
 			continue;
-
+ 
 		port_name[2] = '0' + i / 10;
 		port_name[3] = '0' + i % 10;
-
+ 
 		acpigen_write_device(port_name);
-
+ 
 		acpigen_write_name_dword("_ADR", 0xffff + i * 0x10000);
 		acpigen_pop_len(); /* close PRT%d */
 	}
-
+ 
 	acpigen_pop_len(); /* close scope */
 }
diff --git a/src/arch/power8/misc.c b/src/arch/power8/misc.c
index 65b8ecf..fbc5678 100644
--- a/src/arch/power8/misc.c
+++ b/src/arch/power8/misc.c
@@ -6,7 +6,7 @@
  * the Free Software Foundation; version 2 of the License.
  *
  * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
diff --git a/src/arch/x86/bootblock_romcc.S b/src/arch/x86/bootblock_romcc.S
index 6c1723a..0d7d759 100644
--- a/src/arch/x86/bootblock_romcc.S
+++ b/src/arch/x86/bootblock_romcc.S
@@ -1,3 +1,4 @@
+.att_syntax noprefix
 /*
  * This file is part of the coreboot project.
  *
diff --git a/src/arch/x86/thread.c b/src/arch/x86/thread.c
index 993577d..f2dae2d 100644
--- a/src/arch/x86/thread.c
+++ b/src/arch/x86/thread.c
@@ -1,16 +1,16 @@
 /*
- * This file is part of the coreboot project.
+
  *
- * Copyright (C) 2013 Google, Inc.
+
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+
+
+
  *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+
+
+
+
  */
 
 #include <thread.h>
diff --git a/src/lib/libgcc.c b/src/lib/libgcc.c
old mode 100644
new mode 100755
diff --git a/src/mainboard/aaeon/pfm-540i_revb/board_info.txt b/src/mainboard/aaeon/pfm-540i_revb/board_info.txt
index 76246af..a8db96f 100644
--- a/src/mainboard/aaeon/pfm-540i_revb/board_info.txt
+++ b/src/mainboard/aaeon/pfm-540i_revb/board_info.txt
@@ -1,3 +1,3 @@
 Board name: PFM-540I Rev.B
-Category: half
+Category: lint
 Board URL: http://www.aaeonusa.com/products/details/?item_id=1043
diff --git a/src/mainboard/amd/bettong/Kconfig.name b/src/mainboard/amd/bettong/Kconfig.name
deleted file mode 100644
index 09201b5..0000000
--- a/src/mainboard/amd/bettong/Kconfig.name
+++ /dev/null
@@ -1,2 +0,0 @@
-config BOARD_AMD_BETTONG
-	bool "Bettong"
diff --git a/src/mainboard/google/storm/board_info.txt b/src/mainboard/google/storm/board_info.txt
deleted file mode 100644
index edc4b32..0000000
--- a/src/mainboard/google/storm/board_info.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Vendor name: Google
-Board name: Storm Qualcomm IPQ806X board
-Category: settop
-ROM protocol: SPI
-ROM socketed: n
-Flashrom support: y
diff --git a/src/soc/nvidia/tegra124/spi.c b/src/soc/nvidia/tegra124/spi.c
index d5be4a6..3d659d7 100644
--- a/src/soc/nvidia/tegra124/spi.c
+++ b/src/soc/nvidia/tegra124/spi.c
@@ -580,7 +580,7 @@ static int tegra_spi_dma_finish(struct tegra_spi_channel *spi)
 	}
 
 	ret = 0;
-done:
+ done:
 	spi->dma_in = NULL;
 	spi->dma_out = NULL;
 	return ret;
@@ -684,7 +684,7 @@ static int xfer_setup(struct tegra_spi_channel *spi, void *buf,
 		goto done;
 	}
 
-done:
+ done:
 	return ret;
 }
 
diff --git a/src/superio/common/conf_mode.c b/src/superio/common/conf_mode.c
index cbe1a9e..423f127 100644
--- a/src/superio/common/conf_mode.c
+++ b/src/superio/common/conf_mode.c
@@ -11,6 +11,9 @@
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc.
  */
 
 #include <arch/io.h>



More information about the coreboot-gerrit mailing list