From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id C6F846ED84 for ; Thu, 20 Feb 2020 13:34:20 +0000 (UTC) From: Lionel Landwerlin Date: Thu, 20 Feb 2020 15:34:16 +0200 Message-Id: <20200220133416.1194071-1-lionel.g.landwerlin@intel.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH i-g-t v2] tools/i915-perf: workaround overzelous compiler warnings List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: Take 2. Signed-off-by: Lionel Landwerlin --- tools/i915-perf/i915_perf_recorder_commands.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/i915-perf/i915_perf_recorder_commands.h b/tools/i915-perf/i915_perf_recorder_commands.h index 4855d80f..44dd4438 100644 --- a/tools/i915-perf/i915_perf_recorder_commands.h +++ b/tools/i915-perf/i915_perf_recorder_commands.h @@ -35,5 +35,6 @@ struct recorder_command_base { }; struct recorder_command_dump { - uint8_t path[0]; + uint8_t unused; + uint8_t path[]; }; -- 2.25.0 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev