Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools: ynl: fix typo in info string

replaces formmated with formatted
also corrects grammar by replacing a with an, and capitalises RST

Signed-off-by: Ruben Wauters <rubenru09@aol.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250428215541.6029-1-rubenru09@aol.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Ruben Wauters and committed by
Jakub Kicinski
8e36fcaa aa6dcab1

+1 -1
+1 -1
tools/net/ynl/pyynl/ynl_gen_rst.py
··· 392 392 393 393 394 394 def parse_yaml_file(filename: str) -> str: 395 - """Transform the YAML specified by filename into a rst-formmated string""" 395 + """Transform the YAML specified by filename into an RST-formatted string""" 396 396 with open(filename, "r", encoding="utf-8") as spec_file: 397 397 yaml_data = yaml.safe_load(spec_file) 398 398 content = parse_yaml(yaml_data)