clean up stray whitespace This will help us migrate the code to platform2. BUG=chromium:886953 TEST=CQ passes Change-Id: I83fd92899603841f94f84b183df586910a2e7a00 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dm-verity/+/2348389 Reviewed-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg index 08242af..ee52980 100644 --- a/PRESUBMIT.cfg +++ b/PRESUBMIT.cfg
@@ -2,8 +2,7 @@ # Comment out the disable-flags for any checks you want to leave enabled. [Hook Overrides] -#stray_whitespace_check: false +stray_whitespace_check: true #long_line_check: false cros_license_check: false #tab_check: false -
diff --git a/file_hasher.cc b/file_hasher.cc index 1066965..68d5458 100644 --- a/file_hasher.cc +++ b/file_hasher.cc
@@ -132,5 +132,3 @@ } } // namespace verity - -
diff --git a/include/asm/page.h b/include/asm/page.h index 8883b33..5ebe34d 100644 --- a/include/asm/page.h +++ b/include/asm/page.h
@@ -1,7 +1,7 @@ /* Copyright (C) 2010 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by the GPL v2 license that can * be found in the LICENSE file. - * + * * Parts of this file are derived from the Linux kernel from the file with * the same name and path under include/. */
diff --git a/include/crypto/hash.h b/include/crypto/hash.h index 3bb6ca6..531321f 100644 --- a/include/crypto/hash.h +++ b/include/crypto/hash.h
@@ -1,11 +1,11 @@ /* * Hash: Hash algorithms under the crypto API - * + * * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au> * * 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; either version 2 of the License, or (at your option) + * Software Foundation; either version 2 of the License, or (at your option) * any later version. * */
diff --git a/include/linux/bug.h b/include/linux/bug.h index 90831af..cc73612 100644 --- a/include/linux/bug.h +++ b/include/linux/bug.h
@@ -1,7 +1,7 @@ /* Copyright (C) 2010 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by the GPL v2 license that can * be found in the LICENSE file. - * + * * Parts of this file are derived from the Linux kernel from the file with * the same name and path under include/. */
diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 0d22467..8e19b55 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h
@@ -1,7 +1,7 @@ /* Copyright (C) 2010 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by the GPL v2 license that can * be found in the LICENSE file. - * + * * Parts of this file are derived from the Linux kernel from the file with * the same name and path under include/. */
diff --git a/kernel/md5_generic.c b/kernel/md5_generic.c index ceab5d4..1a9a966 100644 --- a/kernel/md5_generic.c +++ b/kernel/md5_generic.c
@@ -1,4 +1,4 @@ -/* +/* * Cryptographic API. * * MD5 Message Digest Algorithm (RFC1321). @@ -8,10 +8,10 @@ * * Copyright (c) Cryptoapi developers. * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> - * + * * 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; either version 2 of the License, or (at your option) + * Software Foundation; either version 2 of the License, or (at your option) * any later version. * */
diff --git a/kernel/sha256_generic.c b/kernel/sha256_generic.c index 8de85c3..b759766 100644 --- a/kernel/sha256_generic.c +++ b/kernel/sha256_generic.c
@@ -13,7 +13,7 @@ * * 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; either version 2 of the License, or (at your option) + * Software Foundation; either version 2 of the License, or (at your option) * any later version. * */