All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] Re: rivafb: Clean up printk()'s in drivers/video/riva/fbdev.c
@ 2005-01-30 11:54 Domen Puncer
  0 siblings, 0 replies; only message in thread
From: Domen Puncer @ 2005-01-30 11:54 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

On 25/01/05 19:52 -0600, James Nelson wrote:
> This patch adds KERN_ constants to all of the printk()'s that need them in
> drivers/video/riva/fbdev.c - resent after reworking the debug #defines
> 
> Signed-off-by: James Nelson <james4765@gmail.com>
> 
> diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/riva/fbdev.c linux-2.6.11-rc2-mm1/drivers/video/riva/fbdev.c
> --- linux-2.6.11-rc2-mm1-original/drivers/video/riva/fbdev.c	2005-01-24 17:15:49.000000000 -0500
> +++ linux-2.6.11-rc2-mm1/drivers/video/riva/fbdev.c	2005-01-25 20:49:29.534947199 -0500
> @@ -68,18 +68,17 @@
>   *
>   * ------------------------------------------------------------------------- */
>  #ifdef CONFIG_FB_RIVA_DEBUG
> -#define NVTRACE          printk
> -#else
> -#define NVTRACE          if(0) printk
> +#define DEBUG
>  #endif

DEBUG should be defined before inclusion of kernel.h .


	Domen

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-30 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30 11:54 [KJ] Re: rivafb: Clean up printk()'s in drivers/video/riva/fbdev.c Domen Puncer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.