Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5953
-gerrit
commit 01d2498cec11a4c25049bc78aeb0c2bb35d6d33b
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Sat Jun 7 13:36:42 2014 +0200
util/lint/lint-stable-003-whitespace: Do not check files with suffix `swp`
Editing a file in Vim, saving it and wanting to commit the changes
without closing Vim, the lint whitespace error check fails, preventing
to commit the change, when the Git hooks are run.
lint-stable-003-whitespace
Check for superfluous whitespace in the tree
========
test failed:
File src/device/.device_util.c.swp has lines ending with whitespace.
========
Therefore let the whitespace error check ignore Vim swap files.
Change-Id: Ib551cb1cae03a28f52909891efdfc2c581c2fad1
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
util/lint/lint-stable-003-whitespace | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace
index 1e824a1..6758f16 100755
--- a/util/lint/lint-stable-003-whitespace
+++ b/util/lint/lint-stable-003-whitespace
@@ -29,6 +29,7 @@ find src util -name .svn -type d -prune -o \
-name \*.txt -prune -o \
-name \*.exe -prune -o \
-name \*.o -prune -o \
+ -name \*.swp -prune -o \
-name microcode-\*.h -prune -o \
-name \*.?_shipped -prune -o \
-name \*.[18] -prune -o \
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5952
-gerrit
commit debb289159ac37770ad510392a7435012caf5a8b
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Sat Jun 7 13:31:29 2014 +0200
device/device_util.c: Fix wording in comment of `new_resource()`
Change-Id: Ieb0d5de37870a359f3a7ea1543640e26f86c1684
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/device/device_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 2bed4a9..4526c48 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -462,7 +462,7 @@ struct resource *probe_resource(device_t dev, unsigned index)
* See if a resource structure already exists for a given index and if not
* allocate one.
*
- * Then initialize the initialize the resource to default values.
+ * Then initialize the resource to default values.
*
* @param dev The device to find the resource on.
* @param index The index of the resource on the device.