Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758859AbcDAPfH (ORCPT ); Fri, 1 Apr 2016 11:35:07 -0400 Received: from down.free-electrons.com ([37.187.137.238]:51744 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751450AbcDAPfF (ORCPT ); Fri, 1 Apr 2016 11:35:05 -0400 Date: Fri, 1 Apr 2016 17:34:48 +0200 From: Boris Brezillon To: kbuild test robot Cc: kbuild-all@01.org, Roger Quadros , Tony Lindgren , Wenyou Yang , Josh Wu , Richard Weinberger , linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Kamal Dasu , Han Xu , Ezequiel Garcia , Stefan Agner , linux-omap@vger.kernel.org, Nicolas Ferre , Jean-Christophe Plagniol-Villard , Alexandre Belloni , Thomas Petazzoni , Gregory CLEMENT , Jason Cooper , Sebastian Hesselbarth , Andrew Lunn , Daniel Mack , Haojian Zhuang , Robert Jarzmik , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com, Zhou Wang , Alex Smith , Harvey Hunt Subject: Re: [PATCH 12/12] mtd: nand: move of_get_nand_xxx() helpers into nand_base.c Message-ID: <20160401173448.2a9344c5@bbrezillon> In-Reply-To: <201604012200.EksFk1z5%fengguang.wu@intel.com> References: <1459515272-31011-13-git-send-email-boris.brezillon@free-electrons.com> <201604012200.EksFk1z5%fengguang.wu@intel.com> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2190 Lines: 59 On Fri, 1 Apr 2016 22:13:43 +0800 kbuild test robot 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