[LTP] ksm: Fix sysfs path concatenation in ksm_test.h

Cyril Hrubis chrubis@suse.cz
Mon Jun 8 11:18:47 CEST 2026


Hi!
> On Mon, 8 Jun 2026 07:44:15 +0000, Wei Gao wrote:
> > ksm: Fix sysfs path concatenation in ksm_test.h
> 
> > Fixes: 40a366b53adc ("lib: Introduce tst_path_defs.h to consolidate system paths")
> 
> This commit hash does not exist in the LTP repository. Could the
> reference be verified and corrected?
> 
> Verdict: Needs revision


@Andrea the bot still misses existing patches:

$ git log 40a366b53adc

commit 40a366b53adc477d950cc73f071b0cd4ebe25f85
Author: Li Wang <li.wang@linux.dev>
Date:   Thu Jun 4 17:41:59 2026 +0800

    lib: Introduce tst_path_defs.h to consolidate system paths

    We have a lot of hardcoded strings and duplicated macros for /proc
    and /sys paths scattered throughout the testcases.

    This patch introduces a new common header, tst_path_defs.h, to centralize
    and standardize these path definitions. By unifying these macros, we
    reduce code duplication, improve maintainability, and ensure consistent
    path usage across the entire LTP codebase.

    Signed-off-by: Li Wang <li.wang@linux.dev>
    Acked-by: Andrea Cervesato <andrea.cervesato@suse.com>
    Reviewed-by: Cyril Hrubis <chrubis@suse.cz>


-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list