<gh_stars>10-100
{"all_contexts":[
{"num_warnings": 1,
"context":[{"lineno": -1, "instr": "  %7 = alloca i1, align 1"}, {"lineno": 365, "file": "drivers/pci/hotplug/acpiphp_ibm.c", "instr": "bytes_read = ibm_get_table_from_acpi(&table);"}],
"warnings":[{"warn_data": {"at_line": 290, "warn_str": "Trying to use a global variable without locking.", "at": "status = acpi_evaluate_object(ibm_acpi_handle, \"APCI\", NULL, &buffer);", "inst_trace": [{"instr_func": "ibm_read_apci_table", "instr_loc": -1, "instr": "  %7 = alloca i1, align 1"}, {"instr_func": "ibm_read_apci_table", "instr_loc": 365, "instr_file": "drivers/pci/hotplug/acpiphp_ibm.c", "instr": "bytes_read = ibm_get_table_from_acpi(&table);"}], "at_file": "drivers/pci/hotplug/acpiphp_ibm.c", "by": "GlobalVariableRaceDetector says:", "at_func": "ibm_get_table_from_acpi"}, "warn_no": 1}]},
{"num_warnings": 1,
"context":[{"lineno": -1, "instr": "  %7 = alloca i1, align 1"}, {"lineno": 365, "file": "drivers/pci/hotplug/acpiphp_ibm.c", "instr": "bytes_read = ibm_get_table_from_acpi(&table);"}, {"lineno": 315, "file": "drivers/pci/hotplug/acpiphp_ibm.c", "instr": "lbuf = kzalloc(size, GFP_KERNEL);"}],
"warnings":[{"warn_data": {"at_line": 557, "warn_str": "Trying to use a global variable without locking.", "at": "  %234 = getelementptr [3 x [14 x %struct.kmem_cache*]], [3 x [14 x %struct.kmem_cache*]]* @kmalloc_caches, i64 0, i64 %233, !dbg !6087", "inst_trace": [{"instr_func": "ibm_read_apci_table", "instr_loc": -1, "instr": "  %7 = alloca i1, align 1"}, {"instr_func": "ibm_read_apci_table", "instr_loc": 365, "instr_file": "drivers/pci/hotplug/acpiphp_ibm.c", "instr": "bytes_read = ibm_get_table_from_acpi(&table);"}, {"instr_func": "ibm_get_table_from_acpi", "instr_loc": 315, "instr_file": "drivers/pci/hotplug/acpiphp_ibm.c", "instr": "lbuf = kzalloc(size, GFP_KERNEL);"}], "at_file": "./include/linux/slab.h", "by": "GlobalVariableRaceDetector says:", "at_func": "kzalloc"}, "warn_no": 1}]}]}