[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 4/4] Remove unnecessary variables for function ret
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH 4/4] Remove unnecessary variables for function return value |
Date: |
Thu, 22 Mar 2018 17:40:27 +0000 |
On 22 March 2018 at 17:30, Eric Blake <address@hidden> wrote:
> I'm less certain of whether our Coccinelle scripts have easy ways to exclude
> specific files. We already have scripts/cocci-macro-file.h to help
> Coccinelle not choke on some our existing files, but I'm not sure if
> Coccinelle has a config-file like way that is easy to maintain as a data
> file in-tree for blacklist files to leave alone (right now, when I run
> Coccinelle, I have to manually remember to pass a long command line cribbed
> out of the commit message of an earlier run to pick up things like
> cocci-macro-file.h, instead of an easy formula that points to a single
> config file to pull in all the usual options).
Coccinelle itself doesn't seem to have a config file mechanism.
We could probably approximate one by using a wrapper script
that skips some files and run the passed spatch file on the rest;
scripts/clean-includes has some "skip files we don't want to try
to run on" code that could perhaps be generalized.
thanks
-- PMM
Re: [Qemu-arm] [PATCH 4/4] Remove unnecessary variables for function return value, Philippe Mathieu-Daudé, 2018/03/22
Re: [Qemu-arm] [PATCH 4/4] Remove unnecessary variables for function return value, David Gibson, 2018/03/22
Re: [Qemu-arm] [PATCH 4/4] Remove unnecessary variables for function return value, Alberto Garcia, 2018/03/23
Re: [Qemu-arm] [PATCH 0/4] coccinelle: re-run scripts from scripts/coccinelle, Eric Blake, 2018/03/22
Re: [Qemu-arm] [PATCH 0/4] coccinelle: re-run scripts from scripts/coccinelle, Eric Blake, 2018/03/22
Re: [Qemu-arm] [Qemu-devel] [PATCH 0/4] coccinelle: re-run scripts from scripts/coccinelle, no-reply, 2018/03/22