Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1449587pxb; Fri, 24 Sep 2021 04:58:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym0pQzvxz3zS0vgFsRY+tU3q+5nSPXbjKnbkV9OjRfNjf9u2SDxj3/q3ADURoW4k3F9nnc X-Received: by 2002:a17:906:1c99:: with SMTP id g25mr10655051ejh.521.1632484698816; Fri, 24 Sep 2021 04:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632484698; cv=none; d=google.com; s=arc-20160816; b=nCN3Nws/kTWblbeMa6IWzCokEOiIOPu3ApgyOKIQQei9kDV8uAjURL+5uAoP8qNR88 7R5mzy/TtU686J4i7VTlpwMHcZdex8XHbZCO/9LvRUx6R7iSRTv6vl2MPxt06D+3M2+g 5Z4MX8dgQ+XEA6EAIFETcrDloChLxsTpaPeU5TYHGX/czsJSBOvxw7jYnhbWK5ticT2C viXiqOqyY6/K7yvVv86ZcbsF/0oitTvURtquNNWaL9dQNqNuAIgeONHyQR4f5PEXBpQB p0l4v4iUQ8lHxgwZjoxdPJwJdaRUaketOSCBFIHixjsB4D5jkTY+BY4RPoQ7FTzIT0p+ Yx+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aBS9NggcCmuyh4R9STIQ+PI+0KwSxwYzkpY/chrkiwc=; b=Nw0HNoQUZLPCuWy+qIWny9jFdRX3BD6R5hFRKUSOU4Z79Fki/vblO4hV+YNYP7aH/3 zPOlhEtxosS+i96S3vDbWeV9PXVCaKeDTxfDTM9Ka3VtByU62ZL4tnNzmGc67S20c1CE Z8y2fEG+0xwxwnHVYvzFLh7+JTIpJIOerHdDgpYsb2yMDmg6cF6k8pF7O0mZ0QumG5ld fYA1ntQVRWNjSw4NEk3DoaDa5bsMBGzNKz63KSjiskpCGBcqeCGY9U1q+kAemEiF49QZ mrfJZltxDIH8y5BXTQidZjTg/grnR7+wS8A4wQIozlBGPeSlHAAPDYimuYqN5uV+kTX9 ptfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cEzoVkd6; 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 7si8774580ejk.642.2021.09.24.04.57.53; Fri, 24 Sep 2021 04:58:18 -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=cEzoVkd6; 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 S244321AbhIXLxr (ORCPT + 99 others); Fri, 24 Sep 2021 07:53:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:40652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230238AbhIXLxp (ORCPT ); Fri, 24 Sep 2021 07:53:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2F29760FA0; Fri, 24 Sep 2021 11:52:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632484332; bh=wZ7JvLbW6/CccQC7u8oTZoyuiNApc1cmhBoRk7LItGI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cEzoVkd6fMFdfl4pHJVhO355zwb+8jFkAzNMa/HzeG8UXOspqCAJem81cSioMwIVQ 2H3XEbHdJCro16tMu74Ks3Jfy5JGrdiHup/26axU0FhTdpEh/QpHSWdVO1SRlDgq20 0wA4Hvd5ZhagBdB68AtzgIHLmT3RLabPIAN0471kaQK1HxYg7AjYGsjMaleymo9kNx 4Z1kcUqh9X/flHc8ox3YGmViTqc9dMjVjFT2Pt79lTbg+HuKvcdKA63AWhrFd1UACJ mq10GtCH+Y9yCsuInwjVsA0quoHfmS0vnC4iG06J8c5lbU9d4xP5HaQ3HBOMy9AFjl ym/uoKo5BhbKQ== Date: Fri, 24 Sep 2021 07:52:11 -0400 From: Sasha Levin To: Greg Kroah-Hartman Cc: Florian Fainelli , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Steven Rostedt , Ingo Molnar , Russell King , Alex Sverdlin , "moderated list:ARM PORT" Subject: Re: [PATCH stable 4.9 v2 0/4] ARM: ftrace MODULE_PLTS warning Message-ID: References: <20210922170246.190499-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 23, 2021 at 12:35:03PM +0200, Greg Kroah-Hartman wrote: >On Wed, Sep 22, 2021 at 10:02:42AM -0700, Florian Fainelli wrote: >> This patch series is present in v5.14 and fixes warnings seen at insmod >> with FTRACE and MODULE_PLTS enabled on ARM/Linux. > >All now queued up, thanks. Looks like 4.19 and older break the build: arch/arm/kernel/ftrace.c: In function 'ftrace_update_ftrace_func': arch/arm/kernel/ftrace.c:157:9: error: too few arguments to function 'ftrace_call_replace' 157 | new = ftrace_call_replace(pc, (unsigned long)func); | ^~~~~~~~~~~~~~~~~~~ arch/arm/kernel/ftrace.c:99:22: note: declared here 99 | static unsigned long ftrace_call_replace(unsigned long pc, unsigned long addr, | ^~~~~~~~~~~~~~~~~~~ arch/arm/kernel/ftrace.c: In function 'ftrace_make_nop': arch/arm/kernel/ftrace.c:240:9: error: too few arguments to function 'ftrace_call_replace' 240 | old = ftrace_call_replace(ip, adjust_address(rec, addr)); | ^~~~~~~~~~~~~~~~~~~ arch/arm/kernel/ftrace.c:99:22: note: declared here 99 | static unsigned long ftrace_call_replace(unsigned long pc, unsigned long addr, | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:303: arch/arm/kernel/ftrace.o] Error 1 I've dropped them. -- Thanks, Sasha