* [PATCH 2.6.25] compilation fix for drivers/net/wireless/libertas/debugfs.c (fixed signed-off)
@ 2007-12-27 10:35 Denis V. Lunev
0 siblings, 0 replies; only message in thread
From: Denis V. Lunev @ 2007-12-27 10:35 UTC (permalink / raw)
To: davem; +Cc: devel, mchan, netdev
Compilation fix. MAC_FMT is required for
drivers/net/wireless/libertas/debugfs.c
The problem has been introduced by the
commit 4b326fa2167d4ee2d722bff4e241fae299e32442
Author: Michael Chan <mchan@broadcom.com>
Date: Mon Dec 24 21:28:09 2007 -0800
Signed-off-by: Denis V. Lunev <den@openvz.org>
---
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index 7a1e011..2928586 100644
--- a/include/linux/if_ether.h
+++ b/include/linux/if_ether.h
@@ -129,6 +129,7 @@ extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len);
/*
* Display a 6 byte device address (MAC) in a readable format.
*/
+#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
extern char *print_mac(char *buf, const unsigned char *addr);
#define MAC_BUF_SIZE 18
#define DECLARE_MAC_BUF(var) char var[MAC_BUF_SIZE] __maybe_unused
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-27 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-27 10:35 [PATCH 2.6.25] compilation fix for drivers/net/wireless/libertas/debugfs.c (fixed signed-off) Denis V. Lunev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).