qemu/scripts
Alexander Graf 9fbe478444 checkpatch: don't error out on },{ lines
When having code like this:

    static PCIDeviceInfo piix_ide_info[] = {
        {
            .qdev.name    = "piix3-ide",
            .qdev.size    = sizeof(PCIIDEState),
            .qdev.no_user = 1,
            .no_hotplug   = 1,
            .init         = pci_piix_ide_initfn,
            .vendor_id    = PCI_VENDOR_ID_INTEL,
            .device_id    = PCI_DEVICE_ID_INTEL_82371SB_1,
            .class_id     = PCI_CLASS_STORAGE_IDE,
        },{
            .qdev.name    = "piix4-ide",
            .qdev.size    = sizeof(PCIIDEState),
            .qdev.no_user = 1,
            .no_hotplug   = 1,
            .init         = pci_piix_ide_initfn,
            .vendor_id    = PCI_VENDOR_ID_INTEL,
            .device_id    = PCI_DEVICE_ID_INTEL_82371AB,
            .class_id     = PCI_CLASS_STORAGE_IDE,
        },{
            /* end of list */
        }
    };

checkpatch currently errors out, claiming that spaces need to follow
commas. However, this particular style of defining structs is pretty
common in qemu code and very readable. So let's declare it as supported
for the above case.

Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-07-17 01:54:25 +02:00
..
checkpatch.pl checkpatch: don't error out on },{ lines 2011-07-17 01:54:25 +02:00
create_config Add scripts directory 2011-01-20 20:54:21 +00:00
feature_to_c.sh gdbstub-xml: avoid a warning from sparse 2011-01-23 11:43:25 +00:00
get_maintainer.pl get_maintainer: update to match qemu tree 2011-06-16 00:20:06 +03:00
hxtool Add scripts directory 2011-01-20 20:54:21 +00:00
make_device_config.sh Add scripts directory 2011-01-20 20:54:21 +00:00
qemu-binfmt-conf.sh s390x: s390x-linux-user support 2011-05-20 17:35:12 +02:00
refresh-pxe-roms.sh PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
signrom.sh Add scripts directory 2011-01-20 20:54:21 +00:00
simpletrace.py simpletrace: Thread-safe tracing 2011-03-07 15:34:17 +00:00
texi2pod.pl Add scripts directory 2011-01-20 20:54:21 +00:00
tracetool trace: [ust] fix generation of 'trace.c' on events without args 2011-04-26 13:14:49 +01:00
update-linux-headers.sh Add kernel header update script 2011-06-20 15:12:22 -03:00