]> git.baikalelectronics.ru Git - kernel.git/commitdiff
perf build-id: Fix coding style, replace 8 spaces by tabs
authorMartin Liška <mliska@suse.cz>
Fri, 12 Aug 2022 11:42:56 +0000 (13:42 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 12 Aug 2022 13:22:49 +0000 (10:22 -0300)
Use tabs instead of 8 spaces for the indentation.

Signed-off-by: Martin Liška <mliska@suse.cz>
Link: http://lore.kernel.org/lkml/2983e2e0-6850-ad59-79d8-efe83b22cffe@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/build-id.c

index 9e176146eb10b698eeb5d1560b31dae664d44f62..0cc68cdd84c88cc1ec1c47c2e7dcf76547671bc8 100644 (file)
@@ -652,17 +652,17 @@ static char *build_id_cache__find_debug(const char *sbuild_id,
        nsinfo__mountns_exit(&nsc);
 
 #ifdef HAVE_DEBUGINFOD_SUPPORT
-        if (realname == NULL) {
-                debuginfod_client* c = debuginfod_begin();
-                if (c != NULL) {
-                        int fd = debuginfod_find_debuginfo(c,
-                                                           (const unsigned char*)sbuild_id, 0,
-                                                           &realname);
-                        if (fd >= 0)
-                                close(fd); /* retaining reference by realname */
-                        debuginfod_end(c);
-                }
-        }
+       if (realname == NULL) {
+               debuginfod_client* c = debuginfod_begin();
+               if (c != NULL) {
+                       int fd = debuginfod_find_debuginfo(c,
+                                       (const unsigned char*)sbuild_id, 0,
+                                       &realname);
+                       if (fd >= 0)
+                               close(fd); /* retaining reference by realname */
+                       debuginfod_end(c);
+               }
+       }
 #endif
 
 out: