public inbox for linux-sparse@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option
@ 2025-10-09 14:38 Amit Dhingra
  2025-10-10  5:33 ` Chris Li
  0 siblings, 1 reply; 4+ messages in thread
From: Amit Dhingra @ 2025-10-09 14:38 UTC (permalink / raw)
  To: linux-sparse, Dan Carpenter

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option
  2025-10-09 14:38 [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option Amit Dhingra
@ 2025-10-10  5:33 ` Chris Li
  2025-10-10 10:19   ` Amit Dhingra
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Li @ 2025-10-10  5:33 UTC (permalink / raw)
  To: Amit Dhingra; +Cc: linux-sparse, Dan Carpenter

This patch is for Dan to apply on smatch, right?

Does not look like a patch for the sparse project.

Chris

On Thu, Oct 9, 2025 at 7:38 AM Amit Dhingra <mechanicalamit@gmail.com> wrote:
>
> 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
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option
  2025-10-10  5:33 ` Chris Li
@ 2025-10-10 10:19   ` Amit Dhingra
  2025-10-14  7:39     ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Amit Dhingra @ 2025-10-10 10:19 UTC (permalink / raw)
  To: Chris Li; +Cc: linux-sparse, Dan Carpenter

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 <mechanicalamit@gmail.com> wrote:
> >
> > 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
> >

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option
  2025-10-10 10:19   ` Amit Dhingra
@ 2025-10-14  7:39     ` Dan Carpenter
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Carpenter @ 2025-10-14  7:39 UTC (permalink / raw)
  To: Amit Dhingra; +Cc: Chris Li, linux-sparse

On Fri, Oct 10, 2025 at 03:19:39AM -0700, Amit Dhingra wrote:
> 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.
> 

The Smatch mailing list is smatch@vger.kernel.org, but I'm on this list
as well so I can take it this time.  Applied.  Thanks.

regards,
dan carpenter



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-14  7:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09 14:38 [PATCH smatch] smdb.py : Clarify <function> comes before <type> in info option Amit Dhingra
2025-10-10  5:33 ` Chris Li
2025-10-10 10:19   ` Amit Dhingra
2025-10-14  7:39     ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox