linux-mips
[Top] [All Lists]

[PATCH] MIPS: bcm63xx: Fix header_crc comment in bcm963xx_tag.h

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: bcm63xx: Fix header_crc comment in bcm963xx_tag.h
From: Jonas Gorski <jonas.gorski@gmail.com>
Date: Fri, 8 Apr 2011 14:32:15 +0200
Cc: linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=npGl7l+TV6P9af+LHyosMQNUYegC2YQbCOB7SQRgMqQ=; b=Eo2+QKn7+5uq8vgTF6Fp3BYpfFmEou9BIUBJuW0nJK7MPLd5p6xXl3Gm636rHBsJzN REMwhrgUjQcCLNJtIQiYfcy3KizI6ftq/+pfrCE2mKfn3ZWxOupw1l5SzcnhbTwn1vKd 3hmuXVWgBI/H9wiSta4R5hGARiDv59M9pLvhg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=JtDA+CYWZxUQ6V1ckqEucB0USWfX92wXayAkI7Vaxn1gQlwMUDCS8aHXWLglKZx+7O tqq01CmoOVU0DCD2lrwB7M0vZtJgObKtRyA0uTnv2X7ynISeLGEV5z/I0cULNa2qiKiZ YolEEGc6wPbAN+hyVTVVYjtTtaCvTyX53/nXc=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The CRC32 actually includes the tag_version.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---

This was already wrong in the original Broadcom sources (and it still 
seems to be).

 arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h 
b/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h
index 5325084..73c499f 100644
--- a/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h
@@ -88,7 +88,7 @@ struct bcm_tag {
        char kernel_crc[CRC_LEN];
        /* 228-235: Unused at present */
        char reserved1[8];
-       /* 236-239: CRC32 of header excluding tagVersion */
+       /* 236-239: CRC32 of header excluding last 20 bytes */
        char header_crc[CRC_LEN];
        /* 240-255: Unused at present */
        char reserved2[16];
-- 
1.5.6.5


<Prev in Thread] Current Thread [Next in Thread>