Skip to contentSkip to conversation

tftp: fix type of block arg to store_block

PATCH RESEND Superseded Joe Hershberger 2 participants 5 messages Jul 10, 2012 – Jul 11, 2012 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH RESEND 1/1 tftp: fix type of block arg to store_block

In reply to a message not in the archive

Hi 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_block can be -1 when the tftp sequence number rolls over (i.e TftpBlock == 0), so the first argument to store_block has 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.

Something about your email is not being pulled into patchwork. Perhaps it hasn't made it past a list moderator?

Thanks,
-Joe

#2 lore raw

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
#3 lore raw

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

#4 lore raw

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
author Applied
#6 lore raw

PATCH RESEND 1/1 tftp: fix type of block arg to store_block

In reply to a message not in the archive

Hi 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

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:

Applied to next, thanks.

-Joe