Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3481208lqp; Tue, 26 Mar 2024 10:11:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUojusDHhZwCTQXcgoOaFleNF09XTXiG6hEtIRXqeoLeoU8QbvYGBgq+vVoGtgcsyzKgcSPC9I/JeI3f61PPy42SzQJHbcpNXFwYUgoDQ== X-Google-Smtp-Source: AGHT+IG6bkYKnAisxknMTqIF/ftff8pYqSPpPH3BtVklIzzOWCmWSzJS7NPqiTqRmaOE826G/7lw X-Received: by 2002:ac2:5f87:0:b0:515:8dd3:e94d with SMTP id r7-20020ac25f87000000b005158dd3e94dmr155332lfe.68.1711473090501; Tue, 26 Mar 2024 10:11:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711473090; cv=pass; d=google.com; s=arc-20160816; b=SG8Ejih4IjZSsV+69/4ssA+r6KVE6Jzq2oM2oaqayor9HVZrDgo/XyCOkedUpQaQrX Rzicx8hgeQZW48pfeO3gCIvlqfBEWHEJe23aBka+2uGAIKrSDAyRLnrdw9DLX6qa9hSL e/HoIF6NFQaExM+EIuLCzxhQvl50qPSaMFENKEEkLgs4+bYEucURzx/3HlkxEvmmehmN QkdvBrE7yf6zCMxwCGVSH9U8Zi7uufxo/SSNQxuZHA36DFDeFIoclOgORcs9I22QQA/6 zjEZNnMg79b2EibErSEQLMHOXa24UsNxo+GLX4eld3mN7/nXn5e/yAHy2RkZeYvpY0yD kCtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=52dnMPHzEu6IHQ/9AU3OAfVPLFSNsoup+66vLokUHSI=; fh=BF8DEI+lT8uoESPpCgNIPZR+1ubmbDRsNZi7BSZr4TQ=; b=W+LGf9ar6rE+u7Red4zk1fT9eiCiOmwvh1ck894zV+crjGORKh9QgpJCSlk0hgUivm Wip/1iNTt1ChzpvfF24GkhsEcZ4MWJkYkIByaN6K8bRGwyJ/9GNh5KQETgyGrDblwUHC 13ipxriNflqCGoFR4UdKLakjO86Wo6sBOkSZHGn+k03R38cgUPYCxn8FsB3zbb1EcbnZ 4wwFJOOIASma+mQDXzL86um7xD06Oy3IbR9PofHdnp1rhNiACGk9cZ491/RuesG++OFc 9ad3bweCp+6qSRoLNpPZ5hQ9/BUwd9MBtPjL9ZVIrJVqQGiiLZ//z/IvcbiC0QmYWcBx +GAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=l8bnMJH7; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=hEy2AotN; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-119556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p1-20020a170906a00100b00a4a393b47fbsi1883177ejy.1042.2024.03.26.10.11.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 10:11:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=l8bnMJH7; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=hEy2AotN; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-119556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 396161F82C0D for ; Tue, 26 Mar 2024 17:11:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 963AD1CA9E; Tue, 26 Mar 2024 17:10:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="l8bnMJH7"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="hEy2AotN" Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64F3117BA0; Tue, 26 Mar 2024 17:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.159 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711473057; cv=none; b=bbClJaACa3tu6dhjN2Wex65gzvxpVSgxi3HBwq9t3T94NNFIfHuJM1BWkTzhpjFa9CFzDS0ce9GS92IoiQp5dm7ekCYrPaYeSTs85riXJGpln2DnlHRnkBxcrNkFuveJ5BaoYZvNNwp002hvYLyFw4uikeGyBuGnntqWIMHaCmc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711473057; c=relaxed/simple; bh=80jd1OM0DPKB0ZHLY6XE8+mL/8W0WhAcOu/YBlVELGE=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=TzllBUrTo5AXJ6xTQixICJscaWI71bY17sxlIhLSfkVpOozMj60rHL6uCWYzieoyHkVGCjAf8YzZKcf7co54/L93186kfZvdsik55G9ZUnoidZBypBxFiEhLTv/jvV9DpMabpEC5B4sPjQuk55AkiQr/13Ym/ECQcqckUKD1WX8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=l8bnMJH7; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=hEy2AotN; arc=none smtp.client-ip=103.168.172.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 3DCB81140127; Tue, 26 Mar 2024 13:10:54 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Tue, 26 Mar 2024 13:10:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1711473054; x=1711559454; bh=52dnMPHzEu 6IHQ/9AU3OAfVPLFSNsoup+66vLokUHSI=; b=l8bnMJH7gWp7dTGLqLG4q7nyPX ZSutsf8+bN+5Jw/XZYFp0votPDUK4/ZRwNpC3yzNXrfZcY08RvbUU/sFxjJta5Af /BAv51LnAMjhdFyPeJdBYJtfUD6V279meMgR07QvchH8FZRHPIAXaLmZgHoLigoG R0Dux0lskgmnpZHxRUtrVFARZjnX9DMwy20fcauilsRChyqB7YkhT402ISK4Pq85 +is0NpGdHluaAWMeSi9a5SiJZBMflIN6Ta6vCmoVYXlJcrMNKV/v4W+CfJ88OJs6 CQBAiocSVpTHOaQtvKwdnuwbDcMuiohNJyOjBgcZAzOB/B8uI5Mj8ANLtkSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1711473054; x=1711559454; bh=52dnMPHzEu6IHQ/9AU3OAfVPLFSN soup+66vLokUHSI=; b=hEy2AotNdk4tfs2/Ualepk74pmsHfeoOk1BhLH/8ZEUd aMvxJ3W+0dlKwyfQxMfMYAwG9O4FxCw+gXArMGIWjXLGMap7oGf8+WML2lvArZQR S/BclxWlqNQHjknB9hivQXFS17RrOdZ/syOPBuFP/hTvExpjIfZxfElBHoQs7cOW nfuef6zo0Xi9ZkomTo20fkgRzi8X8M+STuEd3e4UrftHFhrgjWt5Sg8oc5rBtPGE UhTxZadD31ravTdA/3Qh/8cNHdk8tLuZve9P3jDMtB7GKwvok8rtDs9abE+JfQKR TxrkoMnRjRCxrUTtPzUCl6zkE3LHEEDaIZQxxdNNiw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddufedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0B5F4B6008F; Tue, 26 Mar 2024 13:10:52 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-328-gc998c829b7-fm-20240325.002-gc998c829 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: <20240326130647.7bfb1d92@gandalf.local.home> References: <20240326144741.3094687-1-arnd@kernel.org> <20240326145348.3318887-2-arnd@kernel.org> <20240326130647.7bfb1d92@gandalf.local.home> Date: Tue, 26 Mar 2024 18:10:32 +0100 From: "Arnd Bergmann" To: "Steven Rostedt" , "Arnd Bergmann" Cc: linux-kbuild@vger.kernel.org, "Masahiro Yamada" , "Alexei Starovoitov" , "Daniel Borkmann" , "Andrii Nakryiko" , "Masami Hiramatsu" , "Luis Chamberlain" , "Nicolas Schier" , "Nathan Chancellor" , "Eduard Zingerman" , "Song Liu" , "Yonghong Song" , "Kees Cook" , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-modules@vger.kernel.org Subject: Re: [PATCH 11/12] [v4] kallsyms: rework symbol lookup return codes Content-Type: text/plain On Tue, Mar 26, 2024, at 18:06, Steven Rostedt wrote: > On Tue, 26 Mar 2024 15:53:38 +0100 > Arnd Bergmann wrote: > >> -const char * >> +int >> ftrace_mod_address_lookup(unsigned long addr, unsigned long *size, >> unsigned long *off, char **modname, char *sym) >> { >> struct ftrace_mod_map *mod_map; >> - const char *ret = NULL; >> + int ret; > > This needs to be ret = 0; Fixed now, thanks! I'll send a v5 in a few days Arnd