From c3d9530cd07b7074ab9c0c545d36f8cfa58ba19e Mon Sep 17 00:00:00 2001 From: Piotr Pelplinski Date: Fri, 5 Oct 2018 14:37:44 +0200 Subject: [PATCH] spdk: fix check_format.sh Patch 427539: Check file permissions in the check_format script introduces at least two errors. - exit too early from check_format.sh - wrong file permisions on file vbdev_crypto.c This patch fixes them. Signed-off-by: Piotr Pelplinski Change-Id: I346523bce7448e749471bd78a06e9233e0d35ef2 Reviewed-on: https://review.gerrithub.io/428188 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Jim Harris --- lib/bdev/crypto/vbdev_crypto.c | 0 scripts/check_format.sh | 2 -- 2 files changed, 2 deletions(-) mode change 100755 => 100644 lib/bdev/crypto/vbdev_crypto.c diff --git a/lib/bdev/crypto/vbdev_crypto.c b/lib/bdev/crypto/vbdev_crypto.c old mode 100755 new mode 100644 diff --git a/scripts/check_format.sh b/scripts/check_format.sh index 3a52a101d..ff4046c77 100755 --- a/scripts/check_format.sh +++ b/scripts/check_format.sh @@ -51,8 +51,6 @@ if [ $rc -eq 0 ]; then echo " OK" fi -exit 0 - if hash astyle; then echo -n "Checking coding style..." if [ "$(astyle -V)" \< "Artistic Style Version 3" ]