From nobody Mon Apr 13 12:01:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BA93C00140 for ; Fri, 12 Aug 2022 11:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238290AbiHLLnf (ORCPT ); Fri, 12 Aug 2022 07:43:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238012AbiHLLm7 (ORCPT ); Fri, 12 Aug 2022 07:42:59 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAD21AF0E3; Fri, 12 Aug 2022 04:42:57 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A545338E44; Fri, 12 Aug 2022 11:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1660304576; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=P/Jodv0aOgQoc4P/PYAfGCSrSQBPBP9PZ9VWQqXrkAI=; b=mW7ChpQAh+wMZ0PNPkWSTaqlMzZgRn7PeTCq38n5dOkz7VuNJJ6cGbRfNmm40U4ppHHyoK x1WLp0/HuI4C+X/mpa2nT0c2+ikd9/X3sE4TMUdxsPrP6ZJ7Anc/2Hz7SIifVy5oPchQt0 EB/XYdS5k3z8lA4NdA2XfkazCbAWQto= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1660304576; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=P/Jodv0aOgQoc4P/PYAfGCSrSQBPBP9PZ9VWQqXrkAI=; b=1usvA9pNxgLdanBz4zsr497Va9Yhr02Uy5HheyBL4Kr17XN8SFoVDRWm/2DyzhjL0Gif4a eTAq4PfpbpQo6oBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 7E55C13AAE; Fri, 12 Aug 2022 11:42:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id iDXOHcA89mJifAAAMHmgww (envelope-from ); Fri, 12 Aug 2022 11:42:56 +0000 Message-ID: <2983e2e0-6850-ad59-79d8-efe83b22cffe@suse.cz> Date: Fri, 12 Aug 2022 13:42:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Subject: [PATCH] perf: fix coding style in build-id.c To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Language: en-US Cc: Arnaldo Carvalho de Melo Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Use tabs instead of 8 spaces for the indentation. Signed-off-by: Martin Liska --- tools/perf/util/build-id.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c index 9e176146eb10..0cc68cdd84c8 100644 --- a/tools/perf/util/build-id.c +++ b/tools/perf/util/build-id.c @@ -652,17 +652,17 @@ static char *build_id_cache__find_debug(const char *s= build_id, nsinfo__mountns_exit(&nsc); =20 #ifdef HAVE_DEBUGINFOD_SUPPORT - if (realname =3D=3D NULL) { - debuginfod_client* c =3D debuginfod_begin(); - if (c !=3D NULL) { - int fd =3D debuginfod_find_debuginfo(c, - (const unsigned= char*)sbuild_id, 0, - &realname); - if (fd >=3D 0) - close(fd); /* retaining reference by realn= ame */ - debuginfod_end(c); - } - } + if (realname =3D=3D NULL) { + debuginfod_client* c =3D debuginfod_begin(); + if (c !=3D NULL) { + int fd =3D debuginfod_find_debuginfo(c, + (const unsigned char*)sbuild_id, 0, + &realname); + if (fd >=3D 0) + close(fd); /* retaining reference by realname */ + debuginfod_end(c); + } + } #endif =20 out: --=20 2.37.1