]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
memory: omap-gpmc: Silence W=1 kerneldoc warnings
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Wed, 20 May 2026 11:16:31 +0000 (13:16 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 24 May 2026 18:42:10 +0000 (20:42 +0200)
Recent W=1 builds print kerneldoc warnings, even though a correct
kerneldoc is there:

  Warning: drivers/memory/omap-gpmc.c:441 Excess function parameter 'cs' description in 'get_gpmc_timing_reg'

Drop additional inline comments for arguments to fix that.  They are
anyway not that useful.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260520111630.89365-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/omap-gpmc.c

index d9e13c1f9b1372d6151a82d7b3093179450c4b4e..958d2b0ea54a380b05edb99e5b6f98c8274e4654 100644 (file)
@@ -432,13 +432,9 @@ static unsigned int gpmc_clk_ticks_to_ns(unsigned int ticks, int cs,
  *
  */
 static int get_gpmc_timing_reg(
-       /* timing specifiers */
        int cs, int reg, int st_bit, int end_bit, int max,
        const char *name, const enum gpmc_clk_domain cd,
-       /* value transform */
-       int shift,
-       /* format specifiers */
-       bool raw, bool noval)
+       int shift, bool raw, bool noval)
 {
        u32 l;
        int nr_bits;