Linux-Sparse Archive mirror
 help / color / mirror / Atom feed
From: Amit Dhingra <mechanicalamit@gmail.com>
To: linux-sparse@vger.kernel.org, Dan Carpenter <dan.carpenter@linaro.org>
Subject: [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option
Date: Thu, 9 Oct 2025 07:38:10 -0700	[thread overview]
Message-ID: <CAO=gReG3L4S90RZDTg+kx8M7jH7dG-AHKEnKJaq0OJLRfYQxug@mail.gmail.com> (raw)

Signed-off-by: Amit Dhingra <mechanicalamit@gmail.com>
---
 smatch_data/db/smdb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smatch_data/db/smdb.py b/smatch_data/db/smdb.py
index 29f1a339..13f1017c 100755
--- a/smatch_data/db/smdb.py
+++ b/smatch_data/db/smdb.py
@@ -19,7 +19,7 @@ except sqlite3.Error as e:
 def usage():
     print("%s" % (sys.argv[0]))
     print("<function> - how a function is called")
-    print("info <type> - how a function is called, filtered by type")
+    print("info <function> <type> - how a function is called,
filtered by type")
     print("return_states <function> - what a function returns")
     print("call_tree <function> - show the call tree")
     print("where <struct_type> <member> - where a struct member is set")
-- 
2.51.0

             reply	other threads:[~2025-10-09 14:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-09 14:38 Amit Dhingra [this message]
2025-10-10  5:33 ` [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option Chris Li
2025-10-10 10:19   ` Amit Dhingra
2025-10-14  7:39     ` Dan Carpenter

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='CAO=gReG3L4S90RZDTg+kx8M7jH7dG-AHKEnKJaq0OJLRfYQxug@mail.gmail.com' \
    --to=mechanicalamit@gmail.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linux-sparse@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 read-only IMAP folder(s) and NNTP newsgroup(s).