From patchwork Fri Nov 27 16:28:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11936639 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7B29C3E8C5 for ; Fri, 27 Nov 2020 16:28:40 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 670A0221EB for ; Fri, 27 Nov 2020 16:28:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="J8f1ojdi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 670A0221EB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A50EC6EE4B; Fri, 27 Nov 2020 16:28:39 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5EAA06EE4B for ; Fri, 27 Nov 2020 16:28:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606494517; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type; bh=hBK4rF+UUZqxXGARBNA3+k4KA9RCCq8gUWcN+N8wXLI=; b=J8f1ojdi2RuSiw8CdiHuE/9dS1l+qr78yymjZKH63oTL6nr7m3fTTVrWwt0dINs+nxolMc I5c5rh232pC0z5V4HdWxPvfyLjO9QwhoHvBXwvMCT/5KQG+eD/2i61cObhoDMLI4YPwWko Tgr8ek2fwpi4BYTLOfZf1PPJxYg0PAw= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-503-cJokY97fNhKxU9bt10fFBA-1; Fri, 27 Nov 2020 11:28:36 -0500 X-MC-Unique: cJokY97fNhKxU9bt10fFBA-1 Received: by mail-qv1-f69.google.com with SMTP id p3so3346621qvn.15 for ; Fri, 27 Nov 2020 08:28:35 -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; bh=hBK4rF+UUZqxXGARBNA3+k4KA9RCCq8gUWcN+N8wXLI=; b=toGcdGKc/dgXn9XLZnYdZnTp5epkGvNZ6pddcQGc8lJnTTmTzg+tKZdPUh/0xt92O7 bD8SU3Qsbisb8hJO+GmJ7/mGiaOFWtzUlP8vZ72K4glDdiZoBIfHB7SlO+UpiGZbEErX 6cssPWUZjoUkrBNrsffQ37ITV6ymN0kvxmBFi3Fy1F18lLg+jqpilQ/Hle7CkdgxVT48 /ABsmzHuefJpKDPHYN+mA4P+Xi9UUjlo2HHJMB5QqHVhHI4bkSzWbU8i2fbwy7pmSMIh Fe7VEvZzb9vc8gQR627QvuzeMZfXhxHSJOMcp/N6R1sbcPtBd+MYxJQmcA5Thhr6Sp+c r/Ag== X-Gm-Message-State: AOAM530OPSadLl/CZ4kfjI/uoI+90vGS9azMuR1FGLgz/Vt6A77GoQQS 0lHt46IW8LEaE5hHQYzRZnxHuGOiD8q+2WieP1vvwFkzBKBGfbDs7TGa5iwIoaFDK1smhJygJkx 6FPkmOe6FiaZ1kj6Uup4ZwwcAK1dr X-Received: by 2002:aed:3668:: with SMTP id e95mr8997837qtb.69.1606494514963; Fri, 27 Nov 2020 08:28:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3szdD1wWTn6Oo7LYsc3cKd7ZqSuuJJN25Ol+alAuJJ/qJilZvZbeVXDRkqjEGATTXuTCO6Q== X-Received: by 2002:aed:3668:: with SMTP id e95mr8997822qtb.69.1606494514757; Fri, 27 Nov 2020 08:28:34 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id 187sm6632673qki.38.2020.11.27.08.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 08:28:34 -0800 (PST) From: trix@redhat.com To: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch Date: Fri, 27 Nov 2020 08:28:28 -0800 Message-Id: <20201127162828.2660230-1-trix@redhat.com> X-Mailer: git-send-email 2.18.4 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [Intel-gfx] [PATCH] drm/i915: remove trailing semicolon in macro definition X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Rix , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: Tom Rix The macro use will already have a semicolon. Signed-off-by: Tom Rix Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/intel_device_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c index e67cec8fa2aa..ef767f04c37c 100644 --- a/drivers/gpu/drm/i915/intel_device_info.c +++ b/drivers/gpu/drm/i915/intel_device_info.c @@ -104,7 +104,7 @@ void intel_device_info_print_static(const struct intel_device_info *info, drm_printf(p, "ppgtt-type: %d\n", info->ppgtt_type); drm_printf(p, "dma_mask_size: %u\n", info->dma_mask_size); -#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->name)); +#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, yesno(info->name)) DEV_INFO_FOR_EACH_FLAG(PRINT_FLAG); #undef PRINT_FLAG