2005-11-08 16:51:09

by Jan Beulich

[permalink] [raw]
Subject: [PATCH] i386: make trap information available to die handlers

Pass the trap number causing the call to die() to the die notification
handler chain.

From: Jan Beulich <[email protected]>

(actual patch attached)


Attachments:
(No filename) (153.00 B)
linux-2.6.14-i386-die-trap-info.patch (630.00 B)
Download all attachments

2005-11-08 16:59:04

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] i386: make trap information available to die handlers

On Tue, 8 Nov 2005, Jan Beulich wrote:

> Pass the trap number causing the call to die() to the die notification
> handler chain.
>
> From: Jan Beulich <[email protected]>
>
> (actual patch attached)

I understand that some people need to use attachment for
patches. In some locations I have that problem myself.

However, the From: in the body above isn't needed.
Or if it's needed, it should be part of the patch.

And the patch (attachment) also contains From:, but it's missing
a Signed-off-by: line.

Please read/study Documentation/SubmittingPatches, esp. the
section on "12) The canonical patch format".


Anyone: what are acceptable method(s) for using
attachments for patches?

Would no email body be OK? (I.e., everything in the attachment?)
Everything being "the canonical patch format."

Thanks,
--
~Randy

2005-11-08 17:07:43

by Jan Beulich

[permalink] [raw]
Subject: Re: [PATCH] i386: make trap information available to die handlers

>And the patch (attachment) also contains From:, but it's missing
>a Signed-off-by: line.

I looked at many ChangeLog entries (which supposedly get created from
the abstract), and by far not all of them have the author listed both as
From: and Singed-Off-By:, which made me think that either of the two
should be sufficient (and I really can't see why the author information
needs to appear twice).

Jan

2005-11-08 17:13:33

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] i386: make trap information available to die handlers

On Tue, 8 Nov 2005, Jan Beulich wrote:

> >And the patch (attachment) also contains From:, but it's missing
> >a Signed-off-by: line.
>
> I looked at many ChangeLog entries (which supposedly get created from
> the abstract), and by far not all of them have the author listed both as
> From: and Singed-Off-By:, which made me think that either of the two
> should be sufficient (and I really can't see why the author information
> needs to appear twice).

Tools can determined the From: part from your email, so it's
often safe to omit that part.

The S-o-b part is required...

--
~Randy

2005-11-08 20:53:40

by Richard Knutsson

[permalink] [raw]
Subject: Re: [PATCH] i386: make trap information available to die handlers

Jan Beulich wrote:

>I looked at many ChangeLog entries (which supposedly get created from
>the abstract), and by far not all of them have the author listed both as
>From: and Singed-Off-By:, which made me think that either of the two
>should be sufficient (and I really can't see why the author information
>needs to appear twice).
>
>
The difference between From and Signed-of-by, is like knowing who owns
the car, as receiving the keys to the car
(hope it made any sense :)

>Jan
>
>
Richard

2005-11-09 08:19:30

by Jan Beulich

[permalink] [raw]
Subject: Re: [PATCH] i386: make trap information available to die handlers

>>> "Randy.Dunlap" <[email protected]> 08.11.05 18:13:28 >>>
>On Tue, 8 Nov 2005, Jan Beulich wrote:
>
>> >And the patch (attachment) also contains From:, but it's missing
>> >a Signed-off-by: line.
>>
>> I looked at many ChangeLog entries (which supposedly get created
from
>> the abstract), and by far not all of them have the author listed
both as
>> From: and Singed-Off-By:, which made me think that either of the
two
>> should be sufficient (and I really can't see why the author
information
>> needs to appear twice).
>
>Tools can determined the From: part from your email, so it's
>often safe to omit that part.
>
>The S-o-b part is required...

Strange. Andi Kleen specifically asked me to add From: to my patches...
And I still can't see why the author of a patch wouldn't implicitly sign
off on it.

Jan

2005-11-10 12:22:10

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH] i386: make trap information available to die handlers

On St 09-11-05 09:20:25, Jan Beulich wrote:
> >>> "Randy.Dunlap" <[email protected]> 08.11.05 18:13:28 >>>
> >On Tue, 8 Nov 2005, Jan Beulich wrote:
> >
> >> >And the patch (attachment) also contains From:, but it's missing
> >> >a Signed-off-by: line.
> >>
> >> I looked at many ChangeLog entries (which supposedly get created
> from
> >> the abstract), and by far not all of them have the author listed
> both as
> >> From: and Singed-Off-By:, which made me think that either of the
> two
> >> should be sufficient (and I really can't see why the author
> information
> >> needs to appear twice).
> >
> >Tools can determined the From: part from your email, so it's
> >often safe to omit that part.
> >
> >The S-o-b part is required...
>
> Strange. Andi Kleen specifically asked me to add From: to my patches...
> And I still can't see why the author of a patch wouldn't implicitly sign
> off on it.

Read Documentation/SubmittingPatches. s-o-b: means that patch is GPL.

Pavel
--
Thanks, Sharp!