| To: | Linux-MIPS <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH 01/15] MIPS: Alchemy: fix typo in MAC0 registration |
| From: | Manuel Lauss <manuel.lauss@googlemail.com> |
| Date: | Tue, 2 Aug 2011 19:50:56 +0200 |
| Cc: | Manuel Lauss <manuel.lauss@googlemail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=E5TMJ74bk9AKptiOrFpoqm36gTnDcR1m3PV44DG4kdw=; b=SukXTT0JXE4yFa4qOyRMS9MPd61aGXrQaXxvI2xGpXt3qMMNTkY9q8DLVyheVosKF+ ShUfImexHs/jRS9aacc4UFVYvFv/0J0cd7aklEnKhWbSfwfvW+fP8ELqVBhUu+igQKrZ 6KtphkzBTOy1gDNA/wcZ/ROfKdChoNWLDREl0= |
| In-reply-to: | <1312307470-6841-1-git-send-email-manuel.lauss@googlemail.com> |
| References: | <1312307470-6841-1-git-send-email-manuel.lauss@googlemail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Harmless typo which prints an error message although MAC0 was
registered successfully.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
---
arch/mips/alchemy/common/platform.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/alchemy/common/platform.c
b/arch/mips/alchemy/common/platform.c
index 3b2c18b..f72c48d 100644
--- a/arch/mips/alchemy/common/platform.c
+++ b/arch/mips/alchemy/common/platform.c
@@ -492,7 +492,7 @@ static void __init alchemy_setup_macs(int ctype)
memcpy(au1xxx_eth0_platform_data.mac, ethaddr, 6);
ret = platform_device_register(&au1xxx_eth0_device);
- if (!ret)
+ if (ret)
printk(KERN_INFO "Alchemy: failed to register MAC0\n");
--
1.7.6
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 00/15] MIPS: Alchemy updates, Manuel Lauss |
|---|---|
| Next by Date: | [PATCH 04/15] MIPS: Alchemy: abstract USB block control register access, Manuel Lauss |
| Previous by Thread: | [PATCH 00/15] MIPS: Alchemy updates, Manuel Lauss |
| Next by Thread: | Re: [PATCH 01/15] MIPS: Alchemy: fix typo in MAC0 registration, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |