Showing error 594

User: Jiri Slaby
Error type: Double Resource Put
Error type description: There is a try to return some resource to the system twice
File location: drivers/acpi/processor_core.c
Line in file: 269
Project: Linux Kernel
Project version: 2.6.28
Tools: Stanse (1.2)
Entered: 2011-11-07 22:20:28 UTC


Source:

 239                break;
 240        }
 241
 242        if (errata.piix4.bmisx)
 243                ACPI_DEBUG_PRINT((ACPI_DB_INFO,
 244                                  "Bus master activity detection (BM-IDE) erratum enabled\n"));
 245        if (errata.piix4.fdma)
 246                ACPI_DEBUG_PRINT((ACPI_DB_INFO,
 247                                  "Type-F DMA livelock erratum (C3 disabled)\n"));
 248
 249        return 0;
 250}
 251
 252static int acpi_processor_errata(struct acpi_processor *pr)
 253{
 254        int result = 0;
 255        struct pci_dev *dev = NULL;
 256
 257
 258        if (!pr)
 259                return -EINVAL;
 260
 261        /*
 262         * PIIX4
 263         */
 264        dev = pci_get_subsys(PCI_VENDOR_ID_INTEL,
 265                             PCI_DEVICE_ID_INTEL_82371AB_3, PCI_ANY_ID,
 266                             PCI_ANY_ID, NULL);
 267        if (dev) {
 268                result = acpi_processor_errata_piix4(dev);
 269                pci_dev_put(dev);
 270        }
 271
 272        return result;
 273}
 274
 275/* --------------------------------------------------------------------------
 276                              Common ACPI processor functions
 277   -------------------------------------------------------------------------- */
 278
 279/*
Show full sources