Re: [PATCH v2.1] ftracetest: Do not use usleep directly

From: Shuah Khan
Date: Thu Apr 02 2015 - 12:30:12 EST


On 04/02/2015 09:08 AM, Steven Rostedt wrote:
> On Thu, 02 Apr 2015 08:20:09 -0600
> Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> wrote:
>
>
>>>>> Reported-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
>>>>> Reported-by: Dave Jones <davej@xxxxxxxxxxxxxxxxx>
>>>>> Reported-by: Luis Henriques <luis.henriques@xxxxxxxxxxxxx>
>>>>> Based-on-patch-by: PÃdraig Brady <P@xxxxxxxxxxxxxx>
>>
>> Is this standard? checkpatch complained as non-standard. I am
>> seeing some patches posted with Based-on-patch-by
>
> I ignore checkpatch for things like this. It doesn't have a foggiest
> clue to what is standard. The only standard we truly have that counts
> is "Signed-off-by", as that's partially a legal thing. Everything else
> is info only.
>
> This patch was based on a idea by PÃdraig Brady and Namhyung is giving
> him credit.
>
> Hmm, since I do not believe that PÃdraig sent a patch, but only
> suggested the idea, the more "standard" tag, and actually more
> appropriate tag would be:
>
> Suggested-by: PÃdraig Brady <P@xxxxxxxxxxxxxx>
>
> Also, we probably should add:
>
> Link: http://lkml.kernel.org/r/1427329943-16896-1-git-send-email-namhyung@xxxxxxxxxx
>
> Which has more of a history for this patch.

I added the following to the commit log:

For more information on the history of this patch, please refer to:

http://lkml.kernel.org/r/1427329943-16896-1-git-send-email-namhyung@xxxxxxxxxx

>
>>
>> Anyway, I have this patch tagged for 4.1-rc2
>
> Why rc2?

I usually let the patches stay in next for a few days before
I send pull request. It is getting close to that, so decided
on rc2 as a better choice.

We are at rc-6 at the moment, maybe there is enough time for
this to get into rc-1

This patch has been in the works for a while now. Might as well
get it in.

Bummer. Now this patch conflicts with the following commits:

ftracetest: Convert exit -1 to exit $FAIL
ftracetest: Add basic event tracing test cases

Applying: ftracetest: Do not use usleep directly
error: patch failed:
tools/testing/selftests/ftrace/test.d/event/event-enable.tc:12
error: tools/testing/selftests/ftrace/test.d/event/event-enable.tc:
patch does not apply
error: patch failed:
tools/testing/selftests/ftrace/test.d/event/subsystem-enable.tc:12
error: tools/testing/selftests/ftrace/test.d/event/subsystem-enable.tc:
patch does not apply
error: patch failed:
tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc:12
error: tools/testing/selftests/ftrace/test.d/event/toplevel-enable.tc:
patch does not apply

I could attempt to fix the conflicts, however prefer if you can
rebase it on linux-kselftest next.

thanks,
-- Shuah

--
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/