From patchwork Fri Nov 6 21:36:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 68693 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1kb9Pw-000VyD-Bv; Fri, 06 Nov 2020 21:37:10 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728315AbgKFVhG (ORCPT + 1 other); Fri, 6 Nov 2020 16:37:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728259AbgKFVhD (ORCPT ); Fri, 6 Nov 2020 16:37:03 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA18EC0613D3 for ; Fri, 6 Nov 2020 13:37:02 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id n15so2765226wrq.2 for ; Fri, 06 Nov 2020 13:37:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sWMhK/OvncM3wrg/l2R/3oqz+FYOuFfnAnN4zZZG95g=; b=giuuga+Subtfjj4L06B+sRGS3UP4NSvhfj3Dy96cBZOlbr2uIBvVAviwtIhKtM88Oc cbGk73Rqe9eUV8XEoW6PRC3Hq0/qxrPOtNJY+y9bTkZ1H4h0mKEFG28iBAIVmBMvK/TT DKMvwZVy7/6hnyGbWAA+0+Lx3Ufj+y7so197DYDn6aY2KqlJL0fLvmGfGVaybffQBwK/ XgpkRd1j/mfFbFkNUr4FkrhZUeQXdyWesLk0vrwqwc28m1BvpQM5ROsMUbdQ3bKKFxxl lqG8l4wNNr2nb6nviGQI1WSj51WqGQL4g6hM2WXRfBblkxKdax614UM/3LpGUT1S/JJs WHYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sWMhK/OvncM3wrg/l2R/3oqz+FYOuFfnAnN4zZZG95g=; b=m1dD7iU8hrYTKgY4pLKaGeUCyLZnJc6D9+6SBzJH42rwRxLzp6IQQzlmUlp5K+qUI5 IqZMRtzcfHoabbvoz8Ba5g6winARbECSj8NnJx52SlNmZS56dYjYLZIBaz+x2+ZHpMyk rpP1gg99E3V6uOKQCd5oVW+ur/Qu10l6T+fk3t+4YiiFsKh4Whz6Wwp1KjGWEqyZ/3DF mz6xTTzenhTiDci5rOqYVgv5Z9mnytTuCind5/j7iNdNU7zv5Q3wXW/WFHDemEfcnRYR DIfgJuBFCwUv/naBrfxvUe31Nnj60Sxj7+c5qOvZBIfgSjvz6+eB4Z6hg7doY3d0p/fy AuXw== X-Gm-Message-State: AOAM532ynKOYktr/Iq1MPMSXxOAJkmpqN4HSa3/B5MUWaLi3hhXerHo9 fosF/bSzQ4PZc0LQXjN4K/8wFg== X-Google-Smtp-Source: ABdhPJwYbbeGzfNSZK1/UV+MifV9QDrLVlkETYPhmljhd2e2p7ph7BVoQ2I52W0yiGbOkeQrcS1TNA== X-Received: by 2002:a5d:66c3:: with SMTP id k3mr108958wrw.123.1604698619742; Fri, 06 Nov 2020 13:36:59 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.36.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:36:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adrian Hunter , bcm-kernel-feedback-list@broadcom.com, Ben Dooks , Benjamin Herrenschmidt , Boris BREZILLON , Boris Brezillon , Brian Norris , Chen-Yu Tsai , Choudary Kalluri , =?utf-8?q?Christian_K=C3=B6nig?= , Dan Brown , David Woodhouse , Dmitriy B , dri-devel@lists.freedesktop.org, Frieder Schrempf , Jian Zhang , =?utf-8?q?Jochen_Sch=C3=A4uble?= , Kamal Dasu , Krzysztof Kozlowski , Kukjin Kim , Kyungmin Park , linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-samsung-soc@vger.kernel.org, Maxime Ripard , Michael Ellerman , Miquel Raynal , Naga Sureshkumar Relli , Nicolas Pitre , Paul Mackerras , Philipp Zabel , Qiang Yu , Richard Weinberger , Robert Jarzmik , Sergey Lapin , Sumit Semwal , Thomas Gleixner , Thomas Gleixner , Tudor Ambarus , Vignesh Raghavendra , Yoshio Furuyama Subject: [PATCH v2 00/23] Rid W=1 warnings in MTD Date: Fri, 6 Nov 2020 21:36:32 +0000 Message-Id: <20201106213655.1838861-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. v1 => v2: - Added tags - Satisfied Miquel's review comments Lee Jones (23): mtd: mtdpart: Fix misdocumented function parameter 'mtd' mtd: devices: phram: File headers are not good candidates for kernel-doc mtd: nand: onenand: onenand_base: Fix expected kernel-doc formatting mtd: devices: docg3: Fix kernel-doc 'bad line' and 'excessive doc' issues mtd: mtdcore: Fix misspelled function parameter 'section' mtd: nand: onenand: onenand_bbt: Fix expected kernel-doc formatting mtd: spi-nor: controllers: hisi-sfc: Demote non-conformant kernel-doc mtd: ubi: build: Document 'ubi_num' in struct mtd_dev_param mtd: nand: spi: toshiba: Demote non-conformant kernel-doc header mtd: ubi: kapi: Correct documentation for 'ubi_leb_read_sg's 'sgl' parameter mtd: ubi: eba: Fix a couple of misdocumentation issues mtd: ubi: wl: Fix a couple of kernel-doc issues mtd: nand: raw: brcmnand: brcmnand: Demote non-conformant kernel-doc headers mtd: ubi: gluebi: Fix misnamed function parameter documentation mtd: nand: raw: diskonchip: Marking unused variables as __always_unused mtd: nand: raw: cafe_nand: Remove superfluous param doc and add another mtd: nand: raw: s3c2410: Add documentation for 2 missing struct members mtd: nand: raw: omap_elm: Finish half populated function header, demote empty ones mtd: nand: raw: omap2: Fix a bunch of kernel-doc misdemeanours mtd: nand: raw: sunxi_nand: Document 'sunxi_nfc's 'caps' member mtd: nand: raw: arasan-nand-controller: Document 'anfc_op's 'buf' member mtd: nand: onenand: onenand_base: Fix some kernel-doc misdemeanours mtd: devices: powernv_flash: Add function names to headers and fix 'dev' drivers/mtd/devices/docg3.c | 5 +- drivers/mtd/devices/phram.c | 2 +- drivers/mtd/devices/powernv_flash.c | 5 +- drivers/mtd/mtdcore.c | 2 +- drivers/mtd/mtdpart.c | 2 +- drivers/mtd/nand/onenand/onenand_base.c | 444 +++++++++--------- drivers/mtd/nand/onenand/onenand_bbt.c | 32 +- drivers/mtd/nand/raw/arasan-nand-controller.c | 1 + drivers/mtd/nand/raw/brcmnand/brcmnand.c | 6 +- drivers/mtd/nand/raw/cafe_nand.c | 2 +- drivers/mtd/nand/raw/diskonchip.c | 4 +- drivers/mtd/nand/raw/omap2.c | 18 +- drivers/mtd/nand/raw/omap_elm.c | 7 +- drivers/mtd/nand/raw/s3c2410.c | 4 +- drivers/mtd/nand/raw/sunxi_nand.c | 1 + drivers/mtd/nand/spi/toshiba.c | 2 +- drivers/mtd/spi-nor/controllers/hisi-sfc.c | 2 +- drivers/mtd/ubi/build.c | 1 + drivers/mtd/ubi/eba.c | 3 +- drivers/mtd/ubi/gluebi.c | 2 +- drivers/mtd/ubi/kapi.c | 2 +- drivers/mtd/ubi/wl.c | 3 +- 22 files changed, 278 insertions(+), 272 deletions(-) Cc: Adrian Hunter Cc: bcm-kernel-feedback-list@broadcom.com Cc: Ben Dooks Cc: Benjamin Herrenschmidt Cc: Boris BREZILLON Cc: Boris Brezillon Cc: Brian Norris Cc: Chen-Yu Tsai Cc: Choudary Kalluri Cc: "Christian König" Cc: Dan Brown Cc: David Woodhouse Cc: Dmitriy B Cc: dri-devel@lists.freedesktop.org Cc: Frieder Schrempf Cc: Jian Zhang Cc: "Jochen Schäuble" Cc: Kamal Dasu Cc: Krzysztof Kozlowski Cc: Kukjin Kim Cc: Kyungmin Park Cc: linaro-mm-sig@lists.linaro.org Cc: linux-media@vger.kernel.org Cc: linux-mtd@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-samsung-soc@vger.kernel.org Cc: Maxime Ripard Cc: Michael Ellerman Cc: Miquel Raynal Cc: Naga Sureshkumar Relli Cc: Nicolas Pitre Cc: Paul Mackerras Cc: Philipp Zabel Cc: Qiang Yu Cc: Richard Weinberger Cc: Robert Jarzmik Cc: Sergey Lapin Cc: Sumit Semwal Cc: Thomas Gleixner Cc: Thomas Gleixner Cc: Tudor Ambarus Cc: Vignesh Raghavendra Cc: Yoshio Furuyama