Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2028809rwb; Mon, 7 Nov 2022 08:21:42 -0800 (PST) X-Google-Smtp-Source: AMsMyM7DK6JM78zPkPkDGk3zsUk2KUrnAU9DFMqfoagEXrB4nPvPOQVNPTXJdDDv8dE3/AXuSBgy X-Received: by 2002:a63:5455:0:b0:46f:be60:af9b with SMTP id e21-20020a635455000000b0046fbe60af9bmr35373458pgm.307.1667838102427; Mon, 07 Nov 2022 08:21:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667838102; cv=none; d=google.com; s=arc-20160816; b=XEleQDyc44Rr6ZxRMJ8GlIqbf5EHytKDnagURFVoF90oag7bLx4Nz456mlvGkbT2YT 03kNRD2EMcgGV6SDVPPzHzfb7k1GvVHwpWmIN7ki6jxKC4Peg5P6/gNZ79bYPpaVrdyz Gnv2XdAGEbdQHiR17bvihFGLQbW16lwME4G0wzHzTbwNzVbB8tpkG5+uOrjVtl3/EFn+ CZ6IwjxupTL2emO+2BP5AIl7jV57QUf1Ga41D8mRXzakTU1uNy8CML0lRgopxkuf7mJz mid8uTDNJEKbB/ySwTwsvEPqs02222VoJaQ72QpCPd0Ii7qwrQDW6DStDYHl8kl2ZRXf 5ZMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=KM1Y2SsiUYuMC67W+fmGAcDULyhPtAVgQkdhPrS9pVQ=; b=DS+mYUiJTReD1Zf0g2tp1V0iitd4/KCvsq13XGgyAUF/CWnAiapjlZdie0z21/Nnra XXFwZ0nORY48s//u325/mcSYpS/NGlupJXdj5tH6bl7skKoCV+JUzpI5SPMqnp/4andZ Nfo76CtYn7LKiPbJkkyQLxOFaeNBI2DNZ/YRcYKR8uctFJUb/NtrC4yCZDakWZoneMab 3Jmp6Ed9oQ6X2dJguAoSBbcxMlR1z48epSgWNvCACv6Pek3RlbUCLqOypfsmA6cqz+aK Tm0m0K8SEORfQIkuNWF2xsT28DKnerssFWPbOMImyGLMlYGwQHkiZK7JtuluPVNMHl8U r3Rg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a170902900500b00186a1851318si9583664plp.43.2022.11.07.08.21.25; Mon, 07 Nov 2022 08:21:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232344AbiKGPrL (ORCPT + 92 others); Mon, 7 Nov 2022 10:47:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232084AbiKGPrI (ORCPT ); Mon, 7 Nov 2022 10:47:08 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B158A1A3B4 for ; Mon, 7 Nov 2022 07:47:07 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A00C61FB; Mon, 7 Nov 2022 07:47:13 -0800 (PST) Received: from [10.57.3.218] (unknown [10.57.3.218]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 60F3E3F534; Mon, 7 Nov 2022 07:47:06 -0800 (PST) Message-ID: Date: Mon, 7 Nov 2022 15:47:07 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] drm/panfrost: Remove type name from internal struct again To: Alyssa Rosenzweig Cc: Alyssa Rosenzweig , Rob Herring , Tomeu Vizoso , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20221103114036.1581854-1-steven.price@arm.com> Content-Language: en-GB From: Steven Price In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2022 13:22, Alyssa Rosenzweig wrote: > Reviewed-by: Alyssa Rosenzweig Thanks, pushed to drm-misc-fixes: c4299907c09a drm/panfrost: Remove type name from internal struct again Steve > On Thu, Nov 03, 2022 at 11:40:36AM +0000, Steven Price wrote: >> Commit 72655fb942c1 ("drm/panfrost: replace endian-specific types with >> native ones") accidentally reverted part of the parent commit >> 7228d9d79248 ("drm/panfrost: Remove type name from internal structs") >> leading to the situation that the Panfrost UAPI header still doesn't >> compile correctly in C++. >> >> Revert the accidental revert and pass me a brown paper bag. >> >> Reported-by: Alyssa Rosenzweig >> Fixes: 72655fb942c1 ("drm/panfrost: replace endian-specific types with native ones") >> Signed-off-by: Steven Price >> --- >> include/uapi/drm/panfrost_drm.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/include/uapi/drm/panfrost_drm.h b/include/uapi/drm/panfrost_drm.h >> index 6f93c915cc88..9f231d40a146 100644 >> --- a/include/uapi/drm/panfrost_drm.h >> +++ b/include/uapi/drm/panfrost_drm.h >> @@ -254,7 +254,7 @@ struct panfrost_dump_object_header { >> __u64 nbos; >> } reghdr; >> >> - struct pan_bomap_hdr { >> + struct { >> __u32 valid; >> __u64 iova; >> __u32 data[2]; >> -- >> 2.34.1 >>