From: Zhenyu Wang Subject: Re: [PATCH] drm/i915: Typo in #define Date: Wed, 9 Jun 2010 13:45:19 +0800 Message-ID: <20100609054519.GB17536@zhen-devel.sh.intel.com> References: <20100608211806.0e157ee2@absol.kitzblitz> Reply-To: Zhenyu Wang Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1512612911==" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 08CB39E753 for ; Tue, 8 Jun 2010 22:45:20 -0700 (PDT) In-Reply-To: <20100608211806.0e157ee2@absol.kitzblitz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 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: Nicolas Kaiser Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1512612911== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WhfpMioaduB5tiZL" Content-Disposition: inline --WhfpMioaduB5tiZL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010.06.08 21:18:06 +0200, Nicolas Kaiser wrote: > checkpatch complains about this define: >=20 > 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) >=20 > Signed-off-by: Nicolas Kaiser > --- >=20 > --- 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) Thanks for catching this! Acked-by: Zhenyu Wang --=20 Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827 --WhfpMioaduB5tiZL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwPKm8ACgkQsQQaM014GCcNQgCbBFXRuE3VWHt8kgwREzTXRz+J ZTkAoJ5/zrL9TNYnOGB4JLZcrNHPzODQ =rGYb -----END PGP SIGNATURE----- --WhfpMioaduB5tiZL-- --===============1512612911== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1512612911==--