diff options
author | Gabriele Monaco <gmonaco@redhat.com> | 2024-10-17 08:42:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:04:03 +0100 |
commit | 67f21fdd35a90cf9db8be7f3ae8703a191e95b6e (patch) | |
tree | dcd6240ddef05b0471eeab03e90063dc83551f4d /drivers/pci/controller/vmd.c | |
parent | 98bf83f0e44d1fe922b0c6b8220735a51995876d (diff) |
verification/dot2: Improve dot parser robustness
[ Upstream commit 571f8b3f866a6d990a50fe5c89fe0ea78784d70b ]
This patch makes the dot parser used by dot2c and dot2k slightly more
robust, namely:
* allows parsing files with the gv extension (GraphViz)
* correctly parses edges with any indentation
* used to work only with a single character (e.g. '\t')
Additionally it fixes a couple of warnings reported by pylint such as
wrong indentation and comparison to False instead of `not ...`
Link: https://lore.kernel.org/20241017064238.41394-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions