cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
* Re: [Cocci] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule
@ 2020-06-08 12:47 Markus Elfring
  2020-06-08 13:12 ` [Cocci] [Linux-kernel-mentees] " Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Elfring @ 2020-06-08 12:47 UTC (permalink / raw)
  To: Jaskaran Singh, cocci; +Cc: linux-kernel-mentees

> Patches for improving the C parsing of attributes[1] introduced a lot
> redundant code in the C parser. This patch series resolves this by adding
> a rule for optional end attributes and merging the redundant code
> together.
>
> [1]
> [PATCH v2 00/25] cocci: Improve C parsing of attributes
> https://lore.kernel.org/cocci/20200528122428.4212-1-jaskaransingh7654321@gmail.com/

Could questionable source code have been avoided before?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

* Re: [Cocci] [Linux-kernel-mentees] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule
  2020-06-08 12:47 [Cocci] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule Markus Elfring
@ 2020-06-08 13:12 ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2020-06-08 13:12 UTC (permalink / raw)
  To: Markus Elfring, Jaskaran Singh; +Cc: linux-kernel-mentees, cocci

On Mon, Jun 08, 2020 at 02:47:41PM +0200, Markus Elfring wrote:
> > Patches for improving the C parsing of attributes[1] introduced a lot
> > redundant code in the C parser. This patch series resolves this by adding
> > a rule for optional end attributes and merging the redundant code
> > together.
> >
> > [1]
> > [PATCH v2 00/25] cocci: Improve C parsing of attributes
> > https://lore.kernel.org/cocci/20200528122428.4212-1-jaskaransingh7654321@gmail.com/
> 
> Could questionable source code have been avoided before?

Hi,

This is the semi-friendly patch-bot of Greg Kroah-Hartman.

Markus, you seem to have sent a nonsensical or otherwise pointless review
comment to a patch submission on a Linux kernel developer mailing list.
I strongly suggest that you not do this anymore.  Please do not bother
developers who are actively working to produce patches and features with
comments that, in the end, are a waste of time.

Patch submitter, please ignore Markus's suggestion; you do not needed
to follow it at all.  The person/bot/AI that sent it is being ignored by
almost all Linux kernel maintainers for having a persistent pattern of
behavior of producing distracting and pointless commentary, and inability
to adapt to feedback.  Please feel free to also ignore emails from them.

thanks,

greg k-h's patch email bot
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

* Re: [Cocci] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule
  2020-06-08 12:20 [Cocci] " Jaskaran Singh
@ 2020-06-09 10:00 ` Julia Lawall
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Lawall @ 2020-06-09 10:00 UTC (permalink / raw)
  To: Jaskaran Singh; +Cc: linux-kernel-mentees, cocci



On Mon, 8 Jun 2020, Jaskaran Singh wrote:

> Patches for improving the C parsing of attributes[1] introduced a lot
> redundant code in the C parser. This patch series resolves this by adding
> a rule for optional end attributes and merging the redundant code
> together.

All are applied, thanks.

julia

>
> [1]
> [PATCH v2 00/25] cocci: Improve C parsing of attributes
> https://lore.kernel.org/cocci/20200528122428.4212-1-jaskaransingh7654321@gmail.com/
>
> Jaskaran Singh (4):
>       parsing_c: parser: Add end_attributes_opt rule
>       parsing_c: parser: Use end_attributes_opt in decl2
>       parsing_c: parser: Use end_attributes_opt in field_declaration
>       parsing_c: parser: Use end_attributes_opt in cpp_other
>
>  parser_c.mly |   96 +++++------------------------------------------------------
>  1 file changed, 9 insertions(+), 87 deletions(-)
>
>
>
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

* [Cocci] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule
@ 2020-06-08 12:20 Jaskaran Singh
  2020-06-09 10:00 ` Julia Lawall
  0 siblings, 1 reply; 4+ messages in thread
From: Jaskaran Singh @ 2020-06-08 12:20 UTC (permalink / raw)
  To: cocci; +Cc: linux-kernel-mentees

Patches for improving the C parsing of attributes[1] introduced a lot
redundant code in the C parser. This patch series resolves this by adding
a rule for optional end attributes and merging the redundant code
together.

[1]
[PATCH v2 00/25] cocci: Improve C parsing of attributes
https://lore.kernel.org/cocci/20200528122428.4212-1-jaskaransingh7654321@gmail.com/

Jaskaran Singh (4):
      parsing_c: parser: Add end_attributes_opt rule
      parsing_c: parser: Use end_attributes_opt in decl2
      parsing_c: parser: Use end_attributes_opt in field_declaration
      parsing_c: parser: Use end_attributes_opt in cpp_other

 parser_c.mly |   96 +++++------------------------------------------------------
 1 file changed, 9 insertions(+), 87 deletions(-)



_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

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

end of thread, other threads:[~2020-06-09 10:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 12:47 [Cocci] [PATCH 0/4] parsing_c: parser: Add end_attributes_opt rule Markus Elfring
2020-06-08 13:12 ` [Cocci] [Linux-kernel-mentees] " Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2020-06-08 12:20 [Cocci] " Jaskaran Singh
2020-06-09 10:00 ` Julia Lawall

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).