From 0ce1c0db7c906943d22c58c50d2182e87f46de8c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 18 Oct 2021 17:34:12 +0000 Subject: tree: Files should end with single newline One of the checks that runs as part of "repo upload" looks for a single newline at the end of each file. I'm getting warnings about this when I touch files that do not follow this, even though I didn't add the extra newlines. This commit fixes all files by running the following: for f in $(find . -name '*.[ch]'); do printf '%s\n' "$(cat ${f})" > ${f}; done BRANCH=none BUG=b:172020503 TEST=./util/compare_build.sh -b all -j 120 => MATCH Signed-off-by: Tom Hughes Change-Id: Ia3ece5b64b549d21ca11708791368002bb6e9b0e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229797 Reviewed-by: Aseda Aboagye --- fuzz/host_command_fuzz.c | 1 - fuzz/usb_tcpm_v2_rev20_fuzz.c | 1 - 2 files changed, 2 deletions(-) (limited to 'fuzz') diff --git a/fuzz/host_command_fuzz.c b/fuzz/host_command_fuzz.c index 4ca94ff616..e055f4a73f 100644 --- a/fuzz/host_command_fuzz.c +++ b/fuzz/host_command_fuzz.c @@ -166,4 +166,3 @@ int test_fuzz_one_input(const uint8_t *data, unsigned int size) return 0; } - diff --git a/fuzz/usb_tcpm_v2_rev20_fuzz.c b/fuzz/usb_tcpm_v2_rev20_fuzz.c index f5afb92ac1..2f0129464a 100644 --- a/fuzz/usb_tcpm_v2_rev20_fuzz.c +++ b/fuzz/usb_tcpm_v2_rev20_fuzz.c @@ -30,4 +30,3 @@ int pd_check_vconn_swap(int port) { return 1; } - -- cgit v1.2.1