Messages in this thread | | | Subject | scripts: checkpatch.pl & Lindent (minor complaint) | From | Mimi Zohar <> | Date | Tue, 12 Nov 2013 09:42:57 -0500 |
| |
Hi,
scripts/Lindent and scripts/checkpatch disagree whether the fields in a statically initialized array should be blank separated.
static struct ima_rule_entry default_rules[] = { {.action = DONT_MEASURE,.fsmagic = PROC_SUPER_MAGIC,.flags = IMA_FSMAGIC},
Lindent adds a blank before '.fsmagic', which checkpatch then complains about (eg. commit 75834fc3).
thanks,
Mimi
| |