Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2366575ybh; Fri, 24 Jul 2020 10:56:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC4rus0Xu9xPHaUoevO8iaMndLU/JxUwxsKYCEUIxGDkwK+FxyQcuAqednUyFOCRfMj2jz X-Received: by 2002:a17:906:aac9:: with SMTP id kt9mr9950595ejb.488.1595613389031; Fri, 24 Jul 2020 10:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595613389; cv=none; d=google.com; s=arc-20160816; b=HtNFyJ3/9rTlCzeqM4++Uu88upbpdSZXRNNcGYHOcy1roJqULob3F877iTcSclGHKa xT7PWjsNo3bxDIfWWwYHcaffalnf4Y0lvjKjtNHa6Ey7KQMk1qkMhQTRd4Q3cUJ6vvfk gwDV4pjxCGnTTauwXL5QclfehCoQPzFRwu0iVShQMGCcAGJ1iaUT4pZYuHlm8vxTiLkp qVyGXYX0c8lXxFrgsEv35ood2lJl0eghiPkFNmTdPz1JQXUGoB2YXt7oJ3kcOwPJpLc4 q8xHhT/grdtY7Gk1XSSmBDZR16Y4GlBLaXgp6Lx7Yp8XBvofmq2N+iLQQXYIZvCY2ftT vHpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:user-agent :in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:dkim-signature; bh=LxwBDjmbYkZbZ8zs83jc7VWZqf+PUtHMWfeHvIFgJak=; b=KkLltcvLHXdokBlbGuvUq0N3RiBum9+/NwV0Lftf8WY4mfZNeE7KLHI55hX3hspYL6 TXL87nzOjjxpTF7SU6GT4p1nJvdMJQXUSYWIZeJQ2P+lPocMzNpPOyc87wszLroF8bCx 0ifpPrpd5GUGKaNjoaBF8Mf86yTAz+js8cHF9nH+ylKazsrPg5zUKNffhN3P7nlje/qG Lt+WJPhx19zJVW+mzEBlRC9pgPKvo0m3Una8Nv6EREKCp5G40jS49Pp+mzT3WFiMs2sL qspQOk3LeVA3ujfgz5/5OhBbTQqZ5G9rgwg1k4CTOJiiOVaaj4hLH9YDO62ts1WYbuw0 I/SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=bCaccUrn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 1si994859ejo.509.2020.07.24.10.56.06; Fri, 24 Jul 2020 10:56:29 -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=@gmx.net header.s=badeba3b8450 header.b=bCaccUrn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbgGXRzs (ORCPT + 99 others); Fri, 24 Jul 2020 13:55:48 -0400 Received: from mout.gmx.net ([212.227.17.20]:55853 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbgGXRzr (ORCPT ); Fri, 24 Jul 2020 13:55:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1595613303; bh=bd7AfjvjsR5Qk3rBOb/BoQCvIxeYKyl8zxvU5zHcong=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=bCaccUrneFucbaK/zbVzOlht2A5J/ALAIowZJFqBqm++eae7RE1xOOqTOqFd4gNHn Q8WKBIYmGoJxWjWMvBnzc85X4MjQWTXgTGGHM/6I9P4bDYHyMPfGD1sm620yRp/z+X gsJ0zKtRI5HK03a3WAFpZsQHQzkm8+Au+M204d1o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from ubuntu ([79.150.73.70]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MwwZX-1kidZs0CJH-00yN4L; Fri, 24 Jul 2020 19:55:03 +0200 Date: Fri, 24 Jul 2020 19:55:00 +0200 From: Oscar Carter To: Steven Rostedt Cc: Oscar Carter , Ingo Molnar , Kees Cook , linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Jann Horn Subject: Re: [PATCH v2 2/2] kernel/trace: Remove function callback casts Message-ID: <20200724175500.GD3123@ubuntu> References: <20200719155033.24201-1-oscar.carter@gmx.com> <20200719155033.24201-3-oscar.carter@gmx.com> <20200721140545.445f0258@oasis.local.home> <20200724161921.GA3123@ubuntu> <20200724123528.36ea9c9e@oasis.local.home> <20200724171418.GB3123@ubuntu> <20200724133656.76c75629@oasis.local.home> <20200724134020.3160dc7c@oasis.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200724134020.3160dc7c@oasis.local.home> User-Agent: Mutt/1.10.1 (2018-07-13) X-Provags-ID: V03:K1:TZ1DP0On1XKZYjrBrZj4Y7milA9q+ptPxjNoL+TNYbViNPsNrmO pMU1XNJEJiNanv5f0voeZj2AR0wwXO1fZJ8NR+CMNGqLm4oBspFGZ0tPmPudni1kYPM2JOm RkL55fz1CfCzvfFs8xJW3nXAS+/isSVSXviJk0dzsXoAuQ8riytNUPL2dmOWIgip4XPU3KF Lh30lP6vYbcjJ0RnIiAcw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:N6C+JegwCJg=:o2+Jlr92h0aFOVMtUVSrfs KTl+twPvQlzX/dYn5OYT+zZXK7Wa9uJVPDqTHxFiHw3jr+sACywr/4PMYE2hxKV8STeMRlAlu FT/YIJ2UMu8vrCDFS6QOiiVBhtD+WbbH7b2tqpEEDt/ZD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dEDFjKmvbjVrIFo/bWIS6fGuqMDMNYo2TFrg 7d0fsUo6WjBrtk1HaQiqfg2jUqhF2bIWx9B8/Pg== Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 01:40:20PM -0400, Steven Rostedt wrote: > On Fri, 24 Jul 2020 13:36:56 -0400 > Steven Rostedt wrote: > > > Which BTW, is supported by the following architectures: > > > > arm > > arm64 > > csky > > parisc > > powerpc > > riscv > > s390 > > x86 > > And here's a list of architectures that have function tracing but need > to be updated: > > ia64 > microblaze > mips > nds32 > sh > sparc > xtensa > > > > > All of the above architectures should not even be hitting the code > > that does the function cast. What architecture are you doing all this > > for? > > Which one of the above is this patch set for? This patch is the result of a warning obtained with the following: make allmodconfig ARCH=3Dpowerpc make ARCH=3Dpowerpc CROSS_COMPILE=3Dpowerpc-linux-gnu- -j4 And with the -Wcast-function-type enabled in the top level makefile. > > -- Steve Thanks, Oscar Carter