Message ID | 20180215135926.9502-2-robh@kernel.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1778596ljc; Thu, 15 Feb 2018 06:00:04 -0800 (PST) X-Google-Smtp-Source: AH8x226ZXlflEgiM6WhHhUts4YjXDZ752XcoP7IGqCh3xrLjMKkS/PGmkKk6vmTNKbLGpQgn+eIC X-Received: by 10.99.190.15 with SMTP id l15mr2349313pgf.325.1518703204475; Thu, 15 Feb 2018 06:00:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518703204; cv=none; d=google.com; s=arc-20160816; b=x/S9eRR1nexHcj0Do9L3w6LrGLcbvPoexH842W/el0WubkyM8HTar2lZi77dUn+1jL aTe3J3nFGy45cdjEPKSBfNYWM2x6wN0MVonXlMvhw6R0XbDNglIUIniIGSDWVGdW+haa i+7Ll6VNCCD4kXGKP8eGyoIoUhA0TWF339KaAOQVZVCZtxUS6g5zsjA5G1RYhQaOFRAi GGFvJpVPDvaYHw0QL0SaDSjCYwRheFNP367LXdogC/L4lBylFIrkV6YJu+vQnWwolt6A l7/Ic6bSYpvlJ34koq2uIRw0vJGcV25LHTTkby1CU8HUTy4H5wcJw9x7NkVg9r76aVyE nGRw== 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=JO7nnz8ElFHHO5oSKA2kDr0SPydM+q02rf40AecRTto=; b=TwoGyS2H7Yv0Qv1C92na3zUKOnqyfyCMzAcW+K2Jlfc8UN4sMdV13IkkOU+BWRYTha My8Bo4OXGf1XdINmvnyMGsH6vRuQMQ97Utp/XHrSwY6f21JveLPtbhbfefDcZ3FJ4WLo B6umbIxWp1W1TF0t6Dwx3mKkMMgbCtp0Z/sV0MuyHepYtN/d3ecXJXrWphnxOtCHZHMT bd4jOz4B2UnzcQ5vR8qTC9aTI2gsHu1MH0gK1HaV1LU5zs0jnUCcq9cLcjCRCxt3wRsV Pcq1voSrNwGlsd4+GLdJ24JLnfnSd8L5DU9Gh87RFchR+8DGKpc9i0FCsZbdG/kK85lB DgOQ== 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m197si1388646pga.206.2018.02.15.06.00.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 06:00:04 -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 1C0816E525; 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-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) by gabe.freedesktop.org (Postfix) with ESMTPS id 486166E524 for <dri-devel@lists.freedesktop.org>; Thu, 15 Feb 2018 13:59:30 +0000 (UTC) Received: by mail-oi0-f66.google.com with SMTP id x21so19097436oie.13 for <dri-devel@lists.freedesktop.org>; Thu, 15 Feb 2018 05:59:30 -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=CHIWpcrP50wuGb/a4HhCH4ADcGpqYb/K2lzv7IEKJU8=; b=KGNM3INt4tCiaaClF5HI1qJ+ESs6dVBRQqkxn6NUeyKnTsXm86JZV/155WVAUj1H8U 3Ldpt4Mb3Yv7GA8BwoMZuj6t18XUwycW0BJMGz6aDufR6HX6tZ6cAH/EYa1Vazuaw0/z fCOfigjNfuAjIW4clrXoVRe1qKnHEcit2ToHrMp77bWWLo+EwpQKPNICin4dY6iiFiYn KuyvR2h598lvZfoxT1tKTiJZWMAPw1qdMmN8Mw6bHK3UO4/9EMUhBgJCWgzE7bSHsvGb svcAwEZHyOeIb9Zbe3/WRk2+max9k9eesuADiEzKrfBOcLu9voff+JJo5L5iSg3yVs3n H3tQ== X-Gm-Message-State: APf1xPBSzG9QSjvQRQDgmjr8ScExVkMjauF/Fdm7X8cmCsUDJezPQIO4 PxSFT9BH2qHxyyBKwodi+TXKYts= X-Received: by 10.202.98.139 with SMTP id w133mr1731605oib.282.1518703169252; Thu, 15 Feb 2018 05:59:29 -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.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 05:59:28 -0800 (PST) From: Rob Herring <robh@kernel.org> To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 1/4] android: revert making handle magic and version members const Date: Thu, 15 Feb 2018 07:59:23 -0600 Message-Id: <20180215135926.9502-2-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Robert Foss <robert.foss@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
gralloc handle fixes
|
expand
|
diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h index b47bee191f94..b035e03566cc 100644 --- a/android/gralloc_handle.h +++ b/android/gralloc_handle.h @@ -51,8 +51,8 @@ struct gralloc_handle_t { int prime_fd; /* api variables */ - const uint32_t magic; /* differentiate between allocator impls */ - const uint32_t version; /* api version */ + uint32_t magic; /* differentiate between allocator impls */ + uint32_t version; /* api version */ uint32_t width; /* width of buffer in pixels */ uint32_t height; /* height of buffer in pixels */
Const members are problematic for dynamically allocating struct gralloc_handle_t, so just drop the const modifier. Signed-off-by: Rob Herring <robh@kernel.org> --- android/gralloc_handle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)