Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755495AbdIGQF5 (ORCPT ); Thu, 7 Sep 2017 12:05:57 -0400 Received: from mga11.intel.com ([192.55.52.93]:20356 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752200AbdIGQF4 (ORCPT ); Thu, 7 Sep 2017 12:05:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,359,1500966000"; d="scan'208";a="1170059649" From: "Luck, Tony" To: Helge Deller , Sergey Senozhatsky CC: "linux-kernel@vger.kernel.org" , "Sergey Senozhatsky" , Petr Mladek , Andrew Morton , "Yu, Fenghua" , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Subject: RE: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages Thread-Topic: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages Thread-Index: AQHTJ70wIi64LcWpK0ygf2zBB/bV/aKpo5OAgAAuq4D//8PTkA== Date: Thu, 7 Sep 2017 16:05:43 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F6136C2ED@ORSMSX114.amr.corp.intel.com> References: <1504729681-3504-1-git-send-email-deller@gmx.de> <20170907004522.GA3885@jagdpanzerIV.localdomain> <8b93f9ca-95f6-4e40-1cc8-d1a65833abff@gmx.de> <20170907075653.GA533@jagdpanzerIV.localdomain> <20170907083207.GC533@jagdpanzerIV.localdomain> <667b8849-fb60-a312-2483-505252ff737e@gmx.de> <20170907093631.GD533@jagdpanzerIV.localdomain> <20170907095119.GE533@jagdpanzerIV.localdomain> <0604f27e-24ab-625b-9013-c6c0f4f6acc1@gmx.de> In-Reply-To: <0604f27e-24ab-625b-9013-c6c0f4f6acc1@gmx.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v87G63Du008601 Content-Length: 377 Lines: 11 >> if (not_a_function_descriptor(ptr)) >> return ptr; > > I'm not sure if it's possible on ia64/ppc64/parisc64 > to reliably detect if it's a function descriptor or not. Agreed. I don't know how to write this test (without changing the compiler to put the pointers in a separate section ... and then changing the module loader to keep a list of all these sections). -Tony