Re: [PATCH 1/2] scripts/gdb: Create linux/vfs.py for VFS related GDB helpers

From: Andrew Morton
Date: Wed Apr 12 2023 - 15:21:28 EST


On Tue, 28 Feb 2023 18:53:34 -0600 Glenn Washburn <development@xxxxxxxxxxxxxxx> wrote:

> This will allow for more VFS specific GDB helpers to be collected in
> one place. Move utils.dentry_name into the vfs modules. Also a local
> variable in proc.py was changed from vfs to mnt to prevent a naming
> collision with the new vfs module.

checkpatch gets unhappy. Please add this addition?

--- a/scripts/gdb/linux/proc.py~scripts-gdb-create-linux-vfspy-for-vfs-related-gdb-helpers-fix
+++ a/scripts/gdb/linux/proc.py
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
#
# gdb helper commands and functions for Linux kernel debugging
#
_