From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Roger Quadros <rogerq@ti.com>,
Tony Lindgren <tony@atomide.com>,
Wenyou Yang <wenyou.yang@atmel.com>,
Josh Wu <rainyfeeling@outlook.com>,
Richard Weinberger <richard@nod.at>,
linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
Kamal Dasu <kdasu.kdev@gmail.com>, Han Xu <han.xu@nxp.com>,
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
Stefan Agner <stefan@agner.ch>,
linux-omap@vger.kernel.org,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
Gregory CLEMENT <gregory.clement@free-electrons.com>,
Jason Cooper <jason@lakedaemon.net>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Andrew Lunn <andrew@lunn.ch>, Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Robert Jarzmik <robert.jarzmik@free.fr>,
bcm-kernel-feedback-list@broadcom.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Chen-Yu Tsai <wens@csie.org>,
linux-sunxi@googlegroups.com, Zhou Wang <wangzhou1@hisilicon.com>,
Alex Smith <alex.smith@imgtec.com>,
Harvey Hunt <harvey.hunt@imgtec.com>
Subject: Re: [PATCH 12/12] mtd: nand: move of_get_nand_xxx() helpers into nand_base.c
Date: Fri, 1 Apr 2016 17:34:48 +0200 [thread overview]
Message-ID: <20160401173448.2a9344c5@bbrezillon> (raw)
In-Reply-To: <201604012200.EksFk1z5%fengguang.wu@intel.com>
On Fri, 1 Apr 2016 22:13:43 +0800
kbuild test robot <lkp@intel.com> wrote:
> Hi Boris,
>
> [auto build test WARNING on next-20160401]
> [cannot apply to v4.6-rc1 v4.5-rc7 v4.5-rc6 v4.6-rc1]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
>
> url: https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-get-rid-of-of_mtd-c-h-and-of_get_nand_xx/20160401-210220
> reproduce: make htmldocs
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/mtd/nand/nand_base.c:3972: warning: cannot understand function prototype: 'const char * const nand_ecc_modes[] = '
> drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found
> >> drivers/mtd/nand/nand_base.c:3972: warning: cannot understand function prototype: 'const char * const nand_ecc_modes[] = '
>
> vim +3972 drivers/mtd/nand/nand_base.c
>
> 3956 chip->jedec_params.model);
> 3957 else
> 3958 pr_info("%s %s\n", nand_manuf_ids[maf_idx].name,
> 3959 type->name);
> 3960
> 3961 pr_info("%d MiB, %s, erase size: %d KiB, page size: %d, OOB size: %d\n",
> 3962 (int)(chip->chipsize >> 20), nand_is_slc(chip) ? "SLC" : "MLC",
> 3963 mtd->erasesize >> 10, mtd->writesize, mtd->oobsize);
> 3964 return type;
> 3965 }
> 3966
> 3967 /**
> 3968 * It maps 'enum nand_ecc_modes_t' found in include/linux/mtd/nand.h
> 3969 * into the device tree binding of 'nand-ecc', so that MTD
> 3970 * device driver can get nand ecc from device tree.
> 3971 */
I'll remove this kerneldoc header to avoid this warning.
> > 3972 static const char * const nand_ecc_modes[] = {
> 3973 [NAND_ECC_NONE] = "none",
> 3974 [NAND_ECC_SOFT] = "soft",
> 3975 [NAND_ECC_HW] = "hw",
> 3976 [NAND_ECC_HW_SYNDROME] = "hw_syndrome",
> 3977 [NAND_ECC_HW_OOB_FIRST] = "hw_oob_first",
> 3978 [NAND_ECC_SOFT_BCH] = "soft_bch",
> 3979 };
> 3980
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org,
Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>,
Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
Wenyou Yang <wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
Josh Wu <rainyfeeling-1ViLX0X+lBJBDgjK7y7TUQ@public.gmane.org>,
Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
Brian Norris
<computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Kamal Dasu <kdasu.kdev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Han Xu <han.xu-3arQi8VN3Tc@public.gmane.org>,
Ezequiel Garcia
<ezequiel.garcia-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Nicolas Ferre
<nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
Jean-Christophe Plagniol-Villard
<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>,
Alexandre Belloni
<alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Thomas Petazzoni
<thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Gregory CLEMENT
<gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
Sebastian Hesselbarth
<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
Daniel
Subject: Re: [PATCH 12/12] mtd: nand: move of_get_nand_xxx() helpers into nand_base.c
Date: Fri, 1 Apr 2016 17:34:48 +0200 [thread overview]
Message-ID: <20160401173448.2a9344c5@bbrezillon> (raw)
In-Reply-To: <201604012200.EksFk1z5%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
On Fri, 1 Apr 2016 22:13:43 +0800
kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> Hi Boris,
>
> [auto build test WARNING on next-20160401]
> [cannot apply to v4.6-rc1 v4.5-rc7 v4.5-rc6 v4.6-rc1]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
>
> url: https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-get-rid-of-of_mtd-c-h-and-of_get_nand_xx/20160401-210220
> reproduce: make htmldocs
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/mtd/nand/nand_base.c:3972: warning: cannot understand function prototype: 'const char * const nand_ecc_modes[] = '
> drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found
> >> drivers/mtd/nand/nand_base.c:3972: warning: cannot understand function prototype: 'const char * const nand_ecc_modes[] = '
>
> vim +3972 drivers/mtd/nand/nand_base.c
>
> 3956 chip->jedec_params.model);
> 3957 else
> 3958 pr_info("%s %s\n", nand_manuf_ids[maf_idx].name,
> 3959 type->name);
> 3960
> 3961 pr_info("%d MiB, %s, erase size: %d KiB, page size: %d, OOB size: %d\n",
> 3962 (int)(chip->chipsize >> 20), nand_is_slc(chip) ? "SLC" : "MLC",
> 3963 mtd->erasesize >> 10, mtd->writesize, mtd->oobsize);
> 3964 return type;
> 3965 }
> 3966
> 3967 /**
> 3968 * It maps 'enum nand_ecc_modes_t' found in include/linux/mtd/nand.h
> 3969 * into the device tree binding of 'nand-ecc', so that MTD
> 3970 * device driver can get nand ecc from device tree.
> 3971 */
I'll remove this kerneldoc header to avoid this warning.
> > 3972 static const char * const nand_ecc_modes[] = {
> 3973 [NAND_ECC_NONE] = "none",
> 3974 [NAND_ECC_SOFT] = "soft",
> 3975 [NAND_ECC_HW] = "hw",
> 3976 [NAND_ECC_HW_SYNDROME] = "hw_syndrome",
> 3977 [NAND_ECC_HW_OOB_FIRST] = "hw_oob_first",
> 3978 [NAND_ECC_SOFT_BCH] = "soft_bch",
> 3979 };
> 3980
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: boris.brezillon@free-electrons.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 12/12] mtd: nand: move of_get_nand_xxx() helpers into nand_base.c
Date: Fri, 1 Apr 2016 17:34:48 +0200 [thread overview]
Message-ID: <20160401173448.2a9344c5@bbrezillon> (raw)
In-Reply-To: <201604012200.EksFk1z5%fengguang.wu@intel.com>
On Fri, 1 Apr 2016 22:13:43 +0800
kbuild test robot <lkp@intel.com> wrote:
> Hi Boris,
>
> [auto build test WARNING on next-20160401]
> [cannot apply to v4.6-rc1 v4.5-rc7 v4.5-rc6 v4.6-rc1]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
>
> url: https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-get-rid-of-of_mtd-c-h-and-of_get_nand_xx/20160401-210220
> reproduce: make htmldocs
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/mtd/nand/nand_base.c:3972: warning: cannot understand function prototype: 'const char * const nand_ecc_modes[] = '
> drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found
> >> drivers/mtd/nand/nand_base.c:3972: warning: cannot understand function prototype: 'const char * const nand_ecc_modes[] = '
>
> vim +3972 drivers/mtd/nand/nand_base.c
>
> 3956 chip->jedec_params.model);
> 3957 else
> 3958 pr_info("%s %s\n", nand_manuf_ids[maf_idx].name,
> 3959 type->name);
> 3960
> 3961 pr_info("%d MiB, %s, erase size: %d KiB, page size: %d, OOB size: %d\n",
> 3962 (int)(chip->chipsize >> 20), nand_is_slc(chip) ? "SLC" : "MLC",
> 3963 mtd->erasesize >> 10, mtd->writesize, mtd->oobsize);
> 3964 return type;
> 3965 }
> 3966
> 3967 /**
> 3968 * It maps 'enum nand_ecc_modes_t' found in include/linux/mtd/nand.h
> 3969 * into the device tree binding of 'nand-ecc', so that MTD
> 3970 * device driver can get nand ecc from device tree.
> 3971 */
I'll remove this kerneldoc header to avoid this warning.
> > 3972 static const char * const nand_ecc_modes[] = {
> 3973 [NAND_ECC_NONE] = "none",
> 3974 [NAND_ECC_SOFT] = "soft",
> 3975 [NAND_ECC_HW] = "hw",
> 3976 [NAND_ECC_HW_SYNDROME] = "hw_syndrome",
> 3977 [NAND_ECC_HW_OOB_FIRST] = "hw_oob_first",
> 3978 [NAND_ECC_SOFT_BCH] = "soft_bch",
> 3979 };
> 3980
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-04-01 15:34 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 12:54 [PATCH 00/12] mtd: get rid of of_mtd.{c,h} and of_get_nand_xx() Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 01/12] mtd: nand: remove unneeded of_mtd.h inclusions Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 13:09 ` Harvey Hunt
2016-04-01 13:09 ` Harvey Hunt
2016-04-01 13:09 ` Harvey Hunt
2016-04-12 22:22 ` Boris Brezillon
2016-04-12 22:22 ` Boris Brezillon
2016-04-12 22:22 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 02/12] mtd: nand: atmel: rely on generic DT parsing done in nand_scan_ident() Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-13 12:31 ` Boris Brezillon
2016-04-13 12:31 ` Boris Brezillon
2016-04-13 12:31 ` Boris Brezillon
2016-04-13 12:55 ` Nicolas Ferre
2016-04-13 12:55 ` Nicolas Ferre
2016-04-13 12:55 ` Nicolas Ferre
2016-04-13 13:51 ` Boris Brezillon
2016-04-13 13:51 ` Boris Brezillon
2016-04-13 13:51 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 03/12] mtd: nand: omap2: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-04 7:23 ` Roger Quadros
2016-04-04 7:23 ` Roger Quadros
2016-04-04 7:23 ` Roger Quadros
2016-04-12 22:22 ` Boris Brezillon
2016-04-12 22:22 ` Boris Brezillon
2016-04-12 22:22 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 04/12] mtd: nand: brcm: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-12 22:31 ` Brian Norris
2016-04-12 22:31 ` Brian Norris
2016-04-12 22:31 ` Brian Norris
2016-04-13 7:42 ` Boris Brezillon
2016-04-13 7:42 ` Boris Brezillon
2016-04-13 7:42 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 05/12] mtd: nand: davinci: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 06/12] mtd: nand: gpmi: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-16 9:07 ` Boris Brezillon
2016-04-16 9:07 ` Boris Brezillon
2016-04-16 9:07 ` Boris Brezillon
2016-04-16 18:46 ` Han Xu
2016-04-01 12:54 ` [PATCH 07/12] mtd: nand: hisi504: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 08/12] mtd: nand: lpc32xx: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 09/12] mtd: nand: mxc: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 10/12] mtd: nand: pxa3xx: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-13 14:48 ` Ezequiel Garcia
2016-04-13 14:48 ` Ezequiel Garcia
2016-04-13 14:48 ` Ezequiel Garcia
2016-04-13 14:53 ` Boris Brezillon
2016-04-13 14:53 ` Boris Brezillon
2016-04-13 14:53 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 11/12] mtd: nand: sh_flctl: " Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` [PATCH 12/12] mtd: nand: move of_get_nand_xxx() helpers into nand_base.c Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 12:54 ` Boris Brezillon
2016-04-01 14:13 ` kbuild test robot
2016-04-01 14:13 ` kbuild test robot
2016-04-01 14:13 ` kbuild test robot
2016-04-01 15:34 ` Boris Brezillon [this message]
2016-04-01 15:34 ` Boris Brezillon
2016-04-01 15:34 ` Boris Brezillon
2016-04-06 23:33 ` [PATCH 00/12] mtd: get rid of of_mtd.{c,h} and of_get_nand_xx() Franklin S Cooper Jr.
2016-04-06 23:33 ` Franklin S Cooper Jr.
2016-04-06 23:33 ` Franklin S Cooper Jr.
2016-04-22 9:14 ` Boris Brezillon
2016-04-22 9:14 ` Boris Brezillon
2016-04-22 9:14 ` Boris Brezillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160401173448.2a9344c5@bbrezillon \
--to=boris.brezillon@free-electrons.com \
--cc=alex.smith@imgtec.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=andrew@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=computersforpeace@gmail.com \
--cc=daniel@zonque.org \
--cc=dwmw2@infradead.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=gregory.clement@free-electrons.com \
--cc=han.xu@nxp.com \
--cc=haojian.zhuang@gmail.com \
--cc=harvey.hunt@imgtec.com \
--cc=jason@lakedaemon.net \
--cc=kbuild-all@01.org \
--cc=kdasu.kdev@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=lkp@intel.com \
--cc=maxime.ripard@free-electrons.com \
--cc=nicolas.ferre@atmel.com \
--cc=plagnioj@jcrosoft.com \
--cc=rainyfeeling@outlook.com \
--cc=richard@nod.at \
--cc=robert.jarzmik@free.fr \
--cc=rogerq@ti.com \
--cc=sebastian.hesselbarth@gmail.com \
--cc=stefan@agner.ch \
--cc=thomas.petazzoni@free-electrons.com \
--cc=tony@atomide.com \
--cc=wangzhou1@hisilicon.com \
--cc=wens@csie.org \
--cc=wenyou.yang@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.