Skip to contentSkip to conversation

parsing_c: parser: Add end_attributes_opt rule

PATCH Markus Elfring 2 participants 2 messages Jun 8, 2020

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines

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/[email protected]/

Could questionable source code have been avoided before?

Regards,
Markus
_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

#1 lore raw
Quoted 10 lines · Markus Elfring
Quoted 8 lines

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/[email protected]/

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
_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees