On Fri, 1 Nov 2019, Markus Elfring wrote: > > The following SmPL script variant can generate an usable test result. > > Yesterday I noticed during the preparation of a corresponding commit > that unwanted space characters were added at three places in the generated patch. > > elfring@Sonne:~/Projekte/Linux/next-patched> spatch --in-place drivers/scsi/megaraid/megaraid_sas_base.c ~/Projekte/Coccinelle/janitor/move_error_code_assignment_to_function_end2.cocci > > git GUI: > … > @@ -8270,31 +8270,24 @@ static int megasas_mgmt_ioctl_fw(struct file *file, unsigned long arg) > … > + if (!instance) > … > + if (instance->requestorId && !allow_vf_ioctls) > … > + if (instance->unload == 1) > … And the unwanted space characters are where? > > How would you like to improve the pretty-printing for the Coccinelle software? I don't know. How would you like to improve the pretty-printing for the Coccinelle software? julia