aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.com>2020-01-16 16:31:43 +0100
committerJiri Kosina <jkosina@suse.cz>2020-01-17 11:12:06 +0100
commitc24c57a4cc8a2f64de32084958920773c0906bc7 (patch)
treea4b26438dfb926b6ce4ebe08b22a7181a3a4d5b6 /samples
parentlivepatch/sample: Use the right type for the leaking data pointer (diff)
downloadlinux-dev-c24c57a4cc8a2f64de32084958920773c0906bc7.tar.xz
linux-dev-c24c57a4cc8a2f64de32084958920773c0906bc7.zip
livepatch/selftest: Clean up shadow variable names and type
The shadow variable selftest is quite tricky. Especially it is problematic to understand what values are stored, returned, and printed. Make it easier to understand by using "int *var, **sv" variables consistently everywhere instead of the generic "void *", "ret", and "ctor_data". Signed-off-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Joe Lawrence <joe.lawrence@redhat.com> Acked-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions