Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3430609pxj; Tue, 15 Jun 2021 00:19:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2SZEbRVlvxT+qu75pkcEH+swzkCNn/YC/Kq+EjxXYcEj3FZSz1d7SL29lDeMOOrmGHtzq X-Received: by 2002:a92:c689:: with SMTP id o9mr17584032ilg.297.1623741554783; Tue, 15 Jun 2021 00:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623741554; cv=none; d=google.com; s=arc-20160816; b=ndLMjtfumtBaTITp5H+VqMSKJnJ5lMHdrgAoPFHCCPJz23Pd6knFgx5m1G+5Wb7TRY yuM+u05HDZ9Bz24RLXw8h+RLHiDJWRMDdmlOvphXimhTkZGb2HEFnL+LTnldWaCZuKu9 SmFy6qSEKtQqN7ANA38MIcccPrzM4ALPh+K1G/eRX1igyLGWJKJWz7nAGyLMU5o5KDpE oj2gUpNss0BvZORmfcpLQdg+PWUYNZZsOJTupIpp0V/0MzwK5dsr4IVRD+vmevjQCLAt XKoiaEPNQ5XJGCbOBYC4ZoULJHdvoQ7cBz5AiYLpk32ZJF8YO24ZcS+UHhjnOzAcnMw2 FNeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=PCjfL32gackDGGhjAkNyZ/DL6oMl+o8NKneVCsc9Szg=; b=cVQDXG7URVQ/SJPDfS6b5uVamJ5IDS1Z6OVKmzKBa8Zz6ANgUHltRfnCCDt2lPg19x 4UJr8nStynhMYt9sOoqGDRzAguQZBThvDHWmo6uqtWHM3irxkgBxP2J6kcPVi02IBHGT aZ0WCU1RnmY7TR0qXIGX5cjAOnpqN8DmTu6a5zCDBoWpWDnKttOLoPiDL5/JS6bUTSom V+NZe5PBCtuFvoftTVLx7TVYxNTq24IFgUK69L7U3M2/mAxWxwGq87inGPyA950RDkQ5 Aq0N19Xt2obP5UPVRCkXKAhwWEv43q6Hzt6iv2TJfBAh9YUNs2utBrCemFs4NDwCBGc6 9WaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="H9Rn/WzG"; 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 q16si20602336jat.124.2021.06.15.00.19.02; Tue, 15 Jun 2021 00:19:14 -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=@ellerman.id.au header.s=201909 header.b="H9Rn/WzG"; 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 S230318AbhFOHUb (ORCPT + 99 others); Tue, 15 Jun 2021 03:20:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbhFOHU3 (ORCPT ); Tue, 15 Jun 2021 03:20:29 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF02CC0617AF for ; Tue, 15 Jun 2021 00:18:24 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4G40653jP4z9sRK; Tue, 15 Jun 2021 17:18:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1623741503; bh=PCjfL32gackDGGhjAkNyZ/DL6oMl+o8NKneVCsc9Szg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=H9Rn/WzGnluUtjcD4uSOsgVxG5L2reh9ymNdmNEBhQrT68Ie8SLd0LzUVOalYh2bH UlYm+iokrvjQ3nkBM6JAfWR4kslk0683JjsivYK4JlfzBkbgBraxUan7VCA0mXDKKw OXnv/acYi9KIw1RnMyQExJ329XkUUqhADqTzEF/ZL4q+VKJR6H5s3rS/KVurJsMDGi zC54DYBYWLL22h5yE+IyJP9QNKadC9ZVE6UX7tnf0CLsoeI099Oro9e0idzXknMsUG 2I64WdzP5b8bPRGdBrl2ABFojf+Y3eU6LCV7qAHtwLFWgmeGGYeoSvBqIPd3kGudao 2p8d7yZjjcpIQ== From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , naveen.n.rao@linux.vnet.ibm.com, jniethe5@gmail.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2 00/12] powerpc: Cleanup use of 'struct ppc_inst' In-Reply-To: References: Date: Tue, 15 Jun 2021 17:18:17 +1000 Message-ID: <87r1h3tx3a.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > This series is a cleanup of the use of 'struct ppc_inst'. > > A confusion is made between internal representation of powerpc > instructions with 'struct ppc_inst' and in-memory code which is > and will always be an array of 'unsigned int'. Why don't we use u32 *, to make it even more explicit what the expected size is? cheers