Hi Daniel,
On 24/06/14 09:45, Daniel Walter wrote:
> @@ -333,7 +311,13 @@ static int __init plat_setup_devices(void)
> static int __init setup_kmac(char *s)
> {
> printk(KERN_INFO "korina mac = %s\n", s);
> - parse_mac_addr(s);
> + sscanf(s, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx",
> +
Replace parse_mac_addr with sscanf.
Signed-off-by: Daniel Walter
---
Changes since v1:
sending in the working patch
Patch applies against current linux-tree
---
arch/mips/rb532/devices.c | 30 +++---
1 file changed, 7 insertions(+), 23 deletions(-)
---
diff --git
Replace parse_mac_addr with sscanf.
Signed-off-by: Daniel Walter dwal...@google.com
---
Changes since v1:
sending in the working patch
Patch applies against current linux-tree
---
arch/mips/rb532/devices.c | 30 +++---
1 file changed, 7 insertions(+), 23 deletions(-)
Hi Daniel,
On 24/06/14 09:45, Daniel Walter wrote:
@@ -333,7 +311,13 @@ static int __init plat_setup_devices(void)
static int __init setup_kmac(char *s)
{
printk(KERN_INFO korina mac = %s\n, s);
- parse_mac_addr(s);
+ sscanf(s, %hhx:%hhx:%hhx:%hhx:%hhx:%hhx,
+
4 matches
Mail list logo