mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
clang: Fix static analysis warnings from clang
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -89,8 +89,9 @@ int main(int argc, char *argv[])
|
||||
if (!is_alive()) {
|
||||
INFO_PRINT("gpu reset? restarting daemon\n");
|
||||
intel_register_access_fini();
|
||||
ret = intel_register_access_init(intel_get_pci_device(),
|
||||
1);
|
||||
ret = intel_register_access_init(intel_get_pci_device(), 1);
|
||||
if (ret)
|
||||
INFO_PRINT("Reg access init fail\n");
|
||||
}
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user