Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5009827pxb; Tue, 28 Sep 2021 08:45:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXzZ66CmbTbk6V2WhbwjIEm7D2TaLPw7n2KaAgoQjHWaGF8Lk9cx8zJG9LwV9Ad8Rp4cEv X-Received: by 2002:a17:90a:19d2:: with SMTP id 18mr696554pjj.122.1632843941535; Tue, 28 Sep 2021 08:45:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632843941; cv=none; d=google.com; s=arc-20160816; b=Ln4GKVn5Dcv8g/Mj+LeHU80CCJeHH+1ef1m3SMgY8faIwOVNnkjAnHPMgk36PfnKGq EFIrftyCI29JVTbLn06xN8cd77932sYvN6dev+KKBrpBr9ZAHf2ogY7lJQbpsJl69ZA6 gyVVQAXfwncyFjKlLpTYd1h1qZ/SeNLZ3+lar+JuEHRK6MTlwHQjyjeU5+lyeC57tWpf 3aZIjXZXsLF0T8td+yW+QJnYIwlhUfEM9qHJVqLB0QXJa1NwT+YXx2YVti5EJrKfVzQu dQk929Fb7wCmbol5ifVoiejJntSZjvRzNGoASJkFg2intShIqP9WWx16362LC8HDhd/i HjBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=X9mZ7dMwCIcz18Q4s/ZqKCzTicygm8jkf3Sx3bw6NWg=; b=DmoLriFK8LkXuyUF5+c3g9no8Vjv2tY/vnROD/IKdKM+aRKTq636LOf+sRP4VYooG7 YvT1AqMBJnC5Fckwgs3VxQQV+2KpH9GPZUCDYmt60rJQcvTL22nbsOA50mUkkM2/bQ2H /l3cNLSz2uFfmR0lwHE87hY+cU1hAEdF02Z4F0NhYhKwJSS123MkmLtTbSQEOwDG3u2R r3sw7jLh1eAoSKRSabUQiGV/kQ3gRYJZBFhq6uPDdgdZoKY4FiVhjLuNG8hftazJAsa7 cJ8oyUdZs/TKCyPjditaHwvY9TATYyCFR3TEYV5r1EzGKUFohx5ZutxBy79fAL7eiWsq KqaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lTK6v1rR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t11si3297097pjl.137.2021.09.28.08.45.22; Tue, 28 Sep 2021 08:45:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lTK6v1rR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241768AbhI1PoC (ORCPT + 99 others); Tue, 28 Sep 2021 11:44:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:60754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241743AbhI1Pnz (ORCPT ); Tue, 28 Sep 2021 11:43:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1BEA061262; Tue, 28 Sep 2021 15:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632843736; bh=tDbRq5i6qASgBwM/j3ZRVdUHgka0QCfL/gLEW9HmgWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lTK6v1rRFxj2VgIC2rKTFVxSoOcmPksPNC1LBLSYWCv2jjTQqb/0zqhAUXuP5U94G wjLe7bZ+icVeYTXH5a2YWl2rA3w6ZJKkTLW5T5zBkFzlmFq8FEq03u6hgmLelIMJNk n7UkNNv1yyrKlInW7WnYteD9Rrsj8fhb8o6dGduDpwa9DhyetX65VIIOnyIp3aDXyz NtRDTOVIjAKy8LIp476KbNm1g9pdbVnfpzgGikcVmNmUC892phrbttqdiDsHy0LBrV zUNhk0pJnpZVUHngdBv2aFfO2Ak3oN6OAS9C/XtaimU3BWb+QMXW5uwSLPuvdoieVe MWXqDLjASdv+w== From: Arnd Bergmann To: Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Ard Biesheuvel , Linus Walleij , Nathan Chancellor , Nick Desaulniers , llvm@lists.linux.dev, Masami Hiramatsu Subject: [PATCH 08/14] ARM: kprobes: fix arch_init_kprobes() prototype Date: Tue, 28 Sep 2021 17:41:37 +0200 Message-Id: <20210928154143.2106903-9-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210928154143.2106903-1-arnd@kernel.org> References: <20210928154143.2106903-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann With extra warnings enabled, gcc complains about this function definition: arch/arm/probes/kprobes/core.c: In function 'arch_init_kprobes': arch/arm/probes/kprobes/core.c:465:12: warning: old-style function definition [-Wold-style-definition] 465 | int __init arch_init_kprobes() Fixes: 24ba613c9d6c ("ARM kprobes: core code") Acked-by: Masami Hiramatsu Link: https://lore.kernel.org/all/20201027093057.c685a14b386acacb3c449e3d@kernel.org/ Signed-off-by: Arnd Bergmann --- arch/arm/probes/kprobes/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/probes/kprobes/core.c b/arch/arm/probes/kprobes/core.c index 27e0af78e88b..9d8634e2f12f 100644 --- a/arch/arm/probes/kprobes/core.c +++ b/arch/arm/probes/kprobes/core.c @@ -439,7 +439,7 @@ static struct undef_hook kprobes_arm_break_hook = { #endif /* !CONFIG_THUMB2_KERNEL */ -int __init arch_init_kprobes() +int __init arch_init_kprobes(void) { arm_probes_decode_init(); #ifdef CONFIG_THUMB2_KERNEL -- 2.29.2