Re: [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option
Amit Dhingra <[email protected]>
| Newsgroups | org.kernel.vger.linux-sparse |
|---|---|
| Message-ID | <CAO=gReFB+iUq1ZBdwWsZfqtEGosmmmcraze7gC=T=ZERDT8tNA@mail.gmail.com> |
On Thu, Oct 09, 2025 at 10:33:06PM -0700, Chris Li wrote: > This patch is for Dan to apply on smatch, right? > Yes, this is for Smatch. My apologies if the list is the incorrect place to send smatch patches. > Does not look like a patch for the sparse project. > > Chris > > On Thu, Oct 9, 2025 at 7:38 AM Amit Dhingra <[email protected]> wrote: > > > > Signed-off-by: Amit Dhingra <[email protected]> > > --- > > 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 > >