From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DEC7C433EF for ; Tue, 5 Oct 2021 15:17:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E4AFE619A6 for ; Tue, 5 Oct 2021 15:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235749AbhJEPTJ (ORCPT ); Tue, 5 Oct 2021 11:19:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:38708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbhJEPTH (ORCPT ); Tue, 5 Oct 2021 11:19:07 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5EE606115A; Tue, 5 Oct 2021 15:17:16 +0000 (UTC) Date: Tue, 5 Oct 2021 11:17:14 -0400 From: Steven Rostedt To: "Gustavo A. R. Silva" Cc: Ingo Molnar , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] ftrace: Fix -Wcast-function-type warnings on powerpc64 Message-ID: <20211005111714.18ebea2b@gandalf.local.home> In-Reply-To: <20211005053922.GA702049@embeddedor> References: <20211005053922.GA702049@embeddedor> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 5 Oct 2021 00:39:22 -0500 "Gustavo A. R. Silva" wrote: > In order to make sure new function cast mismatches are not introduced > in the kernel (to avoid tripping CFI checking), the kernel should be > globally built with -Wcast-function-type. > > So, fix the following -Wcast-function-type warnings on powerpc64 > (ppc64_defconfig): I think I'll go back and add my linker magic. https://lore.kernel.org/all/20200617165616.52241bde@oasis.local.home/ I'll clean it up a bit too. I'll have a patch in a bit. -- Steve