From patchwork Thu Feb 15 13:59:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 128427 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1778191ljc; Thu, 15 Feb 2018 05:59:36 -0800 (PST) X-Google-Smtp-Source: AH8x226LkHDhJ8AEjd/BsccuSXTnyeAyo1LC5y7DoEVqOHotc6lJBbXF0srXpX+AmridnJeO1c1t X-Received: by 2002:a17:902:a9cb:: with SMTP id b11-v6mr2644873plr.315.1518703176430; Thu, 15 Feb 2018 05:59:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518703176; cv=none; d=google.com; s=arc-20160816; b=GpdZ0eLO6tDn5FKk6aMhVWPILNSg2MAFUx3pgBPAvXx0xfp7wAt6Uyi4cxccMODp/5 UFKOSlg0qp6BZ4LbHrhwP5Lpop8CX5A2l3nujwfw+yDrRcVFuLjtTNkiYMU6ZtHVV2jj OWTalGSQVRyIDNa7ylw46B8HnoClaGpxCeMAT21V4Ehk7q8YI6jd1pmnu5D82rSZ7KE1 rHJ8xhm7swdDfO2CrbRiTdJs8HrGNs1MtfTWQ4qoCcT30gjhcxMW3j9O/ThrTqIvzIfG rg02tNOZHloM0VquWoX/df4JxRBwo+GEyMPWyQTHIZ5q3ZUJ/+3aF47pC1aepkTFlEhe UPyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:delivered-to:arc-authentication-results; bh=MH5L+h00mCZ1KQsX8RB5F7EL5qSRebplTFIS8v/CMVw=; b=HztzE4byDmKMLlRxPE+4Ez2SYSXYxX9NRH2S5bnwm5GEFAf59d9Z9hmdq5hOfsKJRU s0f+qjUGSr2aSq8/512YUlkx9R7gRSYdrUUXZx2UKxx0yEQBsdtcQciiwsOWn/zpbXu8 pcc3XXew210d2WnRrmQ+JBphqZeduVnbghz58kLbf6mUon/9HE69mDSbSpk1IEIOC2PD DWlRj8xwNbgp5yHjxoeGDtgmQxVH2TCqawpSPldNM1DY8LN+vJ8W6NyrVhpzx9KXf1by 3iYCnlG3Hprb5NNNGByYF9ChPCtWSq3/l5KzIY3Ptj5IkXb1hy5Wu3899Fj8/rVLccNQ u6Kw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id o18si1284349pge.300.2018.02.15.05.59.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 05:59:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 39DAE6E526; Thu, 15 Feb 2018 13:59:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oi0-f65.google.com (mail-oi0-f65.google.com [209.85.218.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 481386E525 for ; Thu, 15 Feb 2018 13:59:31 +0000 (UTC) Received: by mail-oi0-f65.google.com with SMTP id y16so1370588oie.1 for ; Thu, 15 Feb 2018 05:59:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QqT1h5P4E83PF1xN3T/G4BD3DFrXshSK/TrV8udhGC8=; b=nb7cOt3SQs1Q2REtX2AkT12PBSgEiYVDnfBUdzzZ7hGSJkLZAkigGH9au3J8PBNv1r wprfjJHXLwxerIROLSCtPi4RJJPXez+UWewiKx1AxRwDZtPt70K24ADJExjyRQAt76UQ HMFHyWwtvjDznrLjKpi3o558TJrpCA38HuCi5PePsVsnhfLnsmnU+Al1tw8khAYNwqk7 lBhFkQWXegbjLHYmG5gnpanubvBRGFv5QVHTD6x2oqCd/Eh+/+sYDxrsLpoRYpoH06XY It97ys6qc8pM09D2TVdoonDgYKdaRGcePREiy5eK8hZNg09PcihyMoKH5vLOAb6Xc4Gq EcbA== X-Gm-Message-State: APf1xPAgCNdCCxFRRhap+BrWmcKzO6agU8j5eYUO3p24k8gfYs9VhseJ AS+tx2c8iVMjDz/ZEydDW/RTtdA= X-Received: by 10.202.185.70 with SMTP id j67mr1924785oif.285.1518703170219; Thu, 15 Feb 2018 05:59:30 -0800 (PST) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id t8sm8677327otj.31.2018.02.15.05.59.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 05:59:29 -0800 (PST) From: Rob Herring To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 2/4] android: fix mis-named alloc_handle_t Date: Thu, 15 Feb 2018 07:59:24 -0600 Message-Id: <20180215135926.9502-3-robh@kernel.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180215135926.9502-1-robh@kernel.org> References: <20180215135926.9502-1-robh@kernel.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Foss MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix a typo where alloc_handle_t should be gralloc_handle_t. One still remains in gralloc_handle_create, but a subsequent commit will fix that along with other problems in gralloc_handle_create. Signed-off-by: Rob Herring --- android/gralloc_handle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h index b035e03566cc..b0f5048cc6a1 100644 --- a/android/gralloc_handle.h +++ b/android/gralloc_handle.h @@ -73,7 +73,7 @@ struct gralloc_handle_t { #define GRALLOC_HANDLE_MAGIC 0x60585350 #define GRALLOC_HANDLE_NUM_FDS 1 #define GRALLOC_HANDLE_NUM_INTS ( \ - ((sizeof(struct alloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \ + ((sizeof(struct gralloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \ - GRALLOC_HANDLE_NUM_FDS) /**