[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120503.014156.149171097979026872.davem@davemloft.net>
Date: Thu, 03 May 2012 01:41:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: cmetcalf@...era.com
Cc: arnd@...db.de, linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v3] tilegx network driver: initial support
From: Chris Metcalf <cmetcalf@...era.com>
Date: Mon, 17 Sep 2001 00:00:00 -0400
> +/* #define USE_SIM_PRINTF */
> +
> +#ifdef USE_SIM_PRINTF
> +
> +static __attribute__((unused, format (printf, 1, 2))) void
> +sim_printf(const char *format, ...)
...
> +/* HACK: Allow use of "sim_printf()" instead of "printk()". */
> +#define printk sim_printf
> +
> +#endif
This doesn't belong in a driver.
You want a debugging console driver that uses that special SIM output
facility instead.
Therefore, please remove this sim_printf stuff completely.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists