tftp: fix type of block arg to store_block
PATCH RESEND 1/1 tftp: fix type of block arg to store_block
In reply to a message not in the archiveHi Jayachandran C,
Quoted 7 lines · Jayachandran C
[Sending again, probably for the last time. This is a simple fix for an
obvious issue, please merge if you are convinced :) ]The block argument for
store_blockcan be -1 when the tftp sequence number rolls over (i.e TftpBlock == 0), so the first argument tostore_blockhas to be of type 'int' instead of 'unsigned'.
Quoted 6 lines
In our environment (gcc 4.4.5 mips toolchain), this causes incorrect 'offset' to be generated for storing the block, and the tftp block with number 0 will be written elsewhere, resulting in a bad block in the downloaded file and a memory corruption.
Signed-off-by Jayachandran C <[email protected]>
Something about your email is not being pulled into patchwork. Perhaps it hasn't made it past a list moderator?
Thanks,
-Joe
PATCH RESEND 1/1 tftp: fix type of block arg to store_block
Dear Joe,
Quoted 3 lines · In message <CANr=Z=YAheDrCk=r5yZA8ig9FzAX+7gb86huCh5MNAr_Lroszg@mail.gmail.com>…
Something about your email is not being pulled into patchwork. Perhaps it hasn't made it past a list moderator?
List moderation has nothing to do with that. Patchwork is just another e-mail address registered on the mailing list, so if you receive t through the list, PW will also receive it.
PW is known to have problems with messages that come in base64 encoded, which usually happens if "funny" characters are being used in the commit messages.
If you cannot find it in PW< then apply it from the ML directly.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Even historians fail to learn from history -- they repeat the same mistakes. -- John Gill, "Patterns of Force", stardate 2534.7
PATCH RESEND 1/1 tftp: fix type of block arg to store_block
Hi Wolfgang,
Quoted 10 lines · Wolfgang Denk
Dear Joe,
Quoted 3 lines · In message <CANr=Z=YAheDrCk=r5yZA8ig9FzAX+7gb86huCh5MNAr_Lroszg@mail.gmail.com>…
Something about your email is not being pulled into patchwork. Perhaps it hasn't made it past a list moderator?
List moderation has nothing to do with that. Patchwork is just another e-mail address registered on the mailing list, so if you receive t through the list, PW will also receive it.
I assumed that I received it because I was directly addressed, but perhaps noone on the mailing list (including PW) received it.
Quoted 5 lines
PW is known to have problems with messages that come in base64 encoded, which usually happens if "funny" characters are being used in the commit messages.
If you cannot find it in PW< then apply it from the ML directly.
Will do.
Thanks,
-Joe
PATCH RESEND 1/1 tftp: fix type of block arg to store_block
Dear Joe,
Quoted 3 lines · In message <CANr=Z=bMO_vAPuXu_cperjMVwX=QDX_82W622zD7Ja3P=7Bs9w@mail.gmail.com>…
I assumed that I received it because I was directly addressed, but perhaps noone on the mailing list (including PW) received it.
A simple test is always to check if the message ID is known to gmane; in this case we have
Message-ID: <[email protected]>
Then try to open
http://mid.gmane.org/1341901134-7826-1-git-send-email-jayachandranc at netlogicmicro.com
Gmane doesn't know this message either, so obviously it really didn't go through the list, and I, too, receved it only because I'm in the
To: list.
Jayachandran: I cannot find any trace of your message in our server logs either. It appears the mail from your netlogicmicro.com is routed through some boardcom.com mail servers. Are you sure the messages are really sent to the list?
N.B.: your SoB line:
is not acceptable. We need a full name instead of this 'C'.
Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Pray: To ask that the laws of the universe be annulled in behalf of a single petitioner confessedly unworthy. - Ambrose Bierce
Joe Hershberger
AppliedPATCH RESEND 1/1 tftp: fix type of block arg to store_block
In reply to a message not in the archiveHi Jayachandran,
Quoted 18 lines · Jayachandran C.
Quoted 7 lines · Wolfgang Denk
Dear Joe,
In message <CANr=Z=bMO_vAPuXu_cperjMVwX=QDX_82W622zD7Ja3P=7Bs9w@mail.gmail.com> you wrote:
Jayachandran: I cannot find any trace of your message in our server
logs either. It appears the mail from your netlogicmicro.com is
routed through some boardcom.com mail servers. Are you sure the
messages are really sent to the list?Netlogic was acquired by Broadcom, so our mail is routed thru Broadcom servers. I will not be able to use the broadcom mail address until the mail servers are migrated (which will happen later this month).
This may be why the mail did not make it to the list.
Quoted 3 lines
N.B.: your SoB line:
Quoted 8 lines
Quoted 3 lines
Signed-off-by Jayachandran C <[email protected]>is not acceptable. We need a full name instead of this 'C'.
This is the signed off I use for my linux kernel patches as well. But if it is not acceptable, please use this:
Signed-off-by Jayachandran Chandrasekharan Nair <[email protected]>
Applied to next, thanks.
-Joe