From: Nicolas Kaiser Subject: [PATCH] drm/i915: Typo in #define Date: Tue, 8 Jun 2010 21:18:06 +0200 Message-ID: <20100608211806.0e157ee2@absol.kitzblitz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from webhosting01.bon.m2soft.com (webhosting01.bon.m2soft.com [195.38.20.32]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A8DE9E8AB for ; Tue, 8 Jun 2010 12:20:23 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: David Airlie , Zhenyu Wang Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org checkpatch complains about this define: WARNING: space prohibited between function name and open parenthesis '(' #377: FILE: gpu/drm/i915/i915_reg.h:377: +#define GEN6_RENDER TIMEOUT_COUNTER_EXPIRED (1 << 6) Signed-off-by: Nicolas Kaiser --- --- a/drivers/gpu/drm/i915/i915_reg.h 2010-06-07 10:30:16.346785884 +0200 +++ b/drivers/gpu/drm/i915/i915_reg.h 2010-06-08 21:05:25.314967445 +0200 @@ -374,7 +374,7 @@ #define GEN6_RENDER_IMR 0x20a8 #define GEN6_RENDER_CONTEXT_SWITCH_INTERRUPT (1 << 8) #define GEN6_RENDER_PPGTT_PAGE_FAULT (1 << 7) -#define GEN6_RENDER TIMEOUT_COUNTER_EXPIRED (1 << 6) +#define GEN6_RENDER_TIMEOUT_COUNTER_EXPIRED (1 << 6) #define GEN6_RENDER_L3_PARITY_ERROR (1 << 5) #define GEN6_RENDER_PIPE_CONTROL_NOTIFY_INTERRUPT (1 << 4) #define GEN6_RENDER_COMMAND_PARSER_MASTER_ERROR (1 << 3)