[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ac24fc6d88cc4cc11ac6a4590562d23882deba6.1750459100.git.unixbhaskar@gmail.com>
Date: Sat, 21 Jun 2025 04:08:53 +0530
From: Bhaskar Chowdhury <unixbhaskar@...il.com>
To: dan.carpenter@...aro.org
Cc: Bhaskar Chowdhury <unixbhaskar@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 4/9] Doing it for the consistency in the tree,eliminating the full path to the script
Just try to making things consistent across the tree by eliminating full path
to the script.
Signed-off-by: Bhaskar Chowdhury <unixbhaskar@...il.com>
---
smatch_scripts/find_null_params.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/smatch_scripts/find_null_params.sh b/smatch_scripts/find_null_params.sh
index 9e39146d2d40..a78eb7623fb4 100755
--- a/smatch_scripts/find_null_params.sh
+++ b/smatch_scripts/find_null_params.sh
@@ -3,7 +3,7 @@
file=$1
if [[ "$file" = "" ]] ; then
- echo "Usage: $0 <file with smatch messages>"
+ echo "Usage: $(basename $0) <file with smatch messages>"
exit 1
fi
@@ -13,7 +13,7 @@ cat null_calls.txt unchecked | sort | uniq -d > null_params.txt
IFS="
"
for i in $(cat null_params.txt) ; do
- grep "$i" $file | grep -w undefined
+ grep "$i" $file | grep -w undefined
done
--
2.46.3
Powered by blists - more mailing lists