linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bhaskar Chowdhury <unixbhaskar@gmail.com>
To: dan.carpenter@linaro.org
Cc: Bhaskar Chowdhury <unixbhaskar@gmail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH 7/9] Took away the full path to the script
Date: Sat, 21 Jun 2025 04:08:56 +0530	[thread overview]
Message-ID: <36ceffe2dcf5490fb76e4995e8307ef08fc3ba27.1750459100.git.unixbhaskar@gmail.com> (raw)
In-Reply-To: <cover.1750459100.git.unixbhaskar@gmail.com>

Eliminate full to the script.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 smatch_scripts/gen_dma_funcs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smatch_scripts/gen_dma_funcs.sh b/smatch_scripts/gen_dma_funcs.sh
index 7346963b8529..1a3fc5f0d612 100755
--- a/smatch_scripts/gen_dma_funcs.sh
+++ b/smatch_scripts/gen_dma_funcs.sh
@@ -4,7 +4,7 @@ file=$1
 project=$(echo "$2" | cut -d = -f 2)

 if [[ "$file" = "" ]] ; then
-    echo "Usage:  $0 <file with smatch messages> -p=<project>"
+	echo "Usage:  $(basename $0) <file with smatch messages> -p=<project>"
     exit 1
 fi

--
2.46.3


  parent reply	other threads:[~2025-06-20 23:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-20 22:38 [PATCH 0/9] Trivial fixes in the smatch tree Bhaskar Chowdhury
2025-06-20 22:38 ` [PATCH 1/9] Replace pipes with a binary for cpu core count Bhaskar Chowdhury
2025-06-20 22:38 ` [PATCH 2/9] Looks nicer in usage output without the full path of the script Bhaskar Chowdhury
2025-06-20 22:38 ` [PATCH 3/9] Eliminate the full path to the script in usage output Bhaskar Chowdhury
2025-06-20 22:38 ` [PATCH 4/9] Doing it for the consistency in the tree,eliminating the full path to the script Bhaskar Chowdhury
2025-06-27 19:07   ` Dan Carpenter
2025-06-20 22:38 ` [PATCH 5/9] Again, for the consistency, eliminate " Bhaskar Chowdhury
2025-06-20 22:38 ` [PATCH 6/9] Trivial fixup to take away the full path of " Bhaskar Chowdhury
2025-06-20 22:38 ` Bhaskar Chowdhury [this message]
2025-06-20 22:38 ` [PATCH 8/9] Usage shows without the full path to " Bhaskar Chowdhury
2025-06-20 22:38 ` [PATCH 9/9] Trivial changes,usage text show scriptname without path,and few of them use nproc binary to show cpu core Bhaskar Chowdhury

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36ceffe2dcf5490fb76e4995e8307ef08fc3ba27.1750459100.git.unixbhaskar@gmail.com \
    --to=unixbhaskar@gmail.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).