Return-Path: From: Marek Lindner Date: Tue, 12 Oct 2010 11:56:21 +0200 References: <1286717891-17091-1-git-send-email-linus.luessing@web.de> In-Reply-To: <1286717891-17091-1-git-send-email-linus.luessing@web.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201010121156.21447.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix wrongly formatted %pM in bat_dbg() Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Sunday 10 October 2010 15:38:11 Linus L=C3=BCssing wrote: > bat_dbg() invokes debug_log() which invokes the kernel's vscnprintf(), > which invokes the kernel's vsnprintf(), and not the customized > bat_vsnprintf(), which backports the %pM to older kernel versions! >=20 > Therefore this commit ports a customized vscnprintf() to bat_printk.c, > too, making mac addresses being displayed correctly with bat_dbg() > again. Applied in revision 1825. Thanks, Marek