From caec711dea93b2edb657c6be9ef00ebc90aa772e Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 21 Sep 2012 11:01:54 +1000 Subject: [PATCH] sectons-fix-const-sections-for-crc32-table-checkpatch-fixes ERROR: code indent should use tabs where possible #54: FILE: lib/gen_crc32table.c:112: + ^Iprintf("static u32 __cacheline_aligned "$ WARNING: please, no space before tabs #54: FILE: lib/gen_crc32table.c:112: + ^Iprintf("static u32 __cacheline_aligned "$ WARNING: please, no spaces at the start of a line #54: FILE: lib/gen_crc32table.c:112: + ^Iprintf("static u32 __cacheline_aligned "$ ERROR: code indent should use tabs where possible #63: FILE: lib/gen_crc32table.c:122: + ^Iprintf("static u32 __cacheline_aligned "$ WARNING: please, no space before tabs #63: FILE: lib/gen_crc32table.c:122: + ^Iprintf("static u32 __cacheline_aligned "$ WARNING: please, no spaces at the start of a line #63: FILE: lib/gen_crc32table.c:122: + ^Iprintf("static u32 __cacheline_aligned "$ ERROR: code indent should use tabs where possible #72: FILE: lib/gen_crc32table.c:131: + ^Iprintf("static u32 __cacheline_aligned "$ WARNING: please, no space before tabs #72: FILE: lib/gen_crc32table.c:131: + ^Iprintf("static u32 __cacheline_aligned "$ WARNING: please, no spaces at the start of a line #72: FILE: lib/gen_crc32table.c:131: + ^Iprintf("static u32 __cacheline_aligned "$ total: 3 errors, 6 warnings, 48 lines checked NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or scripts/cleanfile ./patches/sectons-fix-const-sections-for-crc32-table.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Andi Kleen Cc: Joe Mario Signed-off-by: Andrew Morton --- lib/gen_crc32table.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gen_crc32table.c b/lib/gen_crc32table.c index 75fac57a12ba..71fcfcd96410 100644 --- a/lib/gen_crc32table.c +++ b/lib/gen_crc32table.c @@ -109,7 +109,7 @@ int main(int argc, char** argv) if (CRC_LE_BITS > 1) { crc32init_le(); - printf("static u32 __cacheline_aligned " + printf("static u32 __cacheline_aligned " "crc32table_le[%d][%d] = {", LE_TABLE_ROWS, LE_TABLE_SIZE); output_table(crc32table_le, LE_TABLE_ROWS, @@ -119,7 +119,7 @@ int main(int argc, char** argv) if (CRC_BE_BITS > 1) { crc32init_be(); - printf("static u32 __cacheline_aligned " + printf("static u32 __cacheline_aligned " "crc32table_be[%d][%d] = {", BE_TABLE_ROWS, BE_TABLE_SIZE); output_table(crc32table_be, LE_TABLE_ROWS, @@ -128,7 +128,7 @@ int main(int argc, char** argv) } if (CRC_LE_BITS > 1) { crc32cinit_le(); - printf("static u32 __cacheline_aligned " + printf("static u32 __cacheline_aligned " "crc32ctable_le[%d][%d] = {", LE_TABLE_ROWS, LE_TABLE_SIZE); output_table(crc32ctable_le, LE_TABLE_ROWS, -- 2.39.5