summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2026-05-04 15:34:46 -0300
committerPetr Mladek <pmladek@suse.com>2026-05-06 14:09:33 +0200
commit1f4cbeec25ee2b8c9604a16b9c15debb78cfb8dd (patch)
treee22c981920adfae8cde316a03ebfecc34dce79ca /drivers/phy/eswin/git@git.tavy.me:linux.git
parente6b71aefaec5bcc683c242486ec410c53ec37793 (diff)
selftests: livepatch: Check if replace sysfs attribute exists
The commit adb68ed26a3e ("livepatch: Add "replace" sysfs attribute"), merged in v6.11, introduced a new sysfs attribute. In order to run the selftests on older kernels, check if given kernel has support for the attribute. If the attribute is not supported, skip the checks. While at it, create a local variable to hold the module name to be tested, instead of overwriting MOD_LIVEPATCH. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Acked-by: Joe Lawrence <joe.lawrence@redhat.com> Link: https://patch.msgid.link/20260504-lp-tests-old-fixes-v5-5-0be26d94ab9a@suse.com Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions