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 4837CC433F5 for ; Thu, 14 Oct 2021 06:53:27 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6A2160D07 for ; Thu, 14 Oct 2021 06:53:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C6A2160D07 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HVKqT0rgFz3c6k for ; Thu, 14 Oct 2021 17:53:25 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=arndb.de (client-ip=212.227.126.131; helo=mout.kundenserver.de; envelope-from=arnd@arndb.de; receiver=) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HVKpz5L3Gz2xMw for ; Thu, 14 Oct 2021 17:52:58 +1100 (AEDT) Received: from mail-wr1-f53.google.com ([209.85.221.53]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MVaQW-1m9NqM1Q8K-00RbBv for ; Thu, 14 Oct 2021 08:52:54 +0200 Received: by mail-wr1-f53.google.com with SMTP id t2so16096290wrb.8 for ; Wed, 13 Oct 2021 23:52:53 -0700 (PDT) X-Gm-Message-State: AOAM533WaVAhQAgmq+H64JOGSICJd3Om4PwDYlnEAgeni74iQEUpd/un b3zQOLytIgOyrc07mA8Xe239Wd4TFVGcLwhjld4= X-Google-Smtp-Source: ABdhPJzeBTr+3DEnjaiwNy7gvQWkqUGAIbkSnDvR5fWNapib2lyvZarNpPFQYOoReWXwS6roLyGXQKeyYYuevT3SsXg= X-Received: by 2002:a05:600c:208:: with SMTP id 8mr17137447wmi.173.1634194372923; Wed, 13 Oct 2021 23:52:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Thu, 14 Oct 2021 08:52:37 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 07/13] asm-generic: Define 'func_desc_t' to commonly describe function descriptors To: Christophe Leroy Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:39Xd9kqeeUH+o0TtX8JwD4TCnfN/XiKQHBMvoyq93MBJ8acwNPh JmkMN7nxCtYIm3fCvzD3X/NA6x/O+7FSo9Z1h0arnXsM7I853fBjk06PdJSr+uTofYugtD3 B1YZN/UliRy/YOH2dD9i3wYcAgzTJHjK7/NuI+iMbjDKp/gFvIdAnOxtabkvRxZOEghbwzm Io/aYULUuRLRWY1WWY1Tw== X-UI-Out-Filterresults: notjunk:1;V03:K0:nD2W7hZ1u38=:8grZbweI03/FxxpuF+BeO6 YudhiT8CQHz4KY83oLVj73lioNJy1t87Lf7ol2VxadHAjKdD97rYUg2qOu8GJ2DFNg2alwzC0 iEM6tac5IlfjnEhYd+R4pT9ylfCYGa+CYP08QAbKe1rFzX99uSRd9rN51dg6egVsjz5hTjiZ6 E0dn4kCH0G12cN9KwdDhYttH8xKpcMlTeeGWqqezz5+GX4MAY2fl2icrdFZpeghrB3SfcNxrJ FJ5tvDYdzKyszA3Pn+jeqSIDTASrNzj5BVfkf7hV6oeDC4nsoFFFMQCjIO21NTevroL5ycyIC N1q8qr3MyFZefF4EsH+6NTvWRGZ/qib4h+vnxbiupj3/SjWyMsD0FZgEKjqvIhDsJ17C+Iafy 4cukhOD3DEgyXIfAlxpt4tgtETymXzKJrQF8S8w5rmFDq786ohlSj45wig8mP6kBZQo9JoHJw UIycZeKHY09i1dvIfcfmNRVN5numCbueu/8PVjRto6exSO9es+fuon+4jWFym0g3W/+ZTJJpO QmqYWZsHWR+pBmGKHn+7BQZkd0RR93qQh/y92F/HbLceW1OXvbgw6D+BBL9em7mBKfHNKqGhE VhoojyeVPS7EBYwQsz6cLltTbqSJZulBxgGSEROkWXhkJ+G92Jkn+FOGyXUBKq8F88k8WSsdV 2Pd2bs5B43ZTlesAJkuQUg9SicgKNnvoTFZgNw2csAtccAvPRVN9ghsLOV5FcJpyvnlCyvDQu pdtkbrzp5MAg1VdVyMKMkwOvcu8hz6Zp4wfCsJ856oEsPIptPSW3rzIIwMxo4363Nk2GiMnjx 66FwJnoEfPA2gUKKmI8XuF1Nn23hIFFRJ7owj1Jtr5NxzwNobaziDwC+B+AEZ+G6lGeSy076r 6mcUIsc1AW+lsQal9hFA== X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch , linux-ia64@vger.kernel.org, Kees Cook , Arnd Bergmann , Greg Kroah-Hartman , Helge Deller , Linux Kernel Mailing List , "James E.J. Bottomley" , Linux-MM , Paul Mackerras , Parisc List , Andrew Morton , linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Oct 14, 2021 at 7:49 AM Christophe Leroy wrote: > > We have three architectures using function descriptors, each with its > own name. > > Add a common typedef that can be used in generic code. > > Also add a stub typedef for architecture without function descriptors, > to avoid a forest of #ifdefs. > > It replaces the similar func_desc_t previously defined in > arch/powerpc/kernel/module_64.c > > Reviewed-by: Kees Cook > Signed-off-by: Christophe Leroy Acked-by: Arnd Bergmann