From patchwork Wed Mar 29 22:24:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Faye-Lund X-Patchwork-Id: 9652693 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1CE2560113 for ; Wed, 29 Mar 2017 22:24:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E8AB28552 for ; Wed, 29 Mar 2017 22:24:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 033C528558; Wed, 29 Mar 2017 22:24:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C92AA28552 for ; Wed, 29 Mar 2017 22:24:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DFBFA6E7FE; Wed, 29 Mar 2017 22:24:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 982A76E7FC for ; Wed, 29 Mar 2017 22:24:31 +0000 (UTC) Received: by mail-lf0-x244.google.com with SMTP id n78so2962004lfi.3 for ; Wed, 29 Mar 2017 15:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/zdu72EDQj2wc1KL4a9emu1iLPw/wiuLIOA0rN5CyVk=; b=XjFo0teb4DJgAdgHB3AVzwfJH8wkO+foiM9vhFpPl+uSbUcBkXc1HI6eHtTCw/JfVJ npnbGokKpyZ6jly0zFRpzmdvODWgV0HnFj9FcLmG6IBW4rsN7cJmReG9/seBoQPMBStJ PtZ0IGlU/mU7tn/58uL87VOVbR1clzR/Vm1LG9AxsRfag2El4qLDd9dBRQjvH1oMWvro hw7jklOTbVnah3bML4+lkT5Dhv+MAZoQqG6Be6U97fxjEtEnKPIdCkeBR7CQuqUHOLPs yJdB7w65bjE/raE1eBJJqtSLQhMgeoA2JTR1OqQ7nfgwqYClPHTf+oCHPeitvqnIpn1p dwKw== 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=/zdu72EDQj2wc1KL4a9emu1iLPw/wiuLIOA0rN5CyVk=; b=XkEcdgVWQrL0iPQF3hNQFBpqG6Mn8FFAHMYzN0/4/JqsofKi3dmfaSCG7ftTvmufYR TTVfqLc9uDE7Q12A2xYZ3RlIFlECB9vDYKR6x/ezPXYuZHH9/7U3wQ5eciCkEbsejOe/ OQCvctCiUkmg+C5PLF0v0u4TQgpbPjKnRgu3/UjCv5Bs/j/Z1zPO/OEUAYU6F/Dc3s6K gsxxM02dVCeM2kuCfpKiIHjnqvpTEyc+3MwCh9Rs7zXDWsJl6zJluDjx8unagA2Cx5qF bYIg53uks/FPrtR4IxWX3/m1JLUn1kf5LGVfNrfrTV2rh1m/DXRZjUDdMh5vHRFqRQnf ajuQ== X-Gm-Message-State: AFeK/H28kdB54FM//0N104IK1cV7PmsdCGzG/wIbGOeA7qj4bkEnjgh/5MTKR+pv5C1wXA== X-Received: by 10.25.196.8 with SMTP id u8mr759893lff.21.1490826268760; Wed, 29 Mar 2017 15:24:28 -0700 (PDT) Received: from localhost.localdomain ([2a02:fe1:3200:b900:201:c0ff:fe0b:fbc1]) by smtp.gmail.com with ESMTPSA id u26sm38352ljd.34.2017.03.29.15.24.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Mar 2017 15:24:28 -0700 (PDT) From: Erik Faye-Lund To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 2/2] tegra: update symbol-check Date: Wed, 29 Mar 2017 22:24:24 +0000 Message-Id: <20170329222424.29126-2-kusmabite@gmail.com> X-Mailer: git-send-email 2.12.1 In-Reply-To: <20170329222424.29126-1-kusmabite@gmail.com> References: <20170329222424.29126-1-kusmabite@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP I get a few more symbols in my build tegra-libraries, so let's include these in the whitelist as well. While we're at it, update the comment at the top. Signed-off-by: Erik Faye-Lund --- tegra/tegra-symbol-check | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tegra/tegra-symbol-check b/tegra/tegra-symbol-check index 40208311..420469f4 100755 --- a/tegra/tegra-symbol-check +++ b/tegra/tegra-symbol-check @@ -1,11 +1,14 @@ #!/bin/bash -# The following symbols (past the first five) are taken from the public headers. -# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES +# The following symbols (past the first nine) are taken from tegra.h. FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do ( grep -q "^$func$" || echo $func ) <