From patchwork Wed Feb 28 10:07:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10247083 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 48E6560362 for ; Wed, 28 Feb 2018 10:08:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DC94286BE for ; Wed, 28 Feb 2018 10:08:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 228E528778; Wed, 28 Feb 2018 10:08:13 +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_SIGNED, 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 A70EF286BE for ; Wed, 28 Feb 2018 10:08:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C8326E918; Wed, 28 Feb 2018 10:08:12 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id A58576E918 for ; Wed, 28 Feb 2018 10:08:10 +0000 (UTC) Received: by mail-wr0-x241.google.com with SMTP id w77so1740167wrc.6 for ; Wed, 28 Feb 2018 02:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=0TQy21h4PrdoFlK6GkQ7si2x3vke8GXlGte0uQq12iE=; b=aynor4NmrmXVwm2WgQQtJJveUqGd9wZto0eCHvVA9u/bfMeffQmRhG/UZvJ7xd3+dF 2QjuH5j4gqIR8jLfhMXGkdMKOz7KhxOaATo5Gsut1y4YFSZO5S/ciOgZtaO3v0PVA7G7 THpcj2oPbdU0VzXoKc76Z6L2+Zj1PoXOHX1WYfCoRjRL9ZQQIaFYOrF2sZuqRfrTkMMk G18+CpfwSZcfbyrul15ZRy+NOHZM+niTG+dbDel5C3KMe42BkQV14bFrLu2SONGK8l5w qkAHB8uMY3Gv7x1WDtTG2T3/ERUcbirw/Z9Lr9B8eHW0GZWOUij0DLpmrYfnB7x1SW1V t/LQ== 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; bh=0TQy21h4PrdoFlK6GkQ7si2x3vke8GXlGte0uQq12iE=; b=Ivc+awfrjzHAw9jnlkZGG451dERXZyT5Er9OjD/cImxBSrF0RDXmhMo65UvUd4i2D4 qw2m/RAiZvl56cnHyksjTBZPGvFRf8oOJ4DSGNr97xquS0XhWTf3iDG0sX2xPlpL6MiP ZH2xeIm0M+0b0MS9SPxxPx6oxRm21eAmkAawAzRQJIEiciiGhh7QDb23KWst265McaxE cO7N13FvPgsQ1kErP2Shw/uvikhgF3NkgQF+khP3WQ7ZqD3AckQ54pItby6EUss2hNsb odVtBBLLbXXFjh/zShHalv4q4KtACNQSfb022Iqzhxtja+a4magPoN6cBCtEAZu8WVvd isdA== X-Gm-Message-State: APf1xPAnFazz69tp5hKS/p9aKYZdTTSwXRMAEi3TUbR7Iu0G909FFxqw FS/ruhPl+i368gTAx/rwpBrOygjZ X-Google-Smtp-Source: AH8x225HMyQUzEN7Vmj+LGOon6iqNsd8Y1iIdXnbCIZFgMx+iXOEgFBFz+DAvSmguw7xQ5YTr6vb9Q== X-Received: by 10.223.143.101 with SMTP id p92mr15117370wrb.241.1519812489345; Wed, 28 Feb 2018 02:08:09 -0800 (PST) Received: from localhost.localdomain ([95.146.144.186]) by smtp.gmail.com with ESMTPSA id 63sm1143121wmd.17.2018.02.28.02.08.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 02:08:08 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Wed, 28 Feb 2018 10:07:59 +0000 Message-Id: <20180228100800.11840-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.14.1 Subject: [Intel-gfx] [PATCH i-g-t 1/2] tests/kms_frontbuffer_tracking: Fix build warning X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin Mark drrs_set as static to avoid a build warning. Signed-off-by: Tvrtko Ursulin Reviewed-by: Chris Wilson --- tests/kms_frontbuffer_tracking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 1483c228044e..43384801e2b5 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -830,7 +830,7 @@ static void psr_print_status(void) igt_info("PSR status:\n%s\n", buf); } -void drrs_set(unsigned int val) +static void drrs_set(unsigned int val) { char buf[2]; int ret;