Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3272238imu; Mon, 28 Jan 2019 01:45:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN53CseLRL/bzf981x+gnJLVbBrXShmWn282AgJmz8tJ0UXHKf5ITI3Af3mxfBNPlaYGP3Bx X-Received: by 2002:a17:902:8f97:: with SMTP id z23mr21317171plo.283.1548668731899; Mon, 28 Jan 2019 01:45:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548668731; cv=none; d=google.com; s=arc-20160816; b=mVu2g6ogjucow1B+VSCvq48cCrN29yciBwrBtDF2W8i105apPyV7efgkQEXyhhBMRZ QHGLOaAKTJmEDxfy7uGi8I8XPTTmr7e2Jx2h1bcrpjxLCpIf1eif/yfv4HvepOUn0uVq ci8iDxAQN6CETW6PYsIIwPMLOWFORMtnsjoF5GZcxfLgzq30BzicQaSN91iR3VLGVZvX 81G2dOvmNXoOzuCwX6AJ4/9TVV/huct+XRApn13VmGWtCrby44cU5YDa9o3OtO6oiabj qF9O8s7jsAp7YRR47UW2CkvW45bS9G/mtxPxj8c+tkIT5f0yGYq1YZwuPUajH/4PQOgR qLZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Dh1ezXC1Yt29Q10iujG0G8CinXzMuL179eQ7bOu5Zm8=; b=rv+iFMGsso1zW2HjabnxwyQ5wwhBEdMGRpVMeZrbcj5RN55VcVWB4cqtM8oUiyQbVf fPFCnG8WytE5mrY3LzloABoIbe5zCnFl2dlHnk2/YuvONEQSi5cgHheCZ+7TV5v6hmkW bjTVDH8bkoCPiZyfnGkEyj62XErgftsvvXaPoQmHn8zxK+4FKs0PECc9qkvzQU4+wWzF 27KbhwVEvF+JgV66buDZvuf21v3Kw//gRGuwrSE7v/Zr5MXi4XXpwFgm0dO6LWSn4ACb ScH0/B0rsiGQD8ypcN/7V3lHgKWh9HzHqNonK1mVUmO3HMiuN8vYK1KAElyYw4QZtrjf wKfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IWH1YOi9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si8587564pgs.447.2019.01.28.01.45.15; Mon, 28 Jan 2019 01:45:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IWH1YOi9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726875AbfA1Jns (ORCPT + 99 others); Mon, 28 Jan 2019 04:43:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:37912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbfA1Jnr (ORCPT ); Mon, 28 Jan 2019 04:43:47 -0500 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D80C20989; Mon, 28 Jan 2019 09:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548668627; bh=jEcDe2UQ46jLm//RqXuIKf3f33l5baUrnMSD5SYJlD4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IWH1YOi9aSNg50TeubHklI0s/Ynbij8EDza7wqKoxeqM5SZp9FSg6u1puZBI7YFV0 +i5EDMmKKkJvy9J9PtDm21/wzZ7CtstPkhLTbovat71KyFNfW5XlAV/Njyu9RCxXMt 6OdHgIk3B9xEBnHNtvKhfouxOZnqv+lacKYs2kEQ= Date: Mon, 28 Jan 2019 10:43:38 +0100 From: Boris Brezillon To: Randy Dunlap Cc: LKML , linux-mtd@lists.infradead.org, "linux-doc@vger.kernel.org" , Boris Brezillon , Richard Weinberger , Miquel Raynal Subject: Re: [PATCH] mtd: nand: fix kernel-doc warnings Message-ID: <20190128104319.7a9effde@bbrezillon> In-Reply-To: <21d5edd7-1335-2731-6d53-5b15d053462c@infradead.org> References: <21d5edd7-1335-2731-6d53-5b15d053462c@infradead.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 27 Jan 2019 18:21:42 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Fix kernel-doc warnings in drivers/mtd/nand/raw: > > ../drivers/mtd/nand/raw/nand_base.c:420: warning: Function parameter or member 'chip' not described in 'nand_fill_oob' > ../drivers/mtd/nand/raw/nand_bbt.c:173: warning: Function parameter or member 'this' not described in 'read_bbt' > ../drivers/mtd/nand/raw/nand_bbt.c:173: warning: Excess function parameter 'chip' description in 'read_bbt' > > Signed-off-by: Randy Dunlap > Cc: Boris Brezillon > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: linux-mtd@lists.infradead.org > --- > Do you want Fixes: tags for these: > > Fixes: 0813621ba898a ("mtd: rawnand: Stop passing mtd_info objects to internal functions") Will add this one. > Fixes: 99f3351a6d6e0 ("mtd: rawnand: Reorganize code to avoid forward declarations") Well, I don't think that one is responsible for the new warnings since all I did was moving code around. Thanks, Boris > > drivers/mtd/nand/raw/nand_base.c | 1 + > drivers/mtd/nand/raw/nand_bbt.c | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > --- lnx-50-rc4.orig/drivers/mtd/nand/raw/nand_base.c > +++ lnx-50-rc4/drivers/mtd/nand/raw/nand_base.c > @@ -410,6 +410,7 @@ static int nand_check_wp(struct nand_chi > > /** > * nand_fill_oob - [INTERN] Transfer client buffer to oob > + * @chip: NAND chip object > * @oob: oob data buffer > * @len: oob data write length > * @ops: oob ops structure > --- lnx-50-rc4.orig/drivers/mtd/nand/raw/nand_bbt.c > +++ lnx-50-rc4/drivers/mtd/nand/raw/nand_bbt.c > @@ -158,7 +158,7 @@ static u32 add_marker_len(struct nand_bb > > /** > * read_bbt - [GENERIC] Read the bad block table starting from page > - * @chip: NAND chip object > + * @this: NAND chip object > * @buf: temporary buffer > * @page: the starting page > * @num: the number of bbt descriptors to read > > > > ______________________________________________________ > Linux MTD discussion mailing list > http://lists.infradead.org/mailman/listinfo/linux-mtd/