Skip to contentSkip to conversation

scripts: coccicheck: Do not use shift command when rule is specified

PATCH Markus Elfring 2 participants 2 messages Sep 9, 2020 Kernel janitors

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

Modify coccicheck to use the shift command only when number of shell arguments is not zero.

I suggest to add the tag “Fixes” to the commit message.

Quoted 2 lines

Changes in V2:
- Fix spelling errors as suggested by Markus Elfring

Would you like to adjust the last word in the previous patch subject accordingly?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

#1 lore raw
Quoted 4 lines · Markus Elfring
Quoted 2 lines

Modify coccicheck to use the shift command only when number of shell arguments is not zero.

I suggest to add the tag “Fixes” to the commit message.

I don't think there is any need for that. This is not a patch that should be backported. The previous situation did not cause any problem with the execution of make coccicheck, only a tiresome warning message.

julia

Quoted 14 lines
Quoted 4 lines

Changes in V2:
- Fix spelling errors as suggested by Markus Elfring

Would you like to adjust the last word in the previous patch subject accordingly?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci