On 2023/08/17 18:18, lijiang wrote:
On Tue, Aug 15, 2023 at 10:41 AM
<crash-utility-request(a)redhat.com> wrote:
> Date: Mon, 14 Aug 2023 09:41:12 -0400
> From: Rafael Aquini <aquini(a)redhat.com>
> To: crash-utility(a)redhat.com
> Cc: raquini(a)redhat.com
> Subject: [Crash-utility] [PATCH] deduplicate kernel_version open-coded
> parser
> Message-ID: <20230814134112.232436-1-aquini(a)redhat.com>
>
> The code that parses kernel version from OSRELEASE/UTSRELEASE strings
> and populates the global kernel table is duplicated across the codebase
> for no good reason. This commit consolidates all the duplicated parsing
> code into a single method to remove the unnecessary duplicated code.
>
>
Thank you for the patch, Rafael.
And this looks good to me, so: Ack.
Applied.
https://github.com/crash-utility/crash/commit/f774fe0f59b45596e5165eb0088...
Thanks,
Kazu