[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <X9DlIkNg2mVf20Bo@kroah.com>
Date: Wed, 9 Dec 2020 15:54:26 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Jim Cromie <jim.cromie@...il.com>
Cc: Jason Baron <jbaron@...mai.com>, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] dyndbg: fix use before null check
On Mon, Nov 23, 2020 at 11:43:34AM -0700, Jim Cromie wrote:
> commit a2d375eda771 ("dyndbg: refine export, rename to dynamic_debug_exec_queries()")
>
> Above commit copies a string before checking for null pointer, fix
> this, and add a pr_err. Also trim comment, and add return val info.
The way you list the above commit is very odd, and hard to read and
understand. How about something like:
In commit a2d375eda771 ("dyndbg: refine export, rename to
dynamic_debug_exec_queries()"), a string is copied before
checking....
Also, when you say "also" in a patch, that is a HUGE flag that the
commit needs to be broken up into multiple patches. Put the bugfix
first, and then fix up the comment later, if it is not being changed for
this fix.
Also:
> Fixes: a2d375eda771
You need the full information here, please write:
Fixes: a2d375eda771 ("dyndbg: refine export, rename to dynamic_debug_exec_queries()")
Can you fix all of that up and resend?
thanks,
greg k-h
Powered by blists - more mailing lists