Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2815358pxb; Mon, 1 Nov 2021 02:21:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/QMZIZy/nOI7ZT/28UAo7QMRTGHofw+gNfnadnPoOXZOZ1uEFuPjZzCUUauKCOPc+my3Y X-Received: by 2002:a05:6e02:604:: with SMTP id t4mr18630479ils.129.1635758498494; Mon, 01 Nov 2021 02:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635758498; cv=none; d=google.com; s=arc-20160816; b=w03AngzD+UyIIbqOfZEbVp+z80GNrJ0TBdNDbQwv7pxV6jnbVDKcqeBRjOvenJIUs/ CXYY0ouranV5POCrpG2HIjw3D056JR4saADoI/35efnRTdgDpYtSNbMiqK5Oqq9B224T 9ETHS+C9QwaWJP3X3FtgGHxQB6pPwt8/8Oi90hsVgaWmMDOOCvkByHMIA/d82cTRPUru NWFm2n3EgBKUruYHYhvHkGwaP66olY7CIGN+S5zRhLbm3kqXkEyv6IHS+IPILKbLfsw7 dOd9fPTmAOe4DXUID93QEyk03PwM87HSUgLSPexEDi0CACSYmMPvksbLNYWxbbAq0uMt UwhQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FS3E+pOu7eTJli+5pWR73V982oiYLpMPJhi/gdAKz6c=; b=Y9uRDCFvJ+f3E+mjP1Iwg13NgcMgKAQsJ7rg0H7dwO5gjQaSxBrBL9i7HHaI2z0MwO vbwqSLvGJvb3CcdURafQfUzFIHs5CQzbaSnKptGCKjeqOsI+yi/BxSf2SfRF94SANYVx soQ57XQvVsWD0Cvh8cQL+jKn/xQUADeDCMuIzvOSKB/HnEZTNCSydoD4h+Ncb3wFlxQn +vb995AfW1tAIlqJVJviAJAFdLdpkkQcbk61sh5u7dmeLGtS7gAAtrCibvCgZdquQVVO NAfPCrCpCyN2erFZ3kw8Wk0uNbcV7sNH/MMJmiKjHodN1Nk+EDxujYZZMKQSe6U3BU7t t1rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t2g6T4wO; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w28si17787541jal.3.2021.11.01.02.21.27; Mon, 01 Nov 2021 02:21:38 -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=@linuxfoundation.org header.s=korg header.b=t2g6T4wO; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231977AbhKAJWG (ORCPT + 99 others); Mon, 1 Nov 2021 05:22:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:57652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232045AbhKAJV3 (ORCPT ); Mon, 1 Nov 2021 05:21:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EED89610A2; Mon, 1 Nov 2021 09:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635758336; bh=RMhknKR+MnZX1z2g3wT+ecbzpg5j0QCQpcLX/edj4ZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t2g6T4wOgL73E3mLdsxve3jPmkBXaAjamzjbFE9TiTXGLDnvd1RFyn2FOjgWvOUMX rG4vJ8u1jkcSnTs+M62Nm9e1YkG2q1QTzzJhmnc2h24X3RP6/GOZCSYe1XJvyWtdCF g5YCMj6cre/ok2CZIpElFdnmATc11LQG/fFJ2K7M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masami Hiramatsu , Arnd Bergmann , "Russell King (Oracle)" Subject: [PATCH 4.4 03/17] ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype Date: Mon, 1 Nov 2021 10:17:06 +0100 Message-Id: <20211101082441.446779610@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211101082440.664392327@linuxfoundation.org> References: <20211101082440.664392327@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann commit 1f323127cab086e4fd618981b1e5edc396eaf0f4 upstream. 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() Link: https://lore.kernel.org/all/20201027093057.c685a14b386acacb3c449e3d@kernel.org/ Fixes: 24ba613c9d6c ("ARM kprobes: core code") Acked-by: Masami Hiramatsu Signed-off-by: Arnd Bergmann Signed-off-by: Russell King (Oracle) Signed-off-by: Greg Kroah-Hartman --- arch/arm/probes/kprobes/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/probes/kprobes/core.c +++ b/arch/arm/probes/kprobes/core.c @@ -666,7 +666,7 @@ static struct undef_hook kprobes_arm_bre #endif /* !CONFIG_THUMB2_KERNEL */ -int __init arch_init_kprobes() +int __init arch_init_kprobes(void) { arm_probes_decode_init(); #ifdef CONFIG_THUMB2_KERNEL