]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Documentation: process: fix brackets
authorManuel Ebner <manuelebner@mailbox.org>
Thu, 11 Jun 2026 06:43:12 +0000 (08:43 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 12 Jun 2026 19:19:44 +0000 (13:19 -0600)
Fix missing ')' and needless ')'

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260611064311.117023-2-manuelebner@mailbox.org>

Documentation/process/deprecated.rst
Documentation/process/maintainer-soc.rst

index ac75b7ecac470bdfff1f5ff811f71d9994e339a1..03de71f654c76f4895cd8068d77c0a1c3197e297 100644 (file)
@@ -388,7 +388,7 @@ allocations. For example, these open coded assignments::
        ptr = kmalloc_array(count, sizeof(*ptr), gfp);
        ptr = kcalloc(count, sizeof(*ptr), gfp);
        ptr = kmalloc(struct_size(ptr, flex_member, count), gfp);
-       ptr = kmalloc(sizeof(struct foo, gfp);
+       ptr = kmalloc(sizeof(struct foo), gfp);
 
 become, respectively::
 
index a3a90a7d4c68ff8aba09e2c02d1c64d2e4c6aef2..fa91dfc537838145a1ca92330bd48cb08f4982b5 100644 (file)
@@ -60,7 +60,7 @@ All typical platform related patches should be sent via SoC submaintainers
 shared defconfigs. Note that scripts/get_maintainer.pl might not provide
 correct addresses for the shared defconfig, so ignore its output and manually
 create CC-list based on MAINTAINERS file or use something like
-``scripts/get_maintainer.pl -f drivers/soc/FOO/``).
+``scripts/get_maintainer.pl -f drivers/soc/FOO/``.
 
 Submitting Patches to the Main SoC Maintainers
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~